User (Legacy) Posted May 17, 2000 Report Share Posted May 17, 2000 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.