TRSCustomChartPanel.PointToAxesPoint(TCanvasPoint,TRSChartAxis,TRSChartAxis) Method |
Scroll Prev Top Next More |
Converts a canvas coordinate to axes coordinates using the specified X and Y axes. The PointToAxesPoint uses the TRSChartAxis PixelToAxis method. Unlike the PixelToAxis method which converts only the x value or y value, the PointToAxesPoint method converts a point to the internal point coordinate.
Namespace: FMX.RS.ChartPanel
Delphi |
public |
Parameters
Pt
Type: TCanvasPoint
XAxis
Type: TRSChartAxis
YAxis
Type: TRSChartAxis
Type: TRSPoint
The following code changes the form's caption to display the chart value under the mouse: Delphi |
procedure TForm1.RSChartPanel1MouseMove(Sender: TObject; |