Status/Resolution/Reason: Closed/Withdrawn/AsDesigned
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 09/03/2012
Components: Charting/Graphing
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Final /
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Win All
Vote Count: 0
HTML cfchart ignores the following: labelformat="currency", labelformat="percent", and labelformat="date".
Repro:
<cfchart format="html" type="bar" labelformat="date">
<cfchartseries>
<cfchartdata item="foo" value="40858" />
<cfchartdata item="bar" value="41224" />
</cfchartseries>
</cfchart>
<cfchart format="html" type="bar" labelformat="currency">
<cfchartseries>
<cfchartdata item="foo" value="11" />
<cfchartdata item="bar" value="22" />
</cfchartseries>
</cfchart>
<cfchart format="html" type="bar" labelformat="percent">
<cfchartseries>
<cfchartdata item="foo" value="11" />
<cfchartdata item="bar" value="22" />
</cfchartseries>
</cfchart>
1) Run above code and see y-axis label format is not applied (bad)
2) change format="html" to one of the following: format="flash", format="jpg", or format="png"
3) See y-axis label format is applied (good)
Lack of formatting makes display of currency, date, and percent confusing in the y-axis labels of HTML charts.
Can the labelformat attribute please be supported in HTML charts? If not, then the documentation should be updated to indicate that HTML charts do not support the labelformat attribute.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3323375
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
Attachments:
Comments: