Pre loader

SciChart.ColumnChart - draw value on axis for each tick

2
0

Hello, @scichart team,

one question please for Column Chart (2D; WPF).
Based on on the example from your SDK for Column Chart (2D Charts – Column Chart).
No changes to the code at all;

enter image description here

My need is to display each “X” value on X axis;
I.e. right now it is “0, 2, 4, 6 etc”
But I need “0, 1, 2, 3, 4, 5 etc.”
I.e. no changes expect this one.

I played with https://www.scichart.com/documentation/v5.x/SciChart.Charting~SciChart.Charting.Visuals.Axes.AxisCore_members.html and with the custom NumericLabelProvider but didn’t find how to make this.

Please suggest how to achieve this.

Thanks!

-Egor

Version
v4.2.3.10185
  • You must to post comments
1
0

Hi Egor,

Good question, you get +1 vote đŸ™‚

To change the frequency of axis ticks, please see the following articles.

  1. Easy: using MajorDelta, MinorDelta to change axis tick frequency
  2. Hard: using TickProvider to override axis tick frequency

Best regards,
Andrew

  • You must to post comments
0
0

Thanks Andrew, the easy way works fine for me!

  • 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