TChartAxis.CustomDraw
 
 
 

All Units  All Classes  Properties, Methods and Events  

TChartAxis.CustomDraw
TChartAxis

procedure CustomDraw(APosLabels, APosTitle, APosAxis: Integer; GridVisible: Boolean);

Unit
TeEngine

Description
The CustomDraw method displays an Axis at the specified screen positions with the current axis scales.

This method can be used in very special Charting applications, as it involves quite good TeeChart internals knowledge.

For normal charting the TChart component provides two horizontal and two vertical axis that are output to the screen automatically.

This method stores the Axis old positions, draws the Axis and restores the positions again.

The PosLabels, PosTitle and PosAxis parameters determine the Axis Labels, Title and Axis positions.

For horizontal Axis like TopAxis or BottomAxis, these positions are in vertical screen coordinates.

For vertical Axis like LeftAxis or RightAxis, these positions are in horizontal screen coordinates.

The GridVisible parameter determine if the Axis should draw or not the grid lines from the axis to chart edges.

The Axis is drawn using the current formatting properties such as fonts, ticks and colors.



Send us Help Feedback. Copyright 1995-2013 © by Steema Software. All Rights Reserved.