Skip to main content
Inspiring
February 13, 2009
Question

dataLabelStyle="value"

  • February 13, 2009
  • 3 replies
  • 1586 views
Repost, really need help.

I have 3 cfchartseries within my cfchart. I want to display the values for one of the cfchartseries only, so I use
dataLabelStyle="value", which works.However,the other two cfchartseries also have their values displayed even though I do not have dataLabelStyle in them. I only want one of the cfchartseries to display the values.

What am I doing wrong, or what is going on here, can somebody please explain this to me ? Does dataLabelStyle even work ?
This topic has been closed for replies.

3 replies

Inspiring
September 11, 2014

I ran webcharts.bat and even in the designer, it seems like a global variable unfortunately (running CF 10 here).  So at least as of CF10 I don't think there was a way to do this.

BKBK
Community Expert
Community Expert
September 12, 2014

@Dolfan Alex

It will be more fruitful to start your own new thread. The technology, Coldfusion versions and people have moved on.

Inspiring
February 13, 2009
suggestion: for complicated charts (multiple series, vaiuos scales for
series, etc etc) it is best to fire up webcharts (comes with cf) and
create you chart there, then export the xml style of that chart and
point your cfchart' STYLE attribute to that file.

webcharts in single-server cf on win can be found in:
{cf_install_dir}\charting\webcharts.bat

it may take a while to figure out how to use it properly, so google
around - there are blog posts on the topic with tips and examples.

hth

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Inspiring
February 13, 2009
just a thought: did you set datalabelstyle="none" for the other 2 series?

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
trojnfnAuthor
Inspiring
February 13, 2009
Yes, I tried it with none and and all three still display. If I have the cfchartseries with datalabelstyle first and then the other two, none of the data displays. If I have it last, then all 3 display. This is weird. I only want the display on one of the cfchartseries.
Inspiring
September 11, 2014

I am sorry to see there was never a solution here.  I have the same issue.