Jump to content
Software FX Community

handling axis_X


User (Legacy)

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...