hi
is it possible to set the linecursor height & top to fit in a specify segment ?
I want to play a segment (each segment is a wave file)
thanks
linecursor
Moderator: Queue Moderators
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: linecursor
LineSeriesCursor covers the whole graph height, currently. There's no AssignYAxisIndex in the class, and therefore it can't be restricted to specific Y axis space.
Please use a Band instead.
It's not a perfect approach but works more or less.
Please use a Band instead.
Code: Select all
band.MouseResize = false;
band.AssignYAxisIndex = yourStackSegmentIndex;
band.BorderWidth = 0;
band.LimitYToStackSegment = true;
band.Fill.Color = yourPreferredColor;
band.Fill.GradientColor = yourPreferredColor;
band.ResizeBorderWidth = 0;
band.ValueBegin = yourXValue - (xAxis.Maximum - xAxis.Minimum)/100;
band.ValueEnd = yourXValue + (xAxis.Maximum - xAxis.Minimum)/100;
LightningChart Support Team, PT