User (Legacy) Posted September 25, 2003 Report Share Posted September 25, 2003 Hi. I am passing data to an X-Y chart and need to increase the number of points by 1 under certain conditions. How do I increase NPOINTS on the fly. I have tried: .ChartFX1.OpenDataEx COD_VALUES, 1, COD_UNKNOWN With no success. TIA Jeff Link to comment Share on other sites More sharing options...
Software FX Posted September 25, 2003 Report Share Posted September 25, 2003 To Increase the number of points by one, you do: ChartFX1.OpenDataEx COD_VALUES, ChartFX.NSeries, ChartFX.NValues+1 ChartFX1.CloseData COD_VALUES A new point will be added at the end of each series. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted September 30, 2003 Author Report Share Posted September 30, 2003 Thanks for the quick reply. I tried what you suggest and it caused an interesting problem. One of the four series on the plot drew a vertical line through all of the points on the minimum side of the graph. Is there a way to change the x-axis legend for just one point? I need the x-axis to display -5 -4 -3 -2 -1 -0.4 No need to display zero. TIA Jeff "SoftwareFX Support" <support@softwarefx.com> wrote in message news:wQvGua4gDHA.3296@WEBSERVER1... > To Increase the number of points by one, you do: > > ChartFX1.OpenDataEx COD_VALUES, ChartFX.NSeries, ChartFX.NValues+1 > ChartFX1.CloseData COD_VALUES > > A new point will be added at the end of each series. > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
Software FX Posted October 1, 2003 Report Share Posted October 1, 2003 >One of the four series on the plot drew a vertical line through all of the points on the minimum side of the graph Look like you have an Extra series with ALL X-Values set to ZERO (or left uninitialized) > I need the x-axis to display -5 -4 -3 -2 -1 -0.4. No need to display zero The Axis Step is Constant in Chart FX 5.x, you can always set STRING labels instead of numbers by using the Legend property. Check the docs for details. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted October 13, 2003 Author Report Share Posted October 13, 2003 Yes there is an "extra" X series, but the values are: -5, -4, -3, -2, -1, -.4. I was the one who originally reported problems with negative x - axis. (Ask Frank). No luck in using legend property on individual axis points. Don't understand the connection between the spurious line through zero and the axis step size. Jeff "SoftwareFX Support" <support@softwarefx.com> wrote in message news:uuIZXBFiDHA.3296@WEBSERVER1... > >One of the four series on the plot drew a vertical line through all of the > points on the minimum side of the graph > > Look like you have an Extra series with ALL X-Values set to ZERO (or left > uninitialized) > > > I need the x-axis to display -5 -4 -3 -2 -1 -0.4. No need to display zero > > The Axis Step is Constant in Chart FX 5.x, you can always set STRING labels > instead of numbers by using the Legend property. Check the docs for details. > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
Software FX Posted October 14, 2003 Report Share Posted October 14, 2003 Please save this chat into a binary file using the Export method and post it here. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.