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”
- Rey Liang asked 6 years ago
- You must login to post comments
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
- Yura Khariton answered 6 years ago
-
thank you!! i had try withTextFormatting(“$0.0000”) . it not working.tick label not display. is LogarithmicNumericAxis not support “Date, Double” type? our xAxis type is Date. if yAxis set type with “Double,Double”,xAxis’s value can compare yAxis’s value?
- You must login to post comments
Please login first to submit.