Jump to content
Software FX Community
cosmin.rasina

Interrupted line in series

Recommended Posts

Hi,

 We have a request in our application , if a value on the Y axis is 0 the series should be interrupted.

To give you an example:

If two consecutive points are not greater than 0, it shouldn't be connected by a line. Only positive values.

Can you provide us with an example about how we could achieve this? 

 Thanks,

Cosmin 

Share this post


Link to post
Share on other sites

The special value we use in ChartFX for WPF to "interrupt" a line is Chart.Hidden so before passing the data to the chart you might have to replace 0s with Chart.Hidden. If you are passing CLR objects you can add a property to your objects where you do this translation.

JuanC 

Share this post


Link to post
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.

Loading...

×
×
  • Create New...