Well, you need some parameters added to your cfchart, such as:

scalefrom="0" 
scaleto="x"
gridlines="N" 

Try this calculation and see if it gets you what you want:

x = 700 -- You know your max is 700
y = 100 -- You know you want intervals of 100 (700, 600, 500, etc)


Therefore:

N = (x/y = z) + 1

N = (700/100 = z) + 1

N = 7 + 1

N = 8


The + 1 is for the 0 marker.


HTH,

Ryan Kime


-----Original Message-----
From: Suyer, Ed [PRD Non-J&J] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 24, 2003 10:42 AM
To: CF-Talk
Subject: CFChart: Set Axis Markers?


Hi folks,

I currently have a cfchart that displays something like this:

Line Graph (in ASCII)
                
650     |
577.8   |                               
505.6   |                           X   
433     |                          /
361.1   |                X        /     
288.9   |            /  \        /
216.7   |          X       \    /       
144.4   |         /         X   
72.2    |       X
0       |
        ---------------------------------------
                J       A       S       N       D
                U       U       E       O       E
                L       G       P       V       C
                

How do I get the markers on the y-axis (650, 577.8, ..., 72.2, 0) to read:
700, 600, 500, 400, 300, 200, 100, 0?

I'm not currently passing anything to cfchart or cfchartseries that
generates these numbers.  My guess is that CF takes an average internally to
calculate these markers.  Any help is much appreciated!

TIA


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to