Skip to main content
Inspiring
September 9, 2009
Question

cfchart

  • September 9, 2009
  • 3 replies
  • 1071 views

Good afternoon All,

I have a question about cfchart, I want to display values from my valuecolumn in my itemcolumn also. Ex. itemcolumn="Defect_Title" valuecolumn="defect_count", but I want this too, itemcolumn="Defect_Title defect_count". This does not work. Anyone solved this issue before?

Thanks in Advance,

Dj Khalif

    This topic has been closed for replies.

    3 replies

    djkhalifAuthor
    Inspiring
    September 11, 2009

    This is what my chart looks like:

    <cfchart showborder="no" show3d="yes" chartwidth="300" chartheight="300" pieslicestyle="sliced">
      <cfchartseries type="pie" query="rsDefectsHoldCount" itemcolumn="Defect_Title" valuecolumn="Defect_Count">
      </cfchart>

    pyae phyoe shein
    Known Participant
    September 11, 2009

    Why not? You can do. Write like

    <cfchartdata item="#myitem# #mycolumn#" value="#mycolumn#">

    Inspiring
    September 10, 2009

    You could either add another column to the query containing the composite value you want for the label, and use that, or look @ using <cfchartdata> to have more control over what values go where.

    --

    Adam