Jump to content

Custom drawing over a waveform chart


EFFE-GI

Recommended Posts

Hi all,

I want to visually show the upper/lower limits in a chart, keeping its original scale. For instance, I've a time/pression plot (0-10 bar) and I want to show the valid pressure is between 8-9 bar.

Is there a way to show two lines (at 2 specified Y values) or change the background or, more generally, to access the chart canvas and operate over it?

Thank you

--

Nicola

Link to comment

QUOTE(EFFE-GI @ Feb 28 2008, 10:25 AM)

Hi all,

I want to visually show the upper/lower limits in a chart, keeping its original scale. For instance, I've a time/pression plot (0-10 bar) and I want to show the valid pressure is between 8-9 bar.

Is there a way to show two lines (at 2 specified Y values) or change the background or, more generally, to access the chart canvas and operate over it?

Thank you

--

Nicola

Perhaps you should think about using a Graph XY !

It's a bit less easy to use, but you control it much better.

And if you want to stay with a Chart for the "chart history" facility, you can use it to store the values, and then use a Graph XY to show the values in you front panel !

Laurent

Link to comment

What I usually do is just add two more plots to the graph, set their plot names to "Min P" and "Max P", and use distinctive line-and-point-style combinations. For example, use lines without points for the min and max, and a line with points (or just points) for the latest reading from the sensor.

There may be a smarter way. But I don't know it.

Link to comment

QUOTE(torekp @ Mar 4 2008, 11:39 AM)

What I usually do is just add two more plots to the graph, set their plot names to "Min P" and "Max P", and use distinctive line-and-point-style combinations. For example, use lines without points for the min and max, and a line with points (or just points) for the latest reading from the sensor.

There may be a smarter way. But I don't know it.

I use the approach outlined by Pual as well. This lets me illustrate when changes to the limits occur and allows zooming etc without having to account for scale and range changes.

Ben

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.