| Server IP : 13.235.167.51 / Your IP : 216.73.217.116 Web Server : Apache System : Linux machinox-server 6.17.0-1013-aws #13~24.04.1-Ubuntu SMP Fri Apr 24 21:36:58 UTC 2026 aarch64 User : root ( 0) PHP Version : 8.2.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/control.machinox.in/node_modules/chart.js/dist/elements/ |
Upload File : |
import Element from '../core/core.element.js';
import type { CartesianParsedData, ChartArea, Point, PointHoverOptions, PointOptions } from '../types/index.js';
export type PointProps = Point;
export default class PointElement extends Element<PointProps, PointOptions & PointHoverOptions> {
static id: string;
parsed: CartesianParsedData;
skip?: boolean;
stop?: boolean;
/**
* @type {any}
*/
static defaults: {
borderWidth: number;
hitRadius: number;
hoverBorderWidth: number;
hoverRadius: number;
pointStyle: string;
radius: number;
rotation: number;
};
/**
* @type {any}
*/
static defaultRoutes: {
backgroundColor: string;
borderColor: string;
};
constructor(cfg: any);
inRange(mouseX: number, mouseY: number, useFinalPosition?: boolean): boolean;
inXRange(mouseX: number, useFinalPosition?: boolean): boolean;
inYRange(mouseY: number, useFinalPosition?: boolean): boolean;
getCenterPoint(useFinalPosition?: boolean): {
x: number;
y: number;
};
size(options?: Partial<PointOptions & PointHoverOptions>): number;
draw(ctx: CanvasRenderingContext2D, area: ChartArea): void;
getRange(): any;
}