Page 1 of 1

What is the relevant to the AxisRect().Top in html ?

Posted: Tue Apr 25, 2023 1:50 pm
by 17795639

Code: Select all

int y1 = TChart.Axes.Left.AxisRect().Top;
int y2 = TChart.Axes.Bottom.AxisRect().Top;

Re: What is the relevant to the AxisRect().Top in html ?

Posted: Tue Apr 25, 2023 3:15 pm
by Marc
Hello,

You can get what you need I think, from:

Code: Select all

Chart1.chartRect
See use of ChartRect here as an argument for clipping:

https://www.steema.com/files/public/tee ... ighlow.htm

Regards,
Marc Meumann

Re: What is the relevant to the AxisRect().Top in html ?

Posted: Thu Apr 27, 2023 5:25 pm
by 17795639
Hello, this is not the right answer.

If I want to top off the axis value then, what should I do with the chart-level props?

the correct approch is :

Code: Select all

 this.TChart.axes.bottom.startPos

Re: What is the relevant to the AxisRect().Top in html ?

Posted: Thu Apr 27, 2023 5:25 pm
by 17795639
Hello, this is not the right answer.

If I want to top off the axis value then, what should I do with the chart-level props?

the correct approch is :

Code: Select all

 this.TChart.axes.bottom.startPos