Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

More than one value column in a cfchart?

Explorer ,
Dec 06, 2012 Dec 06, 2012

I have a data table which displays data like this:

0-11-311-1414-21DEPT
3.77 0.94 3.46 11.95 SALES

So I have many columns for the 'valuecolumn', and only one column for the 'itemcolumn'. But it looks like in the tag it will only accept one 'valuecolumn' even though I have many. How would I make this work?

<cfchartseries type="bar"

query="stats"

valuecolumn="0-1"

itemcolumn="DEPT"

</cfchartseries>

As you can see I can't put multiple columns into the valuecolumn attribute

695
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 09, 2012 Dec 09, 2012

solaced wrote:

valuecolumn="0-1"

It should be a column name, something like

valuecolumn="sales"

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 10, 2012 Dec 10, 2012
LATEST

Use a separate chartseries tag for each field you want to graph.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources