We have CFMX 7.0.02 installed on AIX plat form. This was
recently upgraded from MX 6.1. After the upgrade the CF chart
display doesn't work fine. The same code give fifferent display in
2 versions. The Bar chat is shown as lines and the X axis entries
are missing some times.
The code is shown below. The same code gives barchart in 6.1 and shows lines in 7.0.2. The colors are different in both the versions.
<html>
<body>
<cfchart Format="flash"
chartHeight="250"
chartWidth="400"
showXGridlines = "no"
showYGridlines = "yes"
gridlines="5"
xOffset="0"
yOffset="0"
dataBackgroundColor= "##CECFFF" showborder="no"
font="Arial"
fontsize="12" fontbold="no" fontitalic="no"
labelFormat = "currency"
show3D="yes" rotated="no" sortxaxis="no"
showlegend="no"
showmarkers="no"
backgroundColor = "##CECFFF">
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2005 Jun" value="100">
</cfchartseries>
</cfchart>
<br>
<cfchart Format="flash"
chartHeight="250"
chartWidth="400"
showXGridlines = "no"
showYGridlines = "yes"
gridlines="5"
xOffset="0"
yOffset="0"
dataBackgroundColor= "##CECFFF" showborder="no"
font="Arial"
fontsize="12" fontbold="no" fontitalic="no"
labelFormat = "currency"
show3D="yes" rotated="no" sortxaxis="no"
showlegend="no"
showmarkers="no"
backgroundColor = "##CECFFF">
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2005 May" value="90">
</cfchartseries>
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2005 Jun" value="70">
</cfchartseries>
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2005 Jul" value="85">
</cfchartseries>
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2005 aug" value="100">
</cfchartseries>
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2005 Sep" value="90">
</cfchartseries>
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2005 Oct" value="70">
</cfchartseries>
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2005 Nov" value="85">
</cfchartseries>
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2005 Dec" value="100">
</cfchartseries>
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2006 Jan" value="90">
</cfchartseries>
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2006 Feb" value="70">
</cfchartseries>
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2006 Mar" value="85">
</cfchartseries>
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2006 Apr" value="100">
</cfchartseries>
</cfchart>
</body>
</html>
The code is shown below. The same code gives barchart in 6.1 and shows lines in 7.0.2. The colors are different in both the versions.
<html>
<body>
<cfchart Format="flash"
chartHeight="250"
chartWidth="400"
showXGridlines = "no"
showYGridlines = "yes"
gridlines="5"
xOffset="0"
yOffset="0"
dataBackgroundColor= "##CECFFF" showborder="no"
font="Arial"
fontsize="12" fontbold="no" fontitalic="no"
labelFormat = "currency"
show3D="yes" rotated="no" sortxaxis="no"
showlegend="no"
showmarkers="no"
backgroundColor = "##CECFFF">
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2005 Jun" value="100">
</cfchartseries>
</cfchart>
<br>
<cfchart Format="flash"
chartHeight="250"
chartWidth="400"
showXGridlines = "no"
showYGridlines = "yes"
gridlines="5"
xOffset="0"
yOffset="0"
dataBackgroundColor= "##CECFFF" showborder="no"
font="Arial"
fontsize="12" fontbold="no" fontitalic="no"
labelFormat = "currency"
show3D="yes" rotated="no" sortxaxis="no"
showlegend="no"
showmarkers="no"
backgroundColor = "##CECFFF">
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2005 May" value="90">
</cfchartseries>
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2005 Jun" value="70">
</cfchartseries>
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2005 Jul" value="85">
</cfchartseries>
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2005 aug" value="100">
</cfchartseries>
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2005 Sep" value="90">
</cfchartseries>
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2005 Oct" value="70">
</cfchartseries>
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2005 Nov" value="85">
</cfchartseries>
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2005 Dec" value="100">
</cfchartseries>
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2006 Jan" value="90">
</cfchartseries>
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2006 Feb" value="70">
</cfchartseries>
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2006 Mar" value="85">
</cfchartseries>
<cfchartseries type="bar" paintstyle="raise" markerstyle="rectangle">
<cfchartdata item="2006 Apr" value="100">
</cfchartseries>
</cfchart>
</body>
</html>