tracker issue : CF-4201780

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

cfchart pie chart format='html' and format='png' have different color schemes

| View in Tracker

Status/Resolution/Reason: Closed/Won't Fix/

Reporter/Name(from Bugbase): Yuliang Ruan / ()

Created: 03/29/2018

Components: Charting/Graphing

Versions: 2016

Failure Type: Enhancement Request

Found In Build/Fixed In Build: 2016.0.05.303689 C:/ColdFusion2016/cfusion/lib/updates/chf20160005.jar /

Priority/Frequency: Normal / All users will encounter

Locale/System: ALL / Win 2012 Server x64

Vote Count: 0

Problem Description:

Steps to Reproduce:

<cfset chartdata=[
{'a'=		10},
{'b'=		20},
{'c'=		30},
{'d'=		40}
]>

<cfchart format="html">
<cfchartseries type="pie">
	<cfloop array="#chartData#" index="data">
		<cfchartdata item="#structKeyList(data)#" value="#data[structKeyList(data)]#">
	</cfloop>
</cfchartseries>
</cfchart>

<cfchart format="png">
<cfchartseries type="pie">
	<cfloop array="#chartData#" index="data">
		<cfchartdata item="#structKeyList(data)#" value="#data[structKeyList(data)]#">
	</cfloop>
</cfchartseries>
</cfchart>


Actual Result:
html chart is light blue, dark blue, orange, yellow
html chart has labels for the data names
html chart has tooltips with background color=slice color
png chart is orange, green, light blue, yellow
png chart has labels for the data values
png chart has tooltips with background color = white



Expected Result:
same color scheme
same labels
same tooltips

Any Workarounds:

Attachments:

Comments:

This is as designed.
Comment by Vamseekrishna N.
27518 | April 10, 2018 10:57:11 AM GMT