Skip to main content
Inspiring
August 15, 2006
Question

Data Labels on cfchart

  • August 15, 2006
  • 1 reply
  • 702 views
I'm creating a chart with two data series, one plotted as a bar graph, the other a line graph. I want to include the data value at the top of the bar graph, but exclude on the line graph. Documentation says the datalabelstyle attribute of cfchartseries identifies what to use for the series, but it seems to be entire chart, not by series.

Code has:
<cfchartseries type="line" datalabelstyle="none" ...
<cfchartseries type="bar" datalabelstyle="value" ...

but the value is included on both series. Whatever the last attribute has is what is used for the entire chart. Running CF 7.0.2.
This topic has been closed for replies.

1 reply

Participant
June 23, 2016

Bump. This still seems to be an issue with CF 10. Anyone have a solution?