Re: Graphing under MX

2003-03-14 Thread Thomas Chiverton
On Thursday 13 Mar 2003 11:07 am, Adam Reynolds wrote: Currently I have gridlines set to 5. So on a scale range of 20 - 80 you get 5 markes, effectively the quartile positions at: 20, 35, 50, 65, 80 What I ultimately want is not to do it this way I want to determine the scale and set it to

RE: Graphing under MX

2003-03-13 Thread Daniel Napolitano
If you really want to graphing stuff properly you should probably use CFX Graphics Server http://www.cfxgraphicsserver.com It costs but it is quite a flexible graphing control. I think you can download a trial version from the site. Daniel -Original Message- From: Adam Reynolds

RE: Graphing under MX

2003-03-13 Thread Adam Reynolds
Thanks, But if my only gripe is the scale markers on the y axis... -Original Message- From: Daniel Napolitano [mailto:[EMAIL PROTECTED] Sent: 13 March 2003 11:34 To: CF-Talk Subject: RE: Graphing under MX If you really want to graphing stuff properly you should probably use CFX

RE: Graphing under MX

2003-03-13 Thread Ryan Kime
Adam, If you are getting your graphing info from a DB, you could get the max value of the resultset and add to it to X to get the next value of 10 (or 100 or 1000). So max value of 121, you would want 130578 - 580, etc... That would be your scaleto value. Here's a UDF to help you out...

RE: Graphing under MX

2003-03-13 Thread Adam Reynolds
I know... I worked it out... cfset gridlines = ((maxval - minval )/ 10) + 1 I floor the minval and ceiling the maxval to nearest 10 points -Original Message- From: Ryan Kime [mailto:[EMAIL PROTECTED] Sent: 13 March 2003 15:23 To: CF-Talk Subject: RE: Graphing under MX Adam