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

cfchart - Scatter over Bar chart

New Here ,
Jul 08, 2013 Jul 08, 2013

I have a bar chart based on a query that is working correctly. In my result the bar has 3 columns. I then want a scatter chart to display over the bar. The query for the scatter chart gets only one value but when I run it it displays values on all 3 bars.

I have no idea what I'm doing wrong.

<cfchart format="flash"

chartheight="300"

title="Team Scores - Most Recent Routine Review"

showborder="yes"

scaleFrom = "0"

gridlines="#gridlines#"

scaleTo = "#scaleTo#"

chartwidth="650"

seriesplacement="default"

labelformat="number"

tipstyle="mouseOver"

xaxistype="scale">

     <cfchartseries type="bar"

     seriescolor="0053A6"

     serieslabel="Team"  

     query="qryKPIResults"

     itemcolumn="TotalVariance"  

     valuecolumn="cnt">

     </cfchartseries>

     <cfchartseries type="scatter"

     seriescolor="red"

     serieslabel="Team Leader">

     <cfchartdata item="#BossKPI#" value=1>

     </cfchartseries>

</cfchart>

382
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
no replies

Have something to add?

Join the conversation
Resources