Page 1 of 1

Bar Chart does not Resize Correctly

Posted: Fri Jan 31, 2014 6:24 pm
by 15666968
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.
BarChart1.jpg
BarChart1.jpg (67.56 KiB) Viewed 6811 times

Re: Bar Chart does not Resize Correctly

Posted: Mon Feb 03, 2014 12:51 pm
by Christopher
Hello,

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();
    }
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?

Re: Bar Chart does not Resize Correctly

Posted: Tue Feb 04, 2014 2:13 am
by 15666968
I changed some of my code and it started working correctly...

Thanks,