not properly displaying the Bar chart using coldFusion -


i facing problem bar chart using coldfusion.

if there 1 <cfchartseries> tag, serieslabel attribute not displaying. instead of that, items of cfchartdata displaying. if there more 1 <cfchartseries>, serieslabel specified displaying properly.

please @ code , corresponding bar chart attached .

barchart1:

<cfchart format="jpg" xaxistitle="month" yaxistitle="monthlytotal"         seriesplacement="stacked"            showlegend="yes"         showmarkers="no"         chartheight="300" chartwidth="400" >     <labelstyle orientation="horizontal"/>     <cfchartseries type="bar" serieslabel="t"  >         <cfchartdata item="jan2007" value="1">         <cfchartdata item="feb2007" value="3">         <cfchartdata item="mar2007" value="2">         <cfchartdata item="apr2007" value="4">     </cfchartseries> </cfchart> 

barchart1

barchart2 :

<cfchart format="jpg" xaxistitle="month" yaxistitle="monthlytotal"      seriesplacement="stacked"         showlegend="yes"      showmarkers="no"      chartheight="300" chartwidth="400" >      <labelstyle orientation="horizontal"/>     <cfchartseries type="bar" serieslabel="t"  >         <cfchartdata item="jan2007" value="1">         <cfchartdata item="feb2007" value="3">         <cfchartdata item="mar2007" value="2">         <cfchartdata item="apr2007" value="4">     </cfchartseries>     <cfchartseries type="bar"  serieslabel="d">         <cfchartdata item="jan2007" value="1">         <cfchartdata item="feb2007" value="3">         <cfchartdata item="mar2007" value="2">         <cfchartdata item="apr2007" value="4">     </cfchartseries> </cfchart> 

barchart2

the barchart1 needs show t serieslabel. instead of that, showing "nonths", x-axis variables. barchart2 showing per code.

i tried best solve self unable find problem. requesting people give me ideas. waiting suggestions.

thank you

if intent put texas on top, use charttitle instead. i'd urge consider using newer chart engine if cf10 enterprise, or chart engine altogether.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -