You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title suggests, the draw functions in the mentioned classes should give access to the actual data Point coordinates, not just the canvas location coordinates.
Adding a new Point method, getCanvasCoordinates, would enable passing the Point to these functions and allow access to the canvas coordinates.
My use case is applying a color gradient to both the SelectionHighlightPoint and SelectionHighlightPopUp, depending on the chart y value. However, I can only access the canvas y coordinate, so cannot properly calculate the linear interpolation (lerp) factor depending on the chart y coordinate.
The text was updated successfully, but these errors were encountered:
As the title suggests, the
draw
functions in the mentioned classes should give access to the actual data Point coordinates, not just the canvas location coordinates.Adding a new Point method,
getCanvasCoordinates
, would enable passing the Point to these functions and allow access to the canvas coordinates.My use case is applying a color gradient to both the
SelectionHighlightPoint
andSelectionHighlightPopUp
, depending on the chart y value. However, I can only access the canvas y coordinate, so cannot properly calculate the linear interpolation (lerp
) factor depending on the chart y coordinate.The text was updated successfully, but these errors were encountered: