SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

0
0

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”

Version
2.1.0.2224
  • You must to post comments
1
0

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

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

Please first to submit.