tracker issue : CF-3928953

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

CFCHART: chart is not visible when set the background color

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

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

Created: 01/28/2015

Components: Charting/Graphing, Server

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: 293112 /

Priority/Frequency: Major / All users will encounter

Locale/System: English / Win XP All

Vote Count: 0

Code snippet:
<cfchart style='{"graphset":[{"background-color":"green"}]}'>
<cfchartdata item="2001" value="10">
<cfchartdata item="2002" value="5">
<cfchartdata item="2003" value="12">

Actual: green color appears in the chart background but chart does not appear in foreground
Expected: chart should show.

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

Watson Bug ID:	3928953

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



So.. how is this not a bug? (I see status is currently Closed/Withdrawn/NotABug) Thanks!, -Aaron
Comment by External U.
8707 | September 24, 2015 01:21:29 PM GMT
When custom graphset is provided in style attribute, we don't parse/validate it. ZingChart expects atleast the type to be specified. The following will work. <cfchart format="html" style='{"graphset":[{"type":"bar","background-color":"green"}]}'> <cfchartseries> <cfchartdata item="2001" value="10"> <cfchartdata item="2002" value="5"> <cfchartdata item="2003" value="12"> </cfchartseries> </cfchart>
Comment by Himavanth R.
8708 | September 24, 2015 10:17:44 PM GMT