Page 1 of 1

Segmented Y axis - have the axis alternate on each segment?

Posted: Thu Sep 01, 2016 5:32 pm
by greggorob64
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.

Image

Re: Segmented Y axis - have the axis alternate on each segme

Posted: Thu Sep 01, 2016 8:03 pm
by ArctionPasi
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.

Re: Segmented Y axis - have the axis alternate on each segme

Posted: Fri Sep 02, 2016 12:46 pm
by greggorob64
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.