Page 1 of 1

Custom Y axis

Posted: Mon Feb 05, 2007 3:35 pm
by 9640399
I am having a problem with the starting the labels on the very edge of the chart area so that it is cutting off the labels.

The chart has one series and a custom Y axis. The chart control is set to fill the whole form. When the chart is displayed the labels for the Y axis are printing too far to the left and it is cutting off the values starting from the left.

Example: 1, 250 is shown as ,250.

Any ideas?

Posted: Mon Feb 05, 2007 4:53 pm
by narcis
Hi Cobb,

With custom axes you need to set chart's margins, eg.:

Code: Select all

			tChart1.Panel.MarginLeft = 10;

Posted: Mon Feb 05, 2007 5:01 pm
by 9640399
Excellent... thanks.