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
980
WinChart - Size of actual chart
posted

I inserted a screen shot of a column chart using WinChart. It is very small but my question should still be clear. Notice how small the actual chart is as it uses only a small portion of the space I have given to the WinChart control. How do I make the chart itself use the entire area of space provided for it? Thanks!

 

Parents
  • 53790
    Suggested Answer
    posted

    Hello Elondon,

    By default the ChartArea get whole available space in the UltraChart control. One possible approach to change the ChartArea is to use the property:

    - ChartArea myChartArea = new ChartArea();

    - myChartArea.Bounds = new Rectangle(20, 20, 350, 350);

    Please take a look at the attached sample for more details. Please let me know if you have any questions

    Regards

    ScatterChartWithLineSmallAreaSize.zip
Reply Children