SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
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?
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.
Please login first to submit.