Jump to content
Software FX Community

RE: Zero-values in plot


Software FX

Recommended Posts

Hello,

Instead of Plotting zero you should plot Chart_Hidden. This will make the point disappear rather than display zero for the value.

Chart.Series(0).YValue(j) = Chart_Hidden

Justin Trask

Software FX

-----Original Message-----

From: Tor Mala [mailto:tor@mala.com]

Posted At: Tuesday, November 07, 2000 12:05 PM

Posted To: Server

Conversation: Zero-values in plot

Subject: Zero-values in plot

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...