Title:
cfchart shows legend even when disabled by showlegend="false" in some cases
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Reto Aeberli / Reto Aeberli (Reto Aeberli)
Created: 05/07/2014
Components: Charting/Graphing
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / Some users will encounter
Locale/System: ALL / Win 2012 Server x64
Vote Count: 0
Problem Description:
cfchart shows the legend even when disabled by showlegend="false" in some cases. In my case I was able to nail it down to the existence of the attribute fontitalic. As soon this attribute is existing, true/yes or false/no, the legend appears. This is not expected and in earlier ColdFusion Versions this was working well.
Steps to Reproduce:
create a cfml template with the following code and open it in the browser:
<cfchart fontitalic="no" showlegend="no">
<cfchartseries type="pie">
<cfchartdata item="New car sales" value="50000">
<cfchartdata item="Used car sales" value="25000">
<cfchartdata item="Leasing" value="30000">
<cfchartdata item="Service" value="40000">
</cfchartseries>
</cfchart>
Actual Result:
The chart shows a legend
Expected Result:
A chart without a legend
Any Workarounds:
If italic is not required remove the attribute entirely, but if Italic is needed there is no workarround.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3756754
Keywords:
FixTested
External Customer Info:
External Company:
External Customer Name: Reto CENTINATED GmbH
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: