Skip to main content
Known Participant
December 6, 2012
Question

More than one value column in a cfchart?

  • December 6, 2012
  • 2 replies
  • 739 views

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

    This topic has been closed for replies.

    2 replies

    Inspiring
    December 10, 2012

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

    BKBK
    Community Expert
    Community Expert
    December 9, 2012

    solaced wrote:

    valuecolumn="0-1"

    It should be a column name, something like

    valuecolumn="sales"