deno.land / x / billboardjs@3.6.0 / config / Store / Element.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/** * Copyright (c) 2017 ~ present NAVER Corp. * billboard.js project is licensed under the MIT license */import type {d3Selection} from "../../../types/types";
type T = d3Selection | null;
/** * Elements class. * @class Elements * @ignore * @private */export default class Element { constructor() { const element: { [key: string]: T | {[key: string]: T} } = { chart: null, main: null, svg: null, axis: { // axes x: null, y: null, y2: null, subX: null }, defs: null, tooltip: null, legend: null, title: null, subchart: { main: null, // $$.context bar: null, // $$.contextBar line: null, // $$.contextLine area: null // $$.contextArea },
arcs: null, bar: null, // mainBar, candlestick: null, line: null, // mainLine, area: null, // mainArea, circle: null, // mainCircle, radar: null, text: null, // mainText, grid: { main: null, // grid (also focus) x: null, // xgrid, y: null, // ygrid, }, gridLines: { main: null, // gridLines x: null, // xgridLines, y: null, // ygridLines }, region: { main: null, // region list: null // mainRegion }, eventRect: null, zoomResetBtn: null // drag zoom reset button };
return element; }}
billboardjs

Version Info

Tagged at
a year ago