MCPcopy
hub / github.com/chartjs/Chart.js / drawPoint

Function drawPoint

src/helpers/helpers.canvas.ts:156–164  ·  view source on GitHub ↗
(
  ctx: CanvasRenderingContext2D,
  options: DrawPointOptions,
  x: number,
  y: number
)

Source from the content-addressed store, hash-verified

154}
155
156export function drawPoint(
157 ctx: CanvasRenderingContext2D,
158 options: DrawPointOptions,
159 x: number,
160 y: number
161) {
162 // eslint-disable-next-line @typescript-eslint/no-use-before-define
163 drawPointLegend(ctx, options, x, y, null);
164}
165
166// eslint-disable-next-line complexity
167export function drawPointLegend(

Callers 2

_drawColorBoxMethod · 0.85
drawMethod · 0.85

Calls 1

drawPointLegendFunction · 0.85

Tested by

no test coverage detected