Group: Forum Members
Last Active: 11 Years Ago
Posts: 43,
Visits: 1
|
Hello. I use several vertical axes on NCartesianChart, they are displaying one above the other. Now I need to make the gap between axes like in your example All Examples/Layout/Stacking Charts. Is it possible to do it without multiply charts, with only one NCartesianChart and several axes? Here is my current code: int axesCount = verticalAxes.Count; float step = 100f / axesCount; for (int i = 0; i < axesCount; i++) { NDockAxisAnchor anchor = (NDockAxisAnchor)verticalAxes[i].Anchor; anchor.CreateNewZoneLevel = false; anchor.BeginPercent = i * step; anchor.EndPercent = (i + 1) * step; } I tried to do the gap between first axis EndPercent and second axis BeginPercent. But this is not exactly what I need because the horizontal axis stripes and constlines persist in such gap. My second idea was to use axis scale breaks but i can't understand how to configure the scale break to achieve the result. Thank you for any help.
|