tracker issue : CF-3798825

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

CHCHARTSERIES Pie Chart Attribute "datalabelstyle" Has No Effect

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Paul Mascari / Paul Mascari (Paul Mascari)

Created: 08/01/2014

Components: Charting/Graphing

Versions: 11.0

Failure Type: Cosmetic Issue

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Win 2008 Server R2 64 bit

Vote Count: 0

Listed in the version 11.0.03.292480 Issues Fixed doc
Problem Description: Chart Items are displayed as pie chart labels when values were specified.

Steps to Reproduce: When creating a pie chart and wishing for the chart data VALUES to be the data label enter: datalabelstyle="value" in the CFCHARTSERIES tag.

<cfchartseries type="pie" datalabelstyle="value">

Actual Result: The chart displays with the Item as the label.

Expected Result: The chart should display with the Value as the label.

Any Workarounds: Trying to use the new CF11 "data" attribute but documentation is sparse.  Haven't figured out the syntax expected there.  Could also build a text file for use in the "Style" attribute but that makes dynamically created charts cumbersome.

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

Watson Bug ID:	3798825

External Customer Info:
External Company:  
External Customer Name: sdsinc_pmascari
External Customer Email:  
External Test Config: My Hardware and Environment details: CF11, IIS7, Win2008 R2 64bit, firefox.

Attachments:

  1. August 02, 2014 00:00:00: 1_piechart_wrong_labels.png

Comments:

So....when might we see the "fix" released? Indicating a bug is fixed and then not releasing it for use is infuriating. CF11 charts are unusable in production until these issues are fixed.
Comment by External U.
11464 | September 04, 2014 09:43:12 AM GMT
Verified this is fixed in CF11 Update 3. Values, instead of items, are displayed when datalabelstyle="value". Thanks!, -Aaron
Comment by External U.
11465 | November 06, 2014 03:35:55 AM GMT
Actually, still 2 issues in CF11 Update 3 (11,0,03,292024(PreRelease)): 1) datalabelstyle="columnlabel" displays nothing in CF11 Update 3, but displays column label in CF10 2) datalabelstyle="value" does not format numbers w/ commas (CF10HF13 example: 2,345) (CF11HF3 example: 2345) ..CF11 should add the commas like CF10 did Thanks for changing datalabelstyle's default from 'columnlabel' to 'value' to be consistent w/ CF10. -Aaron
Comment by External U.
11466 | November 09, 2014 04:44:51 AM GMT
Repro for issue #1 in previous comment. Just compare CF10 (has label) vs CF11 (no label): <cfchart> <cfchartseries type="pie" datalabelstyle="columnlabel"> <cfchartdata item="one" value="1000"> <cfchartdata item="two" value="2000"> <cfchartdata item="three" value="3000"> <cfchartdata item="four" value="4000"> </cfchartseries> </cfchart> Repro for issue #2 in previous comment. Just compare CF10 (has commas) vs CF11 (no commas): <cfchart> <cfchartseries type="pie"> <cfchartdata item="one" value="1000"> <cfchartdata item="two" value="2000"> <cfchartdata item="three" value="3000"> <cfchartdata item="four" value="4000"> </cfchartseries> </cfchart>
Comment by External U.
11467 | November 09, 2014 04:55:28 AM GMT
1) datalabelstyle="columnlabel" - Have logged a separate bug for this issue: CF-3849389 2) datalabelstyle="value" does not format numbers w/ commas- We are not yet supporting labelFormat. (Comment added from ex-user id:nawani)
Comment by Adobe D.
11468 | November 10, 2014 03:43:42 AM GMT
Hi Anuj, Thanks for filing a ticket for the 1st item and I've filed #CF-3849428 for the 2nd item. Thanks!, -Aaron
Comment by External U.
11469 | November 10, 2014 04:31:44 AM GMT