tracker issue : CF-3911073

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

Update 3 causes cfchart to fail with ZingChart styling in json

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/Duplicate

Reporter/Name(from Bugbase): Philip Mervis / Philip Mervis (PIM)

Created: 12/17/2014

Components: Charting/Graphing

Versions: 11.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Critical / All users will encounter

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

Vote Count: 0

Duplicate ID:	CF-3865484

Problem Description: After updating to Update 3, the pie charts we have fail if the legend attribute is set in the json file for the style.

Steps to Reproduce: 

Create a chart. Create a style for zingcharts with legend as part of its attributes. 

Actual Result: 

Error casting an object of type java.lang.Boolean cannot be cast to java.lang.String to an incompatible type. This usually indicates a programming error in Java, although it could also mean you have tried to use a foreign object in a different way than it was designed.

The error occurred in C:/inetpub/wwwroot/cmis/e_survey/usage.cfm: line 141
139 :     <cfelseif ListFind("1,2",answers.s_qtypeid)>
140 :     	<cfchart style="usage.json" format="png" chartheight="400" chartwidth="400" showborder="yes">
141 :             <cfchartseries type="pie" query="answers" itemcolumn="row_optionname" valuecolumn="total" />
142 :         </cfchart>
143 :     <cfelse>

Expected Result:

The chart would appear with the legend. If I remove the legend attribute, the chart appears fine but no legend shows.

Any Workarounds:

None I can see.

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

Watson Bug ID:	3911073

External Customer Info:
External Company:  
External Customer Name: PIM
External Customer Email:  
External Test Config: My Hardware and Environment details:

Windows 7 and server is Windows 2008 R2. Coldfusion 11 with build 11,0,03,292480



Duplicate of CF-3865484
Comment by External U.
9272 | December 17, 2014 07:46:09 AM GMT
Can you please share usage.json file. (Comment added from ex-user id:nawani)
Comment by Adobe D.
9273 | December 17, 2014 08:03:08 AM GMT
{ "show-progress":false, "graphset":[ { "border-color":"#aaaaaa", "background-color":"#fff", "tooltip":{ "visible":false }, "title":{ "visible":false }, "plot":{ "show-line":0, "background-color":"#000000", "text":"%t", "value-box":{ "type":"all", "text":"%v", "visible":true, "font-color":"black", "placement":"in" } }, "plotarea":{ "x":"55px", "y":"65px", "width":"100%" }, "legend":{"visible":true, "background-color":"transparent", "layout":"vertical", "x":"0px", "y":"25px", "border-color":"none", "shadow":false, "item":{ "height":"12px" } } } ] }
Comment by External U.
9274 | December 17, 2014 08:39:44 AM GMT
We are tracking this issue as part of the bug# CF-3865484. (Comment added from ex-user id:nawani)
Comment by Adobe D.
9275 | December 17, 2014 09:00:02 AM GMT