If a Bar Chart is resized on a form interactively by dragging the form handle bars and resizing the bar chart on the fly in code, a gap appears on the left of the chart between the y-axis and first sample.
Bar Chart does not Resize Correctly
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Bar Chart does not Resize Correctly
Hello,
Running this code:
and then resizing the chart by resizing the form does not reproduce the problem here. Could you please modify the above code snippet so I can reproduce the problem at my end?
Running this code:
Code: Select all
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
tChart1.Series.Add(typeof(Bar)).FillSampleValues();
tChart1.Series.Add(typeof(Bar)).FillSampleValues();
}
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Bar Chart does not Resize Correctly
I changed some of my code and it started working correctly...
Thanks,
Thanks,