Pre loader

How to Show very small values


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”

  • You must 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()

Hope this will help you!

Best regards,

  • Rey Liang
    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 to post comments
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies