Set ColorBandTool StartValue and EndValue by code
Posted: Thu Jun 17, 2004 10:04 am
I wish to set ColorBandTool StartValue and EndValue by code with custom
Axis(vertical,automatic=true).
for example:
ChartTool1.StartValue:=Chart1.CustomAxes[0].Maximum;
ChartTool1.EndValue:=Chart1.CustomAxes[0].Minimum;
Which event of chart can be used for this code ? Chart1AfterDraw ?
And if can I use 100%/0% to set ChartTool1.StartValue,EndValue in stead axis max/min value?
Axis(vertical,automatic=true).
for example:
ChartTool1.StartValue:=Chart1.CustomAxes[0].Maximum;
ChartTool1.EndValue:=Chart1.CustomAxes[0].Minimum;
Which event of chart can be used for this code ? Chart1AfterDraw ?
And if can I use 100%/0% to set ChartTool1.StartValue,EndValue in stead axis max/min value?