Jump to content
Software FX Community

handling axis_X


User (Legacy)
 Share

Recommended Posts

  • 2 weeks later...

I created a small ASP with your code and it works fine. You can connect to

it at http://support.softwarefx.com/temp/AxisX.asp

This is all the relevant code in the ASP in case the file is removed from

our server

<%

' Create the object on the server

Set chart = Server.CreateObject("ChartFX.WebServer")

chart.RgbBk = RGB(255,255,255)

chart.OpenDataEx COD_VALUES,1,3

chart.OpenDataEX COD_XVALUES,1,3

Chart.ValueEx(0,0) = 10

Chart.ValueEx(0,1) = 12

Chart.ValueEx(0,2) = 8

Chart.XValueEx(0,0) = 0.4

Chart.XValueEx(0,1) = 0.6

Chart.XValueEx(0,2) = 0.9

Chart.CloseData COD_XVALUES

Chart.CloseData COD_VALUES

Chart.Gallery = SCATTER

Chart.Chart3D = False

with Chart.Axis(AXIS_X)

.max = 1

.min = 0

.step=0.10

.Format = AF_PERCENTAGE

.Decimals = 1

.AdjustScale

End With

%>

<%= chart.GetHtmlTag("500","350","Image") %>

--

Regards

JC

Software FX Support

"Leo" <lsouza@fce.com.br> wrote in message

news:7RhN5IZiBHA.1272@webserver1.softwarefx.com...

> hello,

>

> With graf.Axis(AXIS_X)

> .max = 1

> .min = 0

> .step=0.10

> .Format = AF_PERCENTAGE

> .Decimals = 1

> .AdjustScale

> End With

>

> why this doesnt work ???

>

> Leo

> thanks

>

>

>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...