tracker issue : CF-3505076

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

cfchart/pie lays out poorly

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Raymond Camden / Raymond Camden (Raymond Camden)

Created: 02/22/2013

Components: Charting/Graphing

Versions: 10.0

Failure Type: Cosmetic Issue

Found In Build/Fixed In Build: Final /

Priority/Frequency: Minor / Some users will encounter

Locale/System: English / Mac All

Vote Count: 0

Listed in the version 2016.0.0.297996 Issues Fixed doc
Verification notes: verified_fixed on July 31, 2017 using build 2016.0.01.298513
Given an incredibly simple pie chart, I find that CF's default settings is adding a lot of white space to the left of the pie chart. Because I have a label that has 3 words in it (not long, but not very short), I end up having to make the pie much more wider than necessary imo for it to render the label right. 

Screenshot: https://www.evernote.com/shard/s3/sh/7d78a6df-8525-4388-a79c-05fe8ccfd5e1/f800ac8794ae8a45ff9946a4a47301a5

Sample code:

<cfset howd = [62,45,27]>

<cfchart format="html" chartwidth="600" chartheight="400" showlegend=false>
	<cfchartseries type="pie">
		<cfchartdata value="#howd[1]#" item="Totally Safe">
		<cfchartdata value="#howd[2]#" item="Some Risk">
		<cfchartdata value="#howd[3]#" item="Farmer with Shotgun!">
	</cfchartseries>
</cfchart>

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

Watson Bug ID:	3505076

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

Attachments:

Comments:

Could you please explain what the issue is as I am not able to see a "lot of white space" on the left
Comment by Rupesh K.
16229 | May 07, 2013 01:27:41 AM GMT
When you run my code, do you not see why I showed in the screenshot? It isn't centering well.
Comment by External U.
16230 | May 08, 2013 10:11:09 AM GMT
Hello - this is still marked as 'Waiting my response' - but I responded.
Comment by External U.
16231 | June 17, 2013 06:56:01 AM GMT
We have raised this issue with ZingChart with case# 10921 (Comment added from ex-user id:nawani)
Comment by Adobe D.
16232 | February 02, 2015 04:43:24 AM GMT
Verified this is fixed in CF2016 Update 1 (build 2016.0.01.298513). It isn't perfectly centered, but it is much more centered in CF2016 Update 1 and CF11 Update 7 (build 11.0.07.296330) than it was in CF11 Final. Thanks!, -Aaron
Comment by Aaron N.
16233 | July 31, 2017 05:52:33 AM GMT