Print this page

Referencing titles dynamically in VF charts

Knowledge Article Number 000171431
Description How to reference titles dynamically in visualforce charting?

You can specify different dynamic values separated by comma in the title attribute.

For  example:
<apex:barSeries orientation="vertical" axis="left" stacked="true" xField="name" yField="data1,data2,data3" title="{!titleString1},{!titleString2},{!titleString3}"/>
and you'll see a corresponding title value in the legend for each series that contains the contents of titleString1, titleString2 and titleString3.


promote demote