This content has been marked as final. Show 6 replies
Yes, plenty of people know how to do this.
The answer is also readily apparent from the docs on cfchart.
I've looked in the Docs and I can't see anything. What attribute do I need to change?
Mike, is there anyway to add the values to bar charts? Thanks.
Add the "xaxistitle" attribute to your <cfchart> tag like
I've already got an xaxistitle in my cfchart tag, and for its value, I have "Companies".
Let me explain my chart. I am graphing sales per company for a given region. So, my query returns a list of companies and their respective market share for the region. So, my cfchart looks like the code attached.
I would like for the percentages to show above each graph. Any help is appreciated. Thank you.
I found out how to add the data labels. So, I believe that doing the opposite might help you, dawils. I used the "datalabelstyle" attribute in the cfchartseries tag and combined that with the style attribute in the cfchart tag, which references a custom .xml file that includes the dataLabels tag. There are two URLs below that helped me out a lot. I hope that this helps. Thanks.