tracker issue : CF-4150354

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

Coldfusion 2016 cfchart not accepting .js

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/HaveNewInfo

Reporter/Name(from Bugbase): Robert Schwartz / Robert Schwartz (Robert Schwartz)

Created: 05/09/2016

Components: Charting/Graphing

Versions: 2016,11.0

Failure Type:

Found In Build/Fixed In Build: CF2016_Final / CF2016U12

Priority/Frequency: Major / All users will encounter

Locale/System: English / Windows 7 32 bit

Vote Count: 0

Listed in the version 2016.0.04.302561 Issues Fixed doc
Problem Description:
Problem Description:js used to format pie chart in coldfusion v11 not working in v2016
{
"graphset":[
	{
	"border-width":1, 
	"background-color":"transparent",
	"foreground-color":"black",
	"plot":{
		"value-box":{"color":"black"},
		"border-color":"black",
		"tooltip-text":"%t\n%v"
		},
	"plotarea":{
		"margin":"dynamic"
		},
	"legend":{
		"border-color":"red",
		"layout":"2x",	
		"x":10,
		"y":30,
		"shadow":true,
		"height":"40px"
		}
	}
  ]
}
Steps to Reproduce:

Actual Result:

Expected Result:

Any Workarounds:


Steps to Reproduce:

Actual Result:

Expected Result:

Any Workarounds:

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

Watson Bug ID:	4150354

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

Attachments:

  1. June 27, 2016 00:00:00: 1_HazTrakPieCapture.PNG
  2. July 04, 2016 00:00:00: 2_partialChart.png
  3. July 05, 2016 00:00:00: 3_HazPie1.js

Comments:

The problem turned out to be the \n was causing the error. Do not know why the \n (line feed) would cause an error. It should not and did not in prior version. Also noticed that the border is not displaying correctly. Using a width of "1" will only show up on the left side. In order to have the border show up around the entire frame, you need a width of "2", but then the left border is thicker. Again, this worked fine in the previous version. And finally the size of the pie will change size depending on the placement of the titles which did not happen in prior version.
Comment by External U.
2900 | May 17, 2016 12:54:17 PM GMT
Still need to have the problem fixed. The border not being correct and the size of the pie chart are still problems.
Comment by External U.
2901 | June 01, 2016 11:08:19 AM GMT
Hi Robert, Can you provide us with the json file to repro the issue of pie chart changing size depending on the placement of the titles. All the other issues seem to be resolved.
Comment by Nikhil S.
2902 | June 23, 2016 04:04:26 AM GMT
The js used is the same as what is shown above. The charts are different sizes depending on the text that is placed around the pies. See attached. This was not the case in previous versions. Also, the issue with the borders is still there. Using a width of "1" will only show up on the left side. In order to have the border show up around the entire frame, you need a width of "2", but then the left border is thicker.
Comment by External U.
2903 | June 27, 2016 08:00:57 AM GMT
Hi Robert, can you please share the json for the pie chart you have shared below HazTrakPieCapture.PNG, as the json provided earlier in the description generates a partial chart. I have attached the screen-shot for reference. Thanks, Dattanand Bhat
Comment by Dattanand M.
2904 | July 04, 2016 02:48:10 AM GMT
I have attached it again. There was a problem using a "\n" for a line feed and I had to replace it with a "<br/> which was noted in the first message of this log.
Comment by External U.
2905 | July 05, 2016 08:13:00 AM GMT