tracker issue : CF-4201951

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

CF2016 cfchart scales

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): / ()

Created: 04/10/2018

Components: Charting/Graphing

Versions: 2016,2018

Failure Type: Non Functioning

Found In Build/Fixed In Build: 33689 / 309469

Priority/Frequency: Normal / All users will encounter

Locale/System: /

Vote Count: 0

Problem: cfchart with scales attributes gives a blank output

Method: Please refer the below sample code:


        <cfchart format="html" chartHeight="400" chartWidth="600" showLegend="no" title="Two-series Line chart" scales="x,y">
               <cfchartseries type="line" serieslabel="WBC" markerstyle="circle" color="red" scales="x2,y2">
                     <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="line" 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>

Other example in the below link gives similar output:

https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-c/cfchart.html#scales

Result: Does not display chart with x2,y2 scales

Expected: Should display the correct output

Workaround: NA

Note: Zing chart documentation support the scales output as mentioned in the below link:
https://www.zingchart.com/docs/tutorials/chart-elements/configure-chart-scales/

Attachments:

Comments: