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

0
0

I am using Android charts and would like to know more about how to customize the YAxis. In the tutorials, there is ussualy something like

builder.newNumericAxis()
.withMinorsPerMajor(4)
.withMaxAutoTicks(8)
.withGrowBy(new DoubleRange(0.1, 0.1))
.build();

In the documentation, I can’t find any explanation for withGrowBy(). What is it used for and are there any examples? What does it mean to have DoubleRange(0.1, 0.1) or DoubleRange(0.01, 0.01)?

Version
2.x
  • You must to post comments
1
0

Hi Primoz,

Did you have a chance to take a look on this article. It contains a brief description of what GrowBy does. Basically it adds spacing to the VisibleRange during calculation of maximum range for axis. You just need to specify two fractions which will be always applied to the Min, Max values of VisibleRange.

Best regards,
Yura

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.