tracker issue : CF-3859367

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

$VALUE$ , $ITEMLABEL$ and $SERIESLABEL$ for attribute URL of CFCHART only work with PNG/JPG and not FLASH/HTML

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Eric Tabet / Eric Tabet (etabet)

Created: 11/28/2014

Components: Charting/Graphing

Versions: 2016,11.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: CF11_Final / CF2016U12,CF2018U5

Priority/Frequency: Critical / All users will encounter

Locale/System: English / Win 2012 Server x64

Vote Count: 1

Listed in the version 11.0.05.293506 Issues Fixed doc
Problem Description:
$VALUE$ , $ITEMLABEL$ and $SERIESLABEL$ for attribute URL of CFCHART only work with PNG/JPG and not FLASH/HTML

Steps to Reproduce:
Use following code
<CFCHART FORMAT="flash" CHARTHEIGHT="480" CHARTWIDTH="640" URL="javascript:alert('$VALUE$ / $ITEMLABEL$ / $SERIESLABEL$');">
	<CFCHARTSERIES TYPE="bar" SERIESLABEL="Hits">
		<CFLOOP INDEX="i" FROM="1" TO="10">
			<CFCHARTDATA ITEM="X#i#" VALUE="#Val(10+i*5)#">
		</CFLOOP>
	</CFCHARTSERIES>
</CFCHART>

Actual Result:
Clicking on the first bar shows litteral text "$VALUE$ / $ITEMLABEL$ / $SERIESLABEL$"

Expected Result:
Clicking on the first bar should show dynamic litteral text "X1 / 15 / Hits"

Any Workarounds:
Change format to PNG or JPG (but this has other issues such as wrong placement of mouse-over tip on position:relative...)

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

Watson Bug ID:	3859367

Reason:	BugVerified

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

Windows 2012 (VMWare)

Attachments:

Comments:

The fix for this bug is available in the pre-release build of ColdFusion 11 Update 5
Comment by CFwatson U.
9908 | February 20, 2015 09:23:31 AM GMT
Verified this is fixed in CF11 Update 5 (11,0,05,293506). Thanks!, -Aaron
Comment by External U.
9909 | September 02, 2015 02:30:33 AM GMT
This is not fixed for HTML/pie. Repro: 1) Run below code 2) Click large pie slice and see 2 alerts "%t | %k | %v" and "myItem 2 | myLabel | 60" 3) Click small pie slice and see 2 alerts "%t | %k | %v" and "myItem 1 | myLabel | 40" The "%t | %k | %v" is a bug. This ticket should be re-opened, since it is not completely fixed. Code: -------- <cfchart format="html" url="javascript:alert('$SERIESLABEL$ | $ITEMLABEL$ | $VALUE$')"> <cfchartseries type="pie" serieslabel="myLabel"> <cfchartdata item="myItem 1" value="40"> <cfchartdata item="myItem 2" value="60"> </cfchartseries> </cfchart> Thanks!, -Aaron
Comment by External U.
9910 | September 03, 2015 10:51:44 PM GMT
Hi Adobe, Another issue, which I just noticed (thanks to a convo on Slack), is that CF11 Update 5 is flipping the values of $SERIESLABEL$ and $ITEMLABEL$. Just look at my previous comment. It shows what CF2016 shows: those values are flipped. Also: Did you not see my comment saying this ticket wasn't properly fixed? Thanks!, -Aaron
Comment by External U.
9911 | November 03, 2016 03:49:21 AM GMT
I am also encountering the swapping values of $SERIESLABEL$ and $ITEMLABEL$ in CF11 Update 5 & 10 (Persists in CF2016 as well). Kindly look into it. We are planning for an upgrade in production to CF11 but this issue doesn't allow us to do the same.
Vote by External U.
9912 | November 03, 2016 04:11:23 AM GMT