tracker issue : CF-4202001

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

Not passing URL for 3d-plot - to enable drilldown.

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Mark Berning / ()

Created: 04/17/2018

Components: Charting/Graphing

Versions: 2016,11.0,2018

Failure Type: Incorrectly functioning

Found In Build/Fixed In Build: CF 2016 Enterprise update 5 build 303689 / CF2016U12,CF2018U5

Priority/Frequency: Critical / Most users will encounter

Locale/System: English / Linux RHEL 6.4

Vote Count: 0

Problem Description: When using show3d="yes" for <cfchart url=""> the URL is not getting produced in the page.
However if you use show3d="no" they are produced

Steps to Reproduce:
First chart (3D) is missing the URL in the html code, uses show3d="yes".
Second chart (2D) is not missing URL in the htnl code, uses show3d="no".

<cfchart format="png" show3d="yes" chartHeight="400" chartWidth="600" showLegend="no" title="Two-series chart 3D with URL" url="javascript:alert($VALUE$);">
    <cfchartseries type="bar" serieslabel="WBC" markerstyle="circle" color="red" >
        <cfchartdata item="Day 1" value="19.2"/>
        <cfchartdata item="Day 2" value="15.2"/>
        <cfchartdata item="Day 3" value="15.1"/>
        <cfchartdata item="Day 4" value="12.6"/>
        <cfchartdata item="Day 5" value="14.2"/>
    </cfchartseries>
    <cfchartseries type="bar" serieslabel="HCT" markerstyle="diamond" color="blue" >
        <cfchartdata item="Day 1" value="39.2"/>
        <cfchartdata item="Day 2" value="35.2"/>
        <cfchartdata item="Day 3" value="35.1"/>
        <cfchartdata item="Day 4" value="32.6"/>
        <cfchartdata item="Day 5" value="34.2"/>
    </cfchartseries>
</cfchart>
<div></div>
<cfchart format="png" show3d="no" chartHeight="400" chartWidth="600" showLegend="no" title="Two-series chart 2D with URL" url="javascript:alert($VALUE$);">
    <cfchartseries type="bar" serieslabel="WBC" markerstyle="circle" color="red" >
        <cfchartdata item="Day 1" value="19.2"/>
        <cfchartdata item="Day 2" value="15.2"/>
        <cfchartdata item="Day 3" value="15.1"/>
        <cfchartdata item="Day 4" value="12.6"/>
        <cfchartdata item="Day 5" value="14.2"/>
    </cfchartseries>
    <cfchartseries type="bar" serieslabel="HCT" markerstyle="diamond" color="blue" >
        <cfchartdata item="Day 1" value="39.2"/>
        <cfchartdata item="Day 2" value="35.2"/>
        <cfchartdata item="Day 3" value="35.1"/>
        <cfchartdata item="Day 4" value="32.6"/>
        <cfchartdata item="Day 5" value="34.2"/>
    </cfchartseries>
