deno.land / x / billboardjs@3.6.0 / config / const.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/** * Copyright (c) 2017 ~ present NAVER Corp. * billboard.js project is licensed under the MIT license *//** * Chart type constant * @private */export const TYPE = { AREA: "area", AREA_LINE_RANGE: "area-line-range", AREA_SPLINE: "area-spline", AREA_SPLINE_RANGE: "area-spline-range", AREA_STEP: "area-step", BAR: "bar", BUBBLE: "bubble", CANDLESTICK: "candlestick", DONUT: "donut", GAUGE: "gauge", LINE: "line", PIE: "pie", POLAR: "polar", RADAR: "radar", SCATTER: "scatter", SPLINE: "spline", STEP: "step"};
/** * Chart type module and its method from ChartInternal class, needed to be initialized. * @private */export const TYPE_METHOD_NEEDED = { AREA: "initArea", AREA_LINE_RANGE: "initArea", AREA_SPLINE: "initArea", AREA_SPLINE_RANGE: "initArea", AREA_STEP: "initArea", BAR: "initBar", BUBBLE: "initCircle", CANDLESTICK: "initCandlestick", DONUT: "initArc", GAUGE: "initArc", LINE: "initLine", PIE: "initArc", POLAR: "initPolar", RADAR: "initCircle", SCATTER: "initCircle", SPLINE: "initLine", STEP: "initLine"};
/** * chart types by category * @private */export const TYPE_BY_CATEGORY = { Area: [ TYPE.AREA, TYPE.AREA_SPLINE, TYPE.AREA_SPLINE_RANGE, TYPE.AREA_LINE_RANGE, TYPE.AREA_STEP ], AreaRange: [ TYPE.AREA_SPLINE_RANGE, TYPE.AREA_LINE_RANGE ], Arc: [ TYPE.PIE, TYPE.DONUT, TYPE.GAUGE, TYPE.POLAR, TYPE.RADAR ], Line: [ TYPE.LINE, TYPE.SPLINE, TYPE.AREA, TYPE.AREA_SPLINE, TYPE.AREA_SPLINE_RANGE, TYPE.AREA_LINE_RANGE, TYPE.STEP, TYPE.AREA_STEP ], Step: [ TYPE.STEP, TYPE.AREA_STEP ], Spline: [ TYPE.SPLINE, TYPE.AREA_SPLINE, TYPE.AREA_SPLINE_RANGE ]};
billboardjs

Version Info

Tagged at
a year ago