I have ran into this before... Here's the fix I used:
cfchart gridlines=11 scaleFrom=0 scaleTo=100 /cfchart
This will display a graph with each gridLine representing 10.
The trick here is that scaleTo / (gridlines + 1) should equal an integer value.
You add one to the gridlines value
AJ that was very helpful. It worked great until I changed my gridLines
value from 10 to something else. But it led me to discover this formula
that seems to always produce whole number labels -
scaleTo must be evenly divisible by (gridLines - 1)
Thanks!
-Ryan
AJ Mercer wrote:
From memory,
I had the same issue and ended up using a bit of an old fashioned method:
http://www.beerology.com/ars/
It works.
Pete
On 2/9/07, Ryan Stille [EMAIL PROTECTED] wrote:
I am converting some charts from cf5 (cfgraph) to CFMX7 (cfchart). My
simple bar graphs that looked great in CF5 are not
From memory, when I was messing around with this, the scale needs to be a
multiple of 9
So work out what the max value is and then get the next multipe of 9
so if the max val is 88 - set the top scale to 90
Hope this helps.
On 2/10/07, Ryan Stille [EMAIL PROTECTED] wrote:
I am converting
I am converting some charts from cf5 (cfgraph) to CFMX7 (cfchart). My
simple bar graphs that looked great in CF5 are not looking so good in
CF7. My main problem is the y axis grid labels showing up as 3.703,
7.407, etc. Instead of 5,10,15 like they were before. I've been
looking
5 matches
Mail list logo