tracker issue : CF-3848704

select a category, or use search below
(searches all categories and all time range)
Title:

CFChart : provide value to legend attribute when showlegend="no" shows legend box

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): / ext-user (Anuj Nawani)

Created: 11/07/2014

Components: Charting/Graphing, Server

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: 291985 / CF11 Update5

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Win XP All

Vote Count: 0

Listed in the version 11.0.05.293506 Issues Fixed doc
Code snippet:
<cfchart showlegend="no" legend="# {"shadow":true}#">
  <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>
Expected: Should not show the legend box
Actual: Shows the legend box

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3848704

External Customer Info:
External Company:  
External Customer Name:  
External Customer Email:

Attachments:

Comments:

Foregroundcolor also triggers the legend.
Comment by External U.
10244 | November 07, 2014 09:43:09 AM GMT
Providing Foregroundcolor is not showing the legend for me, when showlegend is "no". I tried the following code in HF3 refreshed build #292024: <cfchart showlegend="no" foregroundcolor="red"> <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> This does not show the legend box. Can you please verify and confirm. (Comment added from ex-user id:nawani)
Comment by Adobe D.
10245 | November 10, 2014 04:21:47 AM GMT
Hi Anuj and Martok, Foregroundcolor no longer triggers the legend, per #CF-3756754. That is fixed (for all of <cfchart>'s attributes except "legend") in the last two CF11 Update 3 builds. Thanks!, -Aaron
Comment by External U.
10246 | November 20, 2014 11:23:15 PM GMT
Test case location in perforce: //depot/qa/cf/regression/newmanual/coldfusion/tags/extensibility/cfchart/bugs/CF-3848704/ (Comment added from ex-user id:nawani)
Comment by Adobe D.
10247 | January 22, 2015 07:36:00 AM GMT
The fix for this bug is available in the pre-release build of ColdFusion 11 Update 5
Comment by CFwatson U.
10248 | February 20, 2015 09:23:27 AM GMT
Verified this is fixed in CF11 Update 5 (build 11,0,05,293506). Thanks!, -Aaron
Comment by External U.
10249 | August 27, 2015 02:11:45 AM GMT