Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
385
UltraChart Barchart padding right
posted

Hi all

I have some UI modification deficulties to adjust in BarChart.

How to make space on right side of the chart.

  • 37874
    Verified Answer
    posted

    Hello naingoo,

    I would suggest that you set the margins of the chart axes. You could do this from the chart wizard - under Axes tab, at the top left corner area click Axis Extent and Margins tab. There you could adjust the margins for X and Y axes by dragging the sliders. Also you could access axes margins from code behind:

    UltraChart1.Axis.X.Margin.Near.Value = 0;

    UltraChart1.Axis.X.Margin.Far.Value = 0;

    UltraChart1.Axis.Y.Margin.Near.Value = 0;

    UltraChart1.Axis.Y.Margin.Far.Value = 0;

    Please let me know if this helps.