Convert a Chart.js element (bar, point, etc.) into an overlay rectangle.
Element types expose different geometry properties:
x
y
base
width
height
horizontal
high
low
open
close
Returns null if the element does not expose enough geometry to render.
null
Convert a Chart.js element (bar, point, etc.) into an overlay rectangle.
Element types expose different geometry properties:
x,y,base,width,height,horizontal(read directly).x(center),width,high/low(top/bottom pixel y),open/close(body endpoints in pixels).x,y(center),width,height, nobase.x,y, plus an effective radius.Returns
nullif the element does not expose enough geometry to render.