Jump to content
Software FX Community

How to change number of points on the fly?


User (Legacy)

Recommended Posts

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

>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

  • 2 weeks later...

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

Archived

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

×
×
  • Create New...