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!

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

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.