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

More than one value column in a cfchart?

Explorer ,
Dec 06, 2012 Dec 06, 2012

Copy link to clipboard

Copied

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

Views

661

Translate

Translate

Report

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

Copy link to clipboard

Copied

solaced wrote:

valuecolumn="0-1"

It should be a column name, something like

valuecolumn="sales"

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

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
Documentation