Title:
Charting : Passing json file name as style attribute does not show the chart
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): / ext-user (Anuj Nawani)
Created: 08/26/2014
Components: Charting/Graphing, Server
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: 290757 /
Priority/Frequency: Major / All users will encounter
Locale/System: English / Win XP All
Vote Count: 0
font.xml:
<?xml version="1.0" encoding="UTF-8"?><frameChart is3D="false"><title font="Arial-20" placement="Bottom" foreground="white" background="black">title text</title></frameChart>
font.json generated from font.xml using cfchart_xmltojson.bat:
{"graphset":[{"plotarea":{},"title":{"position":"50% 100%","text":"title text","color":"white","layout":"1x","font-size":"20","background-color":"#000000","font-family":"Arial"}}]}
<!--- Using font.xml as input to style attribute --->
test.cfm:
<cfchart style="font.xml" >
<cfchartseries>
<cfchartdata item="English" value="100">
<cfchartdata item="Science" value="200">
<cfchartdata item="Math" value="300">
<cfchartdata item="History" value="400">
</cfchartseries>
</cfchart>
This renders chart with data given as input to the chart
<!--- Using json file font
test.cfm:
<cfchart style="font" >
<cfchartseries>
<cfchartdata item="English" value="100">
<cfchartdata item="Science" value="200">
<cfchartdata item="Math" value="300">
<cfchartdata item="History" value="400">
</cfchartseries>
</cfchart>
Chart is not rendered, just title text is shown.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3812163
External Customer Info:
External Company:
External Customer Name:
External Customer Email:
Attachments:
Comments: