Jump to content
Software FX Community

Re: Zero-values in plot


User (Legacy)

Recommended Posts

In order to make things clearer, the attached jpegs shows how it looks on

the development server.

statistics_image.jpg

- the image

statistics_activex.jpg

- same part of screen, but now as an activeX,

note that it has the legends, but all plot

data are zero in the data editor

norden.txt

- the datafile to import with chart.import

Regards, Mala

"Tor Mala" <tor@mala.com> wrote in message

news:W3usfcmSAHA.1424@sfxserver.softwarefx.com...

> Thanx :)

> Now it works nice.

>

> Then there's only one problem left (I hope...):

>

> We sometimes use the import method, but this doesn't work with the new

> version of the ChartFX.WebServer-object.

>

> http://www.ose.no/statistikk/figures/index.asp?List=22

> using the file: http://www.ose.no/statistikk/figures/norden.txt

> works in the old version, but not in the new version we've installed on

the

> development site.

>

> Is the import method changed between version 4.5.14 and 4.5.18.1 ?

> When i choose to edit the data, it has got the dates, but all values are

> zero ...

>

>

> Regards, Mala

> --

>

>

>

> "Justin Trask" <JustinT@softwarefx.com> wrote in message

> news:Ry0xAwlSAHA.1808@sfxserver.softwarefx.com...

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