Jump to content
Software FX Community

plotting lines when some data is missing


User (Legacy)
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

>

>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...