Jump to content
Software FX Community

Zero-values in plot


User (Legacy)

Recommended Posts

In a stock-chart I get Zero-values when nothing is given :(

The problem started when we upgraded from 4.5.14 to 4.5.18.1

The two attached images gives U the idea. The newest one dropps off to zero

when no data is given. It shuld just stop! Like it did before.

The VBScript to populate the plot is like this:

' j=0 => 10:00

' j=60 => 11:00

MINUTE_STOP = 200

FOR j=0 TO 360 STEP 1

IF ( j > MINUTE_STOP ) THEN

' Here we want no more values for Series(1)

Chart.Series(0).YValue(j) = 0 ' Must plot something to get all-day

plot

ELSE

Chart.Series(1).YValue(j) = ArrY1(j) 'Blue plot

Chart.Series(0).YValue(j) = ArrY2(j) 'Orange plot

END IF

NEXT

Are there any good alternatives to chartFX that will work?

Regards, Mala

--

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...