I'm trying to develop a 'stripchart' (image below). I originally tried to use the 'stacked axis' layout to accomplish this goal, but ran into the following issue: The user needs to be able to easily add and remove axis from the screen. Since I dont want to physically remove the axes from the chart, I was able to accomplish this using segments (the axes\series i dont want to show are all set to invisible)
Anyways, my question: I want each segment to have the first axes alternate whether its on the left or right. Is this possible? This was kind of "built in" to the stacked axes.
Segmented Y axis - have the axis alternate on each segment?
Moderator: Queue Moderators
-
- Posts: 183
- Joined: Tue Mar 18, 2014 2:55 pm
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Segmented Y axis - have the axis alternate on each segme
It doesn't seem to be possible currently, without automatic axis placement.
By setting ViewXY.AxisLayout.YAxisAutoPlacement = LeftThenRight applies that rule for each segment separately. Setting that to 'Off' and setting each Y axis Position property 0 = left, or 100 = right moves the axis accordingly. Also align the ticks to left and right accordingly.
By setting ViewXY.AxisLayout.YAxisAutoPlacement = LeftThenRight applies that rule for each segment separately. Setting that to 'Off' and setting each Y axis Position property 0 = left, or 100 = right moves the axis accordingly. Also align the ticks to left and right accordingly.
LightningChart Support Team, PT
-
- Posts: 183
- Joined: Tue Mar 18, 2014 2:55 pm
Re: Segmented Y axis - have the axis alternate on each segme
Thanks pasi, the manual solution should work just fine. I have an 'enable stripchart' menupic that toggles the axis between stacked and segments, i'll have to also toggle the axis settings between 'auto' and the ones mentioned above.