SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components
our app is about Futures. we will buy license for IOS and Android.
we found some question.
so we need show very small values, like Euro exchange’s values will be from 1.1981 to 1.2008.
its Tick Size is 0.0001 .
but we use LogarithmicNumericAxis with OhlcDataSeries<Date, Double> , surface still linear scale.
other question.
how to custom LogarithmicNumericAxis’s “TextFormatting” like “$0.0000”
Hi Rey,
Thanks for your inquiry.
I’m not sure that I understand what is the problem with LogarithmicNumericAxis. I tried to draw some small values in one of our examples with code below and don’t see it
for (int i = 1; i < 20; i++) {
dataSeries1.append((double)i, Math.pow(10, i - 20));
}
So can you provide some code which reproduces this issue?
Regarding text formatting – you can use TextFormatting property provided by axis or create custom LabelProvider
IAxis axis = sciChartBuilder.newLogarithmicNumericAxis()
.withTextFormatting("$0.0000")
.build();
Hope this will help you!
Best regards,
Yura
Please login first to submit.