Page 1 of 1

Distance between DataTableTool & Chart

Posted: Fri Jun 27, 2008 9:39 am
by 13049497
Hello,

How can i change the distance between a DataTableTool and the Chart if i have AutoPosition (of DataTableTool) set true? Problem there is, that my Y Axislables too long and the distance seems to be constant.

For better understanding what i mean:

Image

Posted: Fri Jun 27, 2008 10:04 am
by narcis
Hi AIS,

I'm afraid this is not possible at the moment. The only solution I can think of is manually setting tool's position. I've added your request to the wish-list to be considered for inclusion in future releases.

Posted: Tue Jul 01, 2008 11:52 am
by 13049497
Hi NarcĂ­s,

is there any way to get the Width of a DataTableTool, because without this information its not possible to set its position relativ to my chart?

Thanks in advance!

Posted: Tue Jul 01, 2008 1:25 pm
by narcis
Hi AIS,

There's not specific property for that but you could aproximatelly calculate its width using left axis position after the chart has been plotted:

Code: Select all

			tChart1.Axes.Left.PositionUnits = Steema.TeeChart.PositionUnits.Pixels;
			int width = tChart1.Axes.Left.Position;