tracker issue : CF-3714687

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

CFChart and the URL Attribute

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Sean Rosenbaum / Sean Rosenbaum (ColdFusionChris)

Created: 02/27/2014

Components: Charting/Graphing

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: Final /

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Win 2008 Server R2 64 bit

Vote Count: 0

Problem Description:
The URL attribute of CFChart does not function properly when format="HTML"

Steps to Reproduce:

1) Create a new CFML document named "charts.cfm"
2) Copy and paste the code below into charts.cfm:
************************************************************************************************************
<cfchart 
        xAxisTitle="Department"
        yAxisTitle="Salary Average"
        tipstyle=none
        url="http://www.google.com"
>
    <cfchartseries type="bar" seriesLabel="Average Salaries by Department">
        <cfchartData item="Finance" value="75000">
        <cfchartData item="Sales" value="120000">
        <cfchartData item="IT" value="83000">
        <cfchartData item="Facilities" value="45000">    
    </cfchartseries>

</cfchart>
************************************************************************************************************

3) View charts.cfm in your browser and click one of the data items.  This action should/will redirect your browser window to www.google.com.  (Successful!)

4) Edit charts.cfm to insert the follow attribute for the <cfchart> tag.  Place the attribute directly after url="http://www.google.com":
**************************************************
format="html"
**************************************************

5) View the new charts.cfm in your browser and click one of the data items.  This action should redirect your browser window to www.google.com; however, nothing happens. (NOT Successful!)

This is the bug that I have encountered.  the URL attribute does not function properly when format="html".

Actual Result:
Nothing Happens when you click on a data item

Expected Result:
Redirect browser window to http://www.google.com when user clicks a data item

Any Workarounds:
Must use format="flash" for the URL attribute to work properly.

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

Watson Bug ID:	3714687

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



Windows Server OS



ColdFusion 10

Attachments:

Comments:

This issue has been tried in numerous browsers that support HTML5 and the results are always the same.... Nothing...
Comment by External U.
13142 | February 27, 2014 10:42:10 AM GMT
Fixed in CF11.
Comment by Himavanth R.
13143 | May 06, 2014 04:34:43 AM GMT