Jump to content
Software FX Community

Re: SCATTER series (gallery)


User (Legacy)

Recommended Posts

Hello Juan, 

Here is the picture I'm generating. What I want to do is to move the

tickmarks to the real Axis (the ones inside the picture) and also move the

labels which are attached to the tickmarks.

Also is there a simple way of increasing the charting area so I don't have

any of the points sitting right on the edge.

Thanks in advance,

Filip

Juan Cegarra <JuanC@softwarefx.com> wrote in message

news:DE0379D14694D211B4CE00609770710D0551F0@sftfx-221.wamnet.net...

> I am not sure I understand what you want, can you send a picture of the

> results you are looking for ?

>

> Regards,

>

> Juan Cegarra

> Software FX, Inc.

> http://support.softwarefx.com

>

>

> -----Original Message-----

> From: Filip Kratochvil [ mailto:filipk@iname.com]

> Posted At: Tuesday, May 16, 2000 10:07 PM

> Posted To: Server

> Conversation: SCATTER series (gallery)

> Subject: Re: SCATTER series (gallery)

>

>

> OK, I found a way to do this but now there is another issue - how do I

> move

> the AXIS

> I'm including the sample code I have at this stage and a picture of what

> comes up.

>

>

>

> I need to remove the axis from the adges and place the values next to

> the

> axis inside.

> Thanks in advance for your help,

> regards,

> Filip

>

> here is my sample code:

>

> <%

> sWidth = 400

> sHeight = 300

> set chart = Server.CreateObject("ChartFX.WebServer")

>

> Chart.OpenDataEx COD_VALUES,1,7

> Chart.OpenDataEx COD_XVALUES,1,7

>

> 'First let's set the Y coordinates using the YValue Property

> Chart.Series(0).Yvalue(0) = -1.2

> Chart.Series(0).Yvalue(1) = -1.1

> Chart.Series(0).Yvalue(2) = 2.5

> Chart.Series(0).Yvalue(3) = 1.5

> Chart.Series(0).Yvalue(4) = 0

> Chart.Series(0).Yvalue(5) = 0.4

> Chart.Series(0).Yvalue(6) = 5.5

>

>

> 'Now we send the X coordinates using the XValue Property

> Chart.Series(0).Xvalue(0) = 5.84

> Chart.Series(0).Xvalue(1) = 3.34

> Chart.Series(0).Xvalue(2) = -3.78

> Chart.Series(0).Xvalue(3) = 3.96

> Chart.Series(0).Xvalue(4) = 2.51

> Chart.Series(0).Xvalue(5) = 4.23

> Chart.Series(0).Xvalue(6) = 0.75

>

> Chart.CloseData COD_XVALUES

> Chart.CloseData COD_VALUES

>

> Chart.Chart3D = False

> Chart.MarkerShape = MK_DIAMOND

> Chart.MarkerSize = 4

> Chart.AxesStyle = CAS_NONE

> Chart.Gallery = LINES

> %>

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...