first commit
This commit is contained in:
19
wwwroot/lib/chart-js/core/core.scale.autoskip.d.ts
vendored
Normal file
19
wwwroot/lib/chart-js/core/core.scale.autoskip.d.ts
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* @typedef { import('./core.controller.js').default } Chart
|
||||
* @typedef {{value:number | string, label?:string, major?:boolean, $context?:any}} Tick
|
||||
*/
|
||||
/**
|
||||
* Returns a subset of ticks to be plotted to avoid overlapping labels.
|
||||
* @param {import('./core.scale.js').default} scale
|
||||
* @param {Tick[]} ticks
|
||||
* @return {Tick[]}
|
||||
* @private
|
||||
*/
|
||||
export function autoSkip(scale: import('./core.scale.js').default, ticks: Tick[]): Tick[];
|
||||
export type Chart = import('./core.controller.js').default;
|
||||
export type Tick = {
|
||||
value: number | string;
|
||||
label?: string;
|
||||
major?: boolean;
|
||||
$context?: any;
|
||||
};
|
||||
Reference in New Issue
Block a user