Copy link to clipboard
Copied
I would like to have 2 bars in one spot, so I can communicate amount done and target. For example if a sales goal is 40/quarter, I want to show the 20 existing sales and the 40 to reach the goal.
I know I can do this with a piechart, but there are 5 factors I want to show this way - pie charts are simply too big. If it matters, this data will be dynamic.
Thanks in advance,
CB
Disregard, just was not thinking abou this in the right way. Here's the code that does what I wanted:
<cfchart format="flash" xaxistitle="Programs" yaxistitle="ProgramTotals" seriesPlacement="stacked" showLegend="yes" showMarkers="no" chartHeight="200" chartWidth="300"> | |
<labelStyle orientation="Horizontal"/> | |
<cfchartseries type="bar" seriesLabel="Accepted" colorlist="green,blue" > | |
<cfchartdata item="MBA" value="#CurrentlistCounts.MBA#"> | |
<cfchartdata item="AMBA" value="#Cur |
Copy link to clipboard
Copied
Disregard, just was not thinking abou this in the right way. Here's the code that does what I wanted:
<cfchart format="flash" xaxistitle="Programs" yaxistitle="ProgramTotals" seriesPlacement="stacked" showLegend="yes" showMarkers="no" chartHeight="200" chartWidth="300"> | |
<labelStyle orientation="Horizontal"/> | |
<cfchartseries type="bar" seriesLabel="Accepted" colorlist="green,blue" > | |
<cfchartdata item="MBA" value="#CurrentlistCounts.MBA#"> | |
<cfchartdata item="AMBA" value="#CurrentlistCounts.AMBA#"> | |
<cfchartdata item="CQEMBA" value="#CurrentlistCounts.CQEMBA#"> | |
<cfchartdata item="EMBA" value="#CurrentlistCounts.EMBA#"> | |
</cfchartseries> | |
<cfchartseries type="bar" seriesLabel="Seats Remaining" > | |
<cfchartdata item="MBA" value="#CurrentlistCounts.MBA_SeatsLeft#"> | |
<cfchartdata item="AMBA" value="#CurrentlistCounts.AMBA_SeatsLeft#"> | |
<cfchartdata item="CQEMBA" value="#CurrentlistCounts.CQEMBA_SeatsLeft#"> | |
<cfchartdata item="EMBA" value="#CurrentlistCounts.EMBA_SeatsLeft#"> | |
</cfchartseries> | |
</cfchart> |