Jump to content
Software FX Community

plotting lines when some data is missing


User (Legacy)

Recommended Posts

Posted

As an example, assume 2 series in a Lines chart.  Series(0) has 10 points,

and Series(1) has 5 points. Since each series must have the same number of

points, Series(1) must have, in this example, 5 points set to

CHART_HIDDEN so that only the 5 real data points show and the other 5 points

in the series are blank. However, when this is done, the line no longer is

drawn thru the 5 real data points. I have not figured out a way to draw the

line and keep the blank data at the same time. One suggestion was to

replace the CHART_HIDDEN points with a point calculated as the average of

the previous and next point. This indeed allows the line to be drawn, but

it puts a made-up data point where there really is no data.

Anyone have any clues how to solve this?

Scott Van Verst

Posted

Dear Scot,

Do you mean that both lines should have the same "length" ? if so, you need

to create an XY chart, otherwise Chart FX has no way of knowing that you

want to "spread" those points apart.

In an XY chart, you can assign X-Values to each individual point, this

allows you to control the distance between them regardless of the number of

points and independently of other series.

You can still use CHART_HIDDEN to hide points at the end of the shorter

series.

--

FP

Software FX Support

"Scott Van Verst" <scott.vanverst@doh.wa.gov> wrote in message

news:#9oPpJ6pCHA.1552@webserver1.softwarefx.com...

> As an example, assume 2 series in a Lines chart. Series(0) has 10 points,

> and Series(1) has 5 points. Since each series must have the same number

of

> points, Series(1) must have, in this example, 5 points set to

> CHART_HIDDEN so that only the 5 real data points show and the other 5

points

> in the series are blank. However, when this is done, the line no longer

is

> drawn thru the 5 real data points. I have not figured out a way to draw

the

> line and keep the blank data at the same time. One suggestion was to

> replace the CHART_HIDDEN points with a point calculated as the average of

> the previous and next point. This indeed allows the line to be drawn, but

> it puts a made-up data point where there really is no data.

>

> Anyone have any clues how to solve this?

>

> Scott Van Verst

>

>

Archived

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

×
×
  • Create New...