Hi,
I am writing to request some helps about VisibleRange.
I am drawing simple line graphs using NumericAxis and XyDataSeries<long,double>.
I should control axis range so I used XVisibieRange with Int64Range.
But I have an error that It cannot be applied.
How can I control VisibleRange with long type data??
- CholJin Ko asked 1 year ago
- You must login to post comments
Hi there
In SciChart WPF, Axis.VisibleRange
is always of type DoubleRange
Applying Int64
would not allow any way to perform floating-point calculations internally, so long
would have to be converted to double
anyway
Please apply axis visiblerange like this. If you are using long, you will need to cast to double
axis.VisibleRange = new DoubleRange(123, 456);
- Andrew Burnett-Thompson answered 1 year ago
- You must login to post comments
Please login first to submit.