Pre loader

How to arrange the X axis to show all column chart bar?

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

Answered
0
0

In the column chart,
The first bar is shown as half on vertically (refer to the below image).

I want to display all width of bar not half.

To do this, I use

VisibleRange=”-0.5, … in xaml.

by this, first chart display is right,
but when the user double click on chart to show all data in column chart,
scale is changing and the ‘half fist bar’ is shown.

I want to show all first bar in any scale.

How to do this?

Images
  • You must to post comments
Best Answer
1
0

Hi there,

You should try setting

    <NumericAxis GrowBy="0.1, 0.1"/>

in XAML. This will add some padding around the VisibleRange Min and Max on the chart. The padding is computed as a fraction of VisibleRange. E.g. if XAxis.VisibleRange is 0, 10, then GrowBy of 0.1, 0.1 adds 10% extra to the left and right.

Best regards,
Andrew

  • Thomas Lischka
    Hi there, I got the same problem with that column chart. But unfortunately neither the visible range nor the grow by properties are able to fix that problem. Both properties are only applying space to the right side of the chart, the first column is always shown half. What else could lead the chart to a behavior like that?
  • You must to post comments
Showing 1 result
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