Is it possible to annotate bars on an <apex:chart> something like this:

bar chart

Charts already have hover help which shows this value. I just want to make it so the user doesn't need to hover and read each individual bar value.

  • 1
    There is renderFn available in apex:barSeries that in theory would allow you to write some JavaScript to display the numbers. But AFAIK there is no documentation on the objects passed to that function and so unless you can find an example somewhere you would need to use a JavaScript debugger and Google to figure it out.
    – Keith C
    Commented May 19, 2014 at 10:28

1 Answer 1


You can use the chartLabel tag

see https://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_chartLabel.htm for an example

  • While this answer is correct, SFSE community practice would be for the answer to include an illustrative code snippet as the link you included does not show an example for annotating a data series.
    – cropredy
    Commented Dec 18, 2014 at 22:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .