Gap between y axes

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
mattmobilemedtek
Posts: 28
Joined: Tue Sep 30, 2014 8:06 pm

Gap between y axes

Post by mattmobilemedtek » Tue Feb 03, 2015 2:24 pm

Hello,

I have several y axes on my line graph and would like to add a gap between the top half of the lines and the bottom half. How would I do this?

Thanks,
Matt

mattmobilemedtek
Posts: 28
Joined: Tue Sep 30, 2014 8:06 pm

Re: Gap between y axes

Post by mattmobilemedtek » Tue Feb 03, 2015 2:42 pm

Right now I'm thinking I can insert transparent y axes between them to create a gap. I'm going to try that out now. Is there a better way than that?

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Gap between y axes

Post by ArctionPasi » Tue Feb 03, 2015 4:30 pm

In newest versions, there's ViewXY.AxisLayouts.Segments list. Create 3 segments there, one with small relative height. For all Y axes, set the SegmentIndex. Don't put any axes in the second (gap) segment.

Then set ViewXY.AxisLayout.YAxesLayout = Segmented.
LightningChart Support Team, PT

mattmobilemedtek
Posts: 28
Joined: Tue Sep 30, 2014 8:06 pm

Re: Gap between y axes

Post by mattmobilemedtek » Mon Feb 09, 2015 7:36 pm

Thanks for the help, I've moved onto another issue for the moment, but I'll try this out soon.

Post Reply