Debian Codegraph @

vendor/static/chart.js/dist/plugins/plugin.title.d.ts

raw
1 export class Title extends Element<import("../types/basic.js").AnyObject, import("../types/basic.js").AnyObject> {
2 /**
3 * @param {{ ctx: any; options: any; chart: any; }} config
4 */
5 constructor(config: {
6 ctx: any;
7 options: any;
8 chart: any;
9 });
10 chart: any;
11 options: any;
12 ctx: any;
13 _padding: import("../types.js").ChartArea;
14 top: number;
15 bottom: any;
16 left: number;
17 right: any;
18 width: any;
19 height: any;
20 position: any;
21 weight: any;
22 fullSize: any;
23 update(maxWidth: any, maxHeight: any): void;
24 isHorizontal(): boolean;
25 _drawArgs(offset: any): {
26 titleX: any;
27 titleY: any;
28 maxWidth: number;
29 rotation: number;
30 };
31 draw(): void;
32 }
33 declare namespace _default {
34 export const id: string;
35 export { Title as _element };
36 export function start(chart: any, _args: any, options: any): void;
37 export function stop(chart: any): void;
38 export function beforeUpdate(chart: any, _args: any, options: any): void;
39 export namespace defaults {
40 export const align: string;
41 export const display: boolean;
42 export namespace font {
43 const weight: string;
44 }
45 export const fullSize: boolean;
46 export const padding: number;
47 export const position: string;
48 export const text: string;
49 const weight_1: number;
50 export { weight_1 as weight };
51 }
52 export namespace defaultRoutes {
53 const color: string;
54 }
55 export namespace descriptors {
56 const _scriptable: boolean;
57 const _indexable: boolean;
58 }
59 }
60 export default _default;
61 import Element from "../core/core.element.js";