</cfchart>
Actual Result:
The HTML code for the 3D section <map> is missing the href:
<map id="6617695240102246-map" name="6617695240102246-map">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-0-node-0--front" coords="34,214,34,375,78,375,78,214" data-z-sort="-100">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-0-node-1--front" coords="147,248,147,375,191,375,191,248" data-z-sort="-100">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-0-node-2--front" coords="260,249,260,375,304,375,304,249" data-z-sort="-100">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-0-node-3--front" coords="373,270,373,375,417,375,417,270" data-z-sort="-100">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-0-node-4--front" coords="486,256,486,375,530,375,530,256" data-z-sort="-100">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-1-node-0--front" coords="88,47,88,375,131,375,131,47" data-z-sort="-100">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-1-node-1--front" coords="201,80,201,375,244,375,244,80" data-z-sort="-100">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-1-node-2--front" coords="314,81,314,375,357,375,357,81" data-z-sort="-100">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-1-node-3--front" coords="427,102,427,375,470,375,470,102" data-z-sort="-100">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-1-node-4--front" coords="540,89,540,375,583,375,583,89" data-z-sort="-100">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-0-node-0--top" coords="34,214,78,214,82,210,38,210">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-0-node-0--left" coords="34,214,38,210,38,371,34,375">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-0-node-0--right" coords="78,214,82,210,82,371,78,375">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-0-node-1--top" coords="147,248,191,248,195,244,151,244">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-0-node-1--left" coords="147,248,151,244,151,371,147,375">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-0-node-1--right" coords="191,248,195,244,195,371,191,375">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-0-node-2--top" coords="260,249,304,249,308,244,264,244">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-0-node-2--left" coords="260,249,264,244,264,371,260,375">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-0-node-2--right" coords="304,249,308,244,308,371,304,375">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-0-node-3--top" coords="373,270,417,270,421,265,377,265">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-0-node-3--left" coords="373,270,377,265,377,371,373,375">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-0-node-3--right" coords="417,270,421,265,421,371,417,375">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-0-node-4--top" coords="486,256,530,256,534,252,490,252">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-0-node-4--left" coords="486,256,490,252,490,371,486,375">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-0-node-4--right" coords="530,256,534,252,534,371,530,375">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-1-node-0--top" coords="88,47,131,47,135,43,92,43">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-1-node-0--left" coords="88,47,92,43,92,371,88,375">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-1-node-0--right" coords="131,47,135,43,135,371,131,375">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-1-node-1--top" coords="201,80,244,80,248,76,205,76">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-1-node-1--left" coords="201,80,205,76,205,371,201,375">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-1-node-1--right" coords="244,80,248,76,248,371,244,375">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-1-node-2--top" coords="314,81,357,81,361,77,318,77">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-1-node-2--left" coords="314,81,318,77,318,371,314,375">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-1-node-2--right" coords="357,81,361,77,361,371,357,375">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-1-node-3--top" coords="427,102,470,102,474,98,431,98">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-1-node-3--left" coords="427,102,431,98,431,371,427,375">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-1-node-3--right" coords="470,102,474,98,474,371,470,375">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-1-node-4--top" coords="540,89,583,89,587,85,544,85">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-1-node-4--left" coords="540,89,544,85,544,371,540,375">
<area shape="poly" id="6617695240102246-graph-id0-plotset-plot-1-node-4--right" coords="583,89,587,85,587,371,583,375">
</map>

In the 2D <map> contains the href attributes:
<map id="3088598230102247-map" name="3088598230102247-map">
<area shape="rect" href="javascript:alert(19.2);" target="_self" id="3088598230102247-graph-id0-plotset-plot-0-node-0" coords="35,213,77,374">
<area shape="rect" href="javascript:alert(15.2);" target="_self" id="3088598230102247-graph-id0-plotset-plot-0-node-1" coords="149,247,191,374">
<area shape="rect" href="javascript:alert(15.1);" target="_self" id="3088598230102247-graph-id0-plotset-plot-0-node-2" coords="263,248,305,374">
<area shape="rect" href="javascript:alert(12.6);" target="_self" id="3088598230102247-graph-id0-plotset-plot-0-node-3" coords="376,269,418,374">
<area shape="rect" href="javascript:alert(14.2);" target="_self" id="3088598230102247-graph-id0-plotset-plot-0-node-4" coords="490,256,532,374">
<area shape="rect" href="javascript:alert(39.2);" target="_self" id="3088598230102247-graph-id0-plotset-plot-1-node-0" coords="89,44,131,374">
<area shape="rect" href="javascript:alert(35.2);" target="_self" id="3088598230102247-graph-id0-plotset-plot-1-node-1" coords="203,78,245,374">
<area shape="rect" href="javascript:alert(35.1);" target="_self" id="3088598230102247-graph-id0-plotset-plot-1-node-2" coords="316,79,358,374">
<area shape="rect" href="javascript:alert(32.6);" target="_self" id="3088598230102247-graph-id0-plotset-plot-1-node-3" coords="430,100,472,374">
<area shape="rect" href="javascript:alert(34.2);" target="_self" id="3088598230102247-graph-id0-plotset-plot-1-node-4" coords="544,86,586,374">
</map>

Expected Result:
The <map> should contain all of the href arguments.

Any Workarounds:
Not really - Have to use 2D plots

Attachments:

Comments: