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
370
How to fix the size of series of data in 2d column ultra chart
posted

Hello,

The graph I got is like followings :for more data its coming ok ,but for less data the bars of the graph is stretching.

Is there any way to fix the size of the bars in the graphs..

Can you also please suggest  to have some space between legends and the graph.

 

 

 

Thanks,

  • 53790
    posted

    Hello Manaswini,

    The mentioned behavior (screenshot 2 and 3) is expected if you are using the default settings. Maybe one possible way to change this behavior if you are using the properties:

    ultraChart1.Axis.X.RangeType = Infragistics.UltraChart.Shared.Styles.AxisRangeType.Custom;

    ultraChart1.Axis.X.RangeMin = 0;

    ultraChart1.Axis.X.RangeMax = 10;

    Also you could used these propertis to your Y axis.

    manaswini said:
    Can you also please suggest  to have some space between legends and the graph.

    You could used for example the properties:

    ultraChart1.Legend.Location = Infragistics.UltraChart.Shared.Styles.LegendLocation.Right;

    ultraChart1.Legend.Margins.Top = 50;

     

    Let me know if you have any questions.

    Regards