I understand that there is no title attribute for apex:pieSeries so is there any other way to display a title for a pie chart? (besides using html tags)


No, even after taking a look at Quicklook at visual charting titles aren't used:

<apex:page controller="PieChartController" title="Pie Chart">
    <apex:chart height="350" width="450" data="{!pieData}">
        <apex:pieSeries dataField="data" labelField="name"/>
        <apex:legend position="right"/>

Or as you mention, the attribute doesn't even exist. what is wrong with using html tags? (it all comes down to html in the end anyways)

  • Nothing, just wanted to know if there is an alternative or not. – Json Aug 7 '17 at 7:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.