Status/Resolution/Reason: To Fix//BugVerified
Reporter/Name(from Bugbase): Philipp C. / ()
Created: 05/31/2019
Components: Charting/Graphing, Server
Versions: 2018
Failure Type: Incorrectly functioning
Found In Build/Fixed In Build: 2018.0.03.314033 /
Priority/Frequency: Normal / Most users will encounter
Locale/System: English / Mac 10 All
Vote Count: 0
I have a chart consisting of 10 values ranging from 0.015 to 0.029. If I try to limit the scales using the "scalefrom" and "scaleto" attributes like this:
scalefrom="0.01" scaleto="0.03"
cfchart seems to always revert to a scale ranging from 0 to 1. (See attached Example1.png)
If I remove the attributes the chart automatically scales from 0.00 to 0.03 However, I would like to get the chart so scale tighter to the actual values. (Example2.png)
This applies to a cfchart format=png with chartseries type=Line.
There are actually two bugs:
1) cfchart does not scale to the correct limits set via "scalefrom" and "scaleto"
2) automatic sizing does not seem to work correctly with values between 0 and 1. While the top margin gets set correctly, the bottom margin seems to be always 0. (See Example 3.png - different values, same problem, scale starts too low at 0 )
This all seems like a minor issue at first glance, however it makes cfchart pretty much unusable if you want to provide meaningful charts since values cannot be visualized if the scales are too far off (see Example3.png where all values are skewed to the top of the chart and y-axis values cannot be determined)
Attachments:
Comments: