@carbon/charts 1.9.0-rc.5 → 1.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/LICENSE.md +201 -0
- package/README.md +9 -19
- package/dist/_baseEach-603421de.mjs.map +1 -1
- package/dist/_baseEach-cdac417f.js.map +1 -1
- package/dist/angle-utils-6f166b40.js.map +1 -1
- package/dist/angle-utils-8b6ce998.mjs.map +1 -1
- package/dist/axis-chart.d.ts +13 -13
- package/dist/chart.d.ts +18 -18
- package/dist/charts/alluvial.d.ts +10 -10
- package/dist/charts/area-stacked.d.ts +8 -8
- package/dist/charts/area.d.ts +8 -8
- package/dist/charts/bar-grouped.d.ts +8 -8
- package/dist/charts/bar-simple.d.ts +8 -8
- package/dist/charts/bar-stacked.d.ts +8 -8
- package/dist/charts/boxplot.d.ts +10 -10
- package/dist/charts/bubble.d.ts +8 -8
- package/dist/charts/bullet.d.ts +10 -10
- package/dist/charts/choropleth.d.ts +14 -14
- package/dist/charts/circle-pack.d.ts +10 -10
- package/dist/charts/combo.d.ts +9 -9
- package/dist/charts/donut.d.ts +8 -8
- package/dist/charts/gauge.d.ts +10 -10
- package/dist/charts/heatmap.d.ts +14 -14
- package/dist/charts/histogram.d.ts +10 -10
- package/dist/charts/index.d.ts +27 -27
- package/dist/charts/line.d.ts +8 -8
- package/dist/charts/lollipop.d.ts +8 -8
- package/dist/charts/meter.d.ts +10 -10
- package/dist/charts/pie.d.ts +10 -10
- package/dist/charts/radar.d.ts +10 -10
- package/dist/charts/scatter.d.ts +8 -8
- package/dist/charts/tree.d.ts +10 -10
- package/dist/charts/treemap.d.ts +10 -10
- package/dist/charts/wordcloud.d.ts +10 -10
- package/dist/choropleth-4ac6ac20.js.map +1 -1
- package/dist/choropleth-f473ea0d.mjs.map +1 -1
- package/dist/color-scale-utils-5eb3eeaa.mjs.map +1 -1
- package/dist/color-scale-utils-7d463811.js.map +1 -1
- package/dist/components/axes/axis.d.ts +24 -24
- package/dist/components/axes/chart-clip.d.ts +13 -13
- package/dist/components/axes/grid-brush.d.ts +10 -10
- package/dist/components/axes/grid.d.ts +22 -22
- package/dist/components/axes/hover-axis.d.ts +10 -10
- package/dist/components/axes/index.d.ts +12 -12
- package/dist/components/axes/ruler-binned.d.ts +10 -7
- package/dist/components/axes/ruler-stacked.d.ts +4 -4
- package/dist/components/axes/ruler.d.ts +30 -27
- package/dist/components/axes/toolbar.d.ts +40 -40
- package/dist/components/axes/two-dimensional-axes.d.ts +16 -16
- package/dist/components/axes/zero-line.d.ts +7 -7
- package/dist/components/axes/zoom-bar.d.ts +31 -28
- package/dist/components/component.d.ts +30 -30
- package/dist/components/diagrams/buildPaths.d.ts +40 -40
- package/dist/components/diagrams/index.d.ts +2 -2
- package/dist/components/diagrams/markerDefinitions.d.ts +37 -37
- package/dist/components/essentials/canvas-chart-clip.d.ts +6 -6
- package/dist/components/essentials/color-scale-legend.d.ts +20 -20
- package/dist/components/essentials/geo-projection.d.ts +16 -16
- package/dist/components/essentials/highlights.d.ts +13 -13
- package/dist/components/essentials/index.d.ts +11 -11
- package/dist/components/essentials/legend.d.ts +11 -11
- package/dist/components/essentials/modal.d.ts +14 -14
- package/dist/components/essentials/threshold.d.ts +20 -20
- package/dist/components/essentials/title-meter.d.ts +30 -30
- package/dist/components/essentials/title.d.ts +20 -20
- package/dist/components/essentials/tooltip-axis.d.ts +4 -4
- package/dist/components/essentials/tooltip.d.ts +22 -22
- package/dist/components/graphs/alluvial.d.ts +14 -14
- package/dist/components/graphs/area-stacked.d.ts +11 -11
- package/dist/components/graphs/area.d.ts +12 -12
- package/dist/components/graphs/bar-grouped.d.ts +22 -22
- package/dist/components/graphs/bar-simple.d.ts +12 -12
- package/dist/components/graphs/bar-stacked.d.ts +13 -13
- package/dist/components/graphs/bar.d.ts +5 -5
- package/dist/components/graphs/boxplot.d.ts +9 -9
- package/dist/components/graphs/bubble.d.ts +13 -13
- package/dist/components/graphs/bullet.d.ts +12 -12
- package/dist/components/graphs/choropleth.d.ts +6 -6
- package/dist/components/graphs/circle-pack.d.ts +19 -19
- package/dist/components/graphs/donut.d.ts +9 -9
- package/dist/components/graphs/gauge.d.ts +27 -27
- package/dist/components/graphs/heatmap.d.ts +25 -25
- package/dist/components/graphs/histogram.d.ts +12 -12
- package/dist/components/graphs/index.d.ts +28 -28
- package/dist/components/graphs/line.d.ts +11 -11
- package/dist/components/graphs/lollipop.d.ts +14 -14
- package/dist/components/graphs/meter.d.ts +10 -10
- package/dist/components/graphs/pie.d.ts +16 -16
- package/dist/components/graphs/radar.d.ts +25 -25
- package/dist/components/graphs/scatter-stacked.d.ts +8 -8
- package/dist/components/graphs/scatter.d.ts +21 -21
- package/dist/components/graphs/skeleton-lines.d.ts +12 -12
- package/dist/components/graphs/skeleton.d.ts +23 -23
- package/dist/components/graphs/tree.d.ts +9 -9
- package/dist/components/graphs/treemap.d.ts +11 -11
- package/dist/components/graphs/wordcloud.d.ts +12 -12
- package/dist/components/index.d.ts +6 -6
- package/dist/components/layout/index.d.ts +2 -2
- package/dist/components/layout/layout.d.ts +18 -18
- package/dist/components/layout/spacer.d.ts +5 -5
- package/dist/configuration-non-customizable.d.ts +263 -263
- package/dist/configuration.d.ts +48 -48
- package/dist/demo/charts/alluvial.d.ts +109 -109
- package/dist/demo/charts/area.d.ts +224 -224
- package/dist/demo/charts/bar.d.ts +681 -681
- package/dist/demo/charts/boxplot.d.ts +34 -34
- package/dist/demo/charts/bubble.d.ts +141 -141
- package/dist/demo/charts/bullet.d.ts +24 -24
- package/dist/demo/charts/chart-types.d.ts +128 -128
- package/dist/demo/charts/choropleth.d.ts +738 -738
- package/dist/demo/charts/circle-pack.d.ts +91 -91
- package/dist/demo/charts/combo.d.ts +482 -482
- package/dist/demo/charts/donut.d.ts +64 -64
- package/dist/demo/charts/gauge.d.ts +40 -40
- package/dist/demo/charts/heatmap.d.ts +125 -125
- package/dist/demo/charts/hightlight.d.ts +40 -40
- package/dist/demo/charts/histogram.d.ts +63 -63
- package/dist/demo/charts/index.d.ts +55 -62
- package/dist/demo/charts/line.d.ts +361 -361
- package/dist/demo/charts/lollipop.d.ts +39 -39
- package/dist/demo/charts/meter.d.ts +95 -95
- package/dist/demo/charts/pie.d.ts +46 -46
- package/dist/demo/charts/radar.d.ts +63 -63
- package/dist/demo/charts/scatter.d.ts +118 -118
- package/dist/demo/charts/step.d.ts +96 -96
- package/dist/demo/charts/time-series-axis.d.ts +293 -293
- package/dist/demo/charts/toolbar.d.ts +12 -12
- package/dist/demo/charts/topojson-110.d.ts +360 -360
- package/dist/demo/charts/tree.d.ts +30 -30
- package/dist/demo/charts/treemap.d.ts +15 -15
- package/dist/demo/charts/wordcloud.d.ts +14 -14
- package/dist/demo/charts/zoom-bar.d.ts +79 -79
- package/dist/demo/index.d.ts +4 -4
- package/dist/demo/index.js +153 -166
- package/dist/demo/index.js.map +1 -1
- package/dist/demo/index.mjs +1645 -1834
- package/dist/demo/index.mjs.map +1 -1
- package/dist/demo/styles.css +567 -262
- package/dist/demo/styles.css.map +1 -1
- package/dist/demo/utils/index.d.ts +2 -2
- package/dist/demo/utils/sandbox.d.ts +38 -39
- package/dist/demo/utils/story-widgets.d.ts +7 -7
- package/dist/index-a266373c.mjs.map +1 -1
- package/dist/index-becfb567.mjs.map +1 -1
- package/dist/index-d865d500.js.map +1 -1
- package/dist/index-f23685eb.js.map +1 -1
- package/dist/index.d.ts +13 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/a11y.d.ts +12 -12
- package/dist/interfaces/axis-scales.d.ts +201 -201
- package/dist/interfaces/charts.d.ts +520 -517
- package/dist/interfaces/components.d.ts +231 -231
- package/dist/interfaces/enums.d.ts +261 -261
- package/dist/interfaces/events.d.ts +239 -239
- package/dist/interfaces/index.d.ts +12 -11
- package/dist/interfaces/layout.d.ts +21 -21
- package/dist/interfaces/model.d.ts +35 -35
- package/dist/interfaces/services.d.ts +20 -20
- package/dist/interfaces/truncation.d.ts +17 -17
- package/dist/model/alluvial.d.ts +8 -8
- package/dist/model/binned-charts.d.ts +7 -7
- package/dist/model/boxplot.d.ts +14 -14
- package/dist/model/bullet.d.ts +14 -14
- package/dist/model/cartesian-charts.d.ts +24 -24
- package/dist/model/choropleth.d.ts +29 -29
- package/dist/model/circle-pack.d.ts +36 -36
- package/dist/model/gauge.d.ts +9 -9
- package/dist/model/heatmap.d.ts +57 -57
- package/dist/model/index.d.ts +16 -16
- package/dist/model/index.js.map +1 -1
- package/dist/model/index.mjs.map +1 -1
- package/dist/model/meter.d.ts +20 -20
- package/dist/model/model.d.ts +110 -110
- package/dist/model/pie.d.ts +9 -9
- package/dist/model/radar.d.ts +7 -7
- package/dist/model/tree.d.ts +14 -14
- package/dist/model/treemap.d.ts +8 -8
- package/dist/model/wordcloud.d.ts +7 -7
- package/dist/services/angle-utils.d.ts +15 -15
- package/dist/services/canvas-zoom.d.ts +11 -11
- package/dist/services/color-scale-utils.d.ts +2 -2
- package/dist/services/curves.d.ts +24 -24
- package/dist/services/essentials/dom-utils.d.ts +45 -45
- package/dist/services/essentials/events.d.ts +8 -8
- package/dist/services/essentials/files.d.ts +7 -7
- package/dist/services/essentials/gradient-utils.d.ts +6 -6
- package/dist/services/essentials/index.d.ts +5 -5
- package/dist/services/essentials/transitions.d.ts +13 -13
- package/dist/services/index.d.ts +9 -9
- package/dist/services/scales-cartesian.d.ts +89 -89
- package/dist/services/service.d.ts +11 -11
- package/dist/services/time-series.d.ts +13 -13
- package/dist/services/zoom.d.ts +21 -21
- package/dist/styles.css +0 -21919
- package/dist/styles.css.map +1 -1
- package/dist/styles.min.css +1 -1
- package/dist/styles.min.css.map +1 -1
- package/dist/tools.d.ts +150 -144
- package/package.json +48 -33
- package/{dist/styles/colors.scss → scss/_colors.scss} +1 -1
- package/{dist/styles/tokens.scss → scss/_tokens.scss} +6 -15
- package/scss/demos.scss +427 -0
- package/scss/index.scss +31 -0
- package/dist/styles/styles.scss +0 -40
- /package/{dist/styles → scss}/_chart-holder.scss +0 -0
- /package/{dist/styles/color-palatte.scss → scss/_color-palette.scss} +0 -0
- /package/{dist/styles → scss}/_type.scss +0 -0
- /package/{dist/styles → scss}/components/_axis.scss +0 -0
- /package/{dist/styles → scss}/components/_callouts.scss +0 -0
- /package/{dist/styles → scss}/components/_color-legend.scss +0 -0
- /package/{dist/styles → scss}/components/_edge.scss +0 -0
- /package/{dist/styles → scss}/components/_grid-brush.scss +0 -0
- /package/{dist/styles → scss}/components/_grid.scss +0 -0
- /package/{dist/styles → scss}/components/_highlights.scss +0 -0
- /package/{dist/styles → scss}/components/_layout.scss +0 -0
- /package/{dist/styles → scss}/components/_legend.scss +0 -0
- /package/{dist/styles → scss}/components/_marker.scss +0 -0
- /package/{dist/styles → scss}/components/_meter-title.scss +0 -0
- /package/{dist/styles → scss}/components/_modal.scss +0 -0
- /package/{dist/styles → scss}/components/_ruler.scss +0 -0
- /package/{dist/styles → scss}/components/_skeleton-lines.scss +0 -0
- /package/{dist/styles → scss}/components/_skeleton.scss +0 -0
- /package/{dist/styles → scss}/components/_threshold.scss +0 -0
- /package/{dist/styles → scss}/components/_title.scss +0 -0
- /package/{dist/styles → scss}/components/_toolbar.scss +0 -0
- /package/{dist/styles → scss}/components/_tooltip.scss +0 -0
- /package/{dist/styles → scss}/components/_zero-line.scss +0 -0
- /package/{dist/styles → scss}/components/_zoom-bar.scss +0 -0
- /package/{dist/styles → scss}/components/diagrams/_card-node.scss +0 -0
- /package/{dist/styles → scss}/components/diagrams/_edge.scss +0 -0
- /package/{dist/styles → scss}/components/diagrams/_marker.scss +0 -0
- /package/{dist/styles → scss}/components/diagrams/_shape-node.scss +0 -0
- /package/{dist/styles → scss}/components/diagrams/index.scss +0 -0
- /package/{dist/styles → scss}/components/index.scss +0 -0
- /package/{dist/styles → scss}/graphs/_alluvial.scss +0 -0
- /package/{dist/styles → scss}/graphs/_area.scss +0 -0
- /package/{dist/styles → scss}/graphs/_bubble.scss +0 -0
- /package/{dist/styles → scss}/graphs/_bullet.scss +0 -0
- /package/{dist/styles → scss}/graphs/_choropleth.scss +0 -0
- /package/{dist/styles → scss}/graphs/_circle-pack.scss +0 -0
- /package/{dist/styles → scss}/graphs/_donut.scss +0 -0
- /package/{dist/styles → scss}/graphs/_gauge.scss +0 -0
- /package/{dist/styles → scss}/graphs/_heatmap.scss +0 -0
- /package/{dist/styles → scss}/graphs/_line.scss +0 -0
- /package/{dist/styles → scss}/graphs/_lollipop.scss +0 -0
- /package/{dist/styles → scss}/graphs/_meter.scss +0 -0
- /package/{dist/styles → scss}/graphs/_pie.scss +0 -0
- /package/{dist/styles → scss}/graphs/_radar.scss +0 -0
- /package/{dist/styles → scss}/graphs/_scatter-stacked.scss +0 -0
- /package/{dist/styles → scss}/graphs/_scatter.scss +0 -0
- /package/{dist/styles → scss}/graphs/_tree.scss +0 -0
- /package/{dist/styles → scss}/graphs/_treemap.scss +0 -0
- /package/{dist/styles → scss}/graphs/_wordcloud.scss +0 -0
- /package/{dist/styles → scss}/graphs/index.scss +0 -0
|
@@ -1,261 +1,261 @@
|
|
|
1
|
-
import * as EventEnums from './events';
|
|
2
|
-
export declare const Events: typeof EventEnums;
|
|
3
|
-
export declare enum RenderTypes {
|
|
4
|
-
HTML = "html",
|
|
5
|
-
SVG = "svg"
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* enum of all supported chart themes
|
|
9
|
-
*/
|
|
10
|
-
export declare enum ChartTheme {
|
|
11
|
-
WHITE = "white",
|
|
12
|
-
G100 = "g100",
|
|
13
|
-
G90 = "g90",
|
|
14
|
-
G10 = "g10"
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* enum of all color classname types
|
|
18
|
-
*/
|
|
19
|
-
export declare enum ColorClassNameTypes {
|
|
20
|
-
BACKGROUND = "background",
|
|
21
|
-
FILL = "fill",
|
|
22
|
-
STROKE = "stroke",
|
|
23
|
-
TOOLTIP = "tooltip"
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* enum of all possible axis positions
|
|
27
|
-
*/
|
|
28
|
-
export declare enum AxisPositions {
|
|
29
|
-
LEFT = "left",
|
|
30
|
-
RIGHT = "right",
|
|
31
|
-
TOP = "top",
|
|
32
|
-
BOTTOM = "bottom"
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* enum of all possible axis positions
|
|
36
|
-
*/
|
|
37
|
-
export declare enum ZoomBarTypes {
|
|
38
|
-
GRAPH_VIEW = "graph_view",
|
|
39
|
-
SLIDER_VIEW = "slider_view"
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* enum of all possible truncation types
|
|
43
|
-
*/
|
|
44
|
-
export declare enum TruncationTypes {
|
|
45
|
-
END_LINE = "end_line",
|
|
46
|
-
MID_LINE = "mid_line",
|
|
47
|
-
FRONT_LINE = "front_line",
|
|
48
|
-
NONE = "none"
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* enum of all possible cartesian orientations
|
|
52
|
-
* to be used for determining the orientation
|
|
53
|
-
* of graphs being draw over
|
|
54
|
-
* cartesian scales
|
|
55
|
-
*/
|
|
56
|
-
export declare enum CartesianOrientations {
|
|
57
|
-
VERTICAL = "vertical",
|
|
58
|
-
HORIZONTAL = "horizontal"
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* enum of all possible scale types
|
|
62
|
-
*/
|
|
63
|
-
export declare enum ScaleTypes {
|
|
64
|
-
TIME = "time",
|
|
65
|
-
LINEAR = "linear",
|
|
66
|
-
LOG = "log",
|
|
67
|
-
LABELS = "labels",
|
|
68
|
-
LABELS_RATIO = "labels-ratio"
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* enum of all possible legend positions
|
|
72
|
-
*/
|
|
73
|
-
export declare enum LegendPositions {
|
|
74
|
-
RIGHT = "right",
|
|
75
|
-
LEFT = "left",
|
|
76
|
-
TOP = "top",
|
|
77
|
-
BOTTOM = "bottom"
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* enum of all possible alignments
|
|
81
|
-
*/
|
|
82
|
-
export declare enum Alignments {
|
|
83
|
-
LEFT = "left",
|
|
84
|
-
CENTER = "center",
|
|
85
|
-
RIGHT = "right"
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* enum of all possible legend orientations
|
|
89
|
-
*/
|
|
90
|
-
export declare enum LegendOrientations {
|
|
91
|
-
HORIZONTAL = "horizontal",
|
|
92
|
-
VERTICAL = "vertical"
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* enum of tree types for the tree chart
|
|
96
|
-
*/
|
|
97
|
-
export declare enum TreeTypes {
|
|
98
|
-
TREE = "tree",
|
|
99
|
-
DENDROGRAM = "dendrogram"
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* enum of all possible layout directions
|
|
103
|
-
*/
|
|
104
|
-
export declare enum LayoutDirection {
|
|
105
|
-
ROW = "row",
|
|
106
|
-
COLUMN = "column",
|
|
107
|
-
ROW_REVERSE = "row-reverse",
|
|
108
|
-
COLUMN_REVERSE = "column-reverse"
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* enum of all possible layout growth values
|
|
112
|
-
*/
|
|
113
|
-
export declare enum LayoutGrowth {
|
|
114
|
-
FIXED = "fixed",
|
|
115
|
-
PREFERRED = "preferred",
|
|
116
|
-
STRETCH = "stretch"
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* enum of all possible layout align-items values
|
|
120
|
-
*/
|
|
121
|
-
export declare enum LayoutAlignItems {
|
|
122
|
-
CENTER = "center"
|
|
123
|
-
}
|
|
124
|
-
/**
|
|
125
|
-
* enum of all possible callout directions
|
|
126
|
-
*/
|
|
127
|
-
export declare enum CalloutDirections {
|
|
128
|
-
LEFT = "left",
|
|
129
|
-
RIGHT = "right"
|
|
130
|
-
}
|
|
131
|
-
/**
|
|
132
|
-
* enum of all possible skeleton/empty state types
|
|
133
|
-
*/
|
|
134
|
-
export declare enum Skeletons {
|
|
135
|
-
GRID = "grid",
|
|
136
|
-
VERT_OR_HORIZ = "vertOrHoriz",
|
|
137
|
-
PIE = "pie",
|
|
138
|
-
DONUT = "donut"
|
|
139
|
-
}
|
|
140
|
-
/**
|
|
141
|
-
* enum of all possible attributes used to aling text horizontally
|
|
142
|
-
*/
|
|
143
|
-
export declare enum TextAnchor {
|
|
144
|
-
START = "start",
|
|
145
|
-
MIDDLE = "middle",
|
|
146
|
-
END = "end"
|
|
147
|
-
}
|
|
148
|
-
/**
|
|
149
|
-
* enum of all possible attributes used to aling text vertically
|
|
150
|
-
*/
|
|
151
|
-
export declare enum DominantBaseline {
|
|
152
|
-
BASELINE = "baseline",
|
|
153
|
-
MIDDLE = "middle",
|
|
154
|
-
HANGING = "hanging"
|
|
155
|
-
}
|
|
156
|
-
export declare enum GaugeTypes {
|
|
157
|
-
SEMI = "semi",
|
|
158
|
-
FULL = "full"
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* enum of all possible callout directions
|
|
162
|
-
*/
|
|
163
|
-
export declare enum ArrowDirections {
|
|
164
|
-
UP = "up",
|
|
165
|
-
DOWN = "down"
|
|
166
|
-
}
|
|
167
|
-
/**
|
|
168
|
-
* enum of carbon statuses
|
|
169
|
-
*/
|
|
170
|
-
export declare enum Statuses {
|
|
171
|
-
SUCCESS = "success",
|
|
172
|
-
WARNING = "warning",
|
|
173
|
-
DANGER = "danger"
|
|
174
|
-
}
|
|
175
|
-
/**
|
|
176
|
-
* enum of axis ticks rotation
|
|
177
|
-
*/
|
|
178
|
-
export declare enum TickRotations {
|
|
179
|
-
ALWAYS = "always",
|
|
180
|
-
AUTO = "auto",
|
|
181
|
-
NEVER = "never"
|
|
182
|
-
}
|
|
183
|
-
/**
|
|
184
|
-
* enum of chartTypes that work with combo chart
|
|
185
|
-
*/
|
|
186
|
-
export declare enum ChartTypes {
|
|
187
|
-
SCATTER = "scatter",
|
|
188
|
-
LINE = "line",
|
|
189
|
-
SIMPLE_BAR = "simple-bar",
|
|
190
|
-
STACKED_BAR = "stacked-bar",
|
|
191
|
-
GROUPED_BAR = "grouped-bar",
|
|
192
|
-
AREA = "area",
|
|
193
|
-
STACKED_AREA = "stacked-area"
|
|
194
|
-
}
|
|
195
|
-
/**
|
|
196
|
-
* enum of supported toolbar control types
|
|
197
|
-
*/
|
|
198
|
-
export declare enum ToolbarControlTypes {
|
|
199
|
-
EXPORT_CSV = "Export as CSV",
|
|
200
|
-
EXPORT_PNG = "Export as PNG",
|
|
201
|
-
EXPORT_JPG = "Export as JPG",
|
|
202
|
-
ZOOM_IN = "Zoom in",
|
|
203
|
-
ZOOM_OUT = "Zoom out",
|
|
204
|
-
RESET_ZOOM = "Reset zoom",
|
|
205
|
-
MAKE_FULLSCREEN = "Make fullscreen",
|
|
206
|
-
SHOW_AS_DATATABLE = "Show as data-table",
|
|
207
|
-
CUSTOM = "Custom"
|
|
208
|
-
}
|
|
209
|
-
/**
|
|
210
|
-
* enum of title orientations for _vertical axes_
|
|
211
|
-
*/
|
|
212
|
-
export declare enum AxisTitleOrientations {
|
|
213
|
-
LEFT = "left",
|
|
214
|
-
RIGHT = "right"
|
|
215
|
-
}
|
|
216
|
-
/**
|
|
217
|
-
* enum of legend item type
|
|
218
|
-
*/
|
|
219
|
-
export declare enum LegendItemType {
|
|
220
|
-
CHECKBOX = "checkbox",
|
|
221
|
-
RADIUS = "radius",
|
|
222
|
-
AREA = "area",
|
|
223
|
-
SIZE = "size",
|
|
224
|
-
LINE = "line",
|
|
225
|
-
QUARTILE = "quartile",
|
|
226
|
-
ZOOM = "zoom"
|
|
227
|
-
}
|
|
228
|
-
/**
|
|
229
|
-
* enum of color legend types
|
|
230
|
-
*/
|
|
231
|
-
export declare enum ColorLegendType {
|
|
232
|
-
LINEAR = "linear",
|
|
233
|
-
QUANTIZE = "quantize"
|
|
234
|
-
}
|
|
235
|
-
/**
|
|
236
|
-
* enum of divider status for heatmap
|
|
237
|
-
*/
|
|
238
|
-
export declare enum DividerStatus {
|
|
239
|
-
ON = "on",
|
|
240
|
-
AUTO = "auto",
|
|
241
|
-
OFF = "off"
|
|
242
|
-
}
|
|
243
|
-
/**
|
|
244
|
-
* enum of axis flavor
|
|
245
|
-
*/
|
|
246
|
-
export declare enum AxisFlavor {
|
|
247
|
-
DEFAULT = "default",
|
|
248
|
-
HOVERABLE = "hoverable"
|
|
249
|
-
}
|
|
250
|
-
/**
|
|
251
|
-
* enum of supported projection types
|
|
252
|
-
*/
|
|
253
|
-
export declare enum Projection {
|
|
254
|
-
geoEqualEarth = "geoEqualEarth",
|
|
255
|
-
geoAlbers = "geoAlbers",
|
|
256
|
-
geoConicEqualArea = "geoConicEqualArea",
|
|
257
|
-
geoConicEquidistant = "geoConicEquidistant",
|
|
258
|
-
geoEquirectangular = "geoEquirectangular",
|
|
259
|
-
geoMercator = "geoMercator",
|
|
260
|
-
geoNaturalEarth1 = "geoNaturalEarth1"
|
|
261
|
-
}
|
|
1
|
+
import * as EventEnums from './events';
|
|
2
|
+
export declare const Events: typeof EventEnums;
|
|
3
|
+
export declare enum RenderTypes {
|
|
4
|
+
HTML = "html",
|
|
5
|
+
SVG = "svg"
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* enum of all supported chart themes
|
|
9
|
+
*/
|
|
10
|
+
export declare enum ChartTheme {
|
|
11
|
+
WHITE = "white",
|
|
12
|
+
G100 = "g100",
|
|
13
|
+
G90 = "g90",
|
|
14
|
+
G10 = "g10"
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* enum of all color classname types
|
|
18
|
+
*/
|
|
19
|
+
export declare enum ColorClassNameTypes {
|
|
20
|
+
BACKGROUND = "background",
|
|
21
|
+
FILL = "fill",
|
|
22
|
+
STROKE = "stroke",
|
|
23
|
+
TOOLTIP = "tooltip"
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* enum of all possible axis positions
|
|
27
|
+
*/
|
|
28
|
+
export declare enum AxisPositions {
|
|
29
|
+
LEFT = "left",
|
|
30
|
+
RIGHT = "right",
|
|
31
|
+
TOP = "top",
|
|
32
|
+
BOTTOM = "bottom"
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* enum of all possible axis positions
|
|
36
|
+
*/
|
|
37
|
+
export declare enum ZoomBarTypes {
|
|
38
|
+
GRAPH_VIEW = "graph_view",
|
|
39
|
+
SLIDER_VIEW = "slider_view"
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* enum of all possible truncation types
|
|
43
|
+
*/
|
|
44
|
+
export declare enum TruncationTypes {
|
|
45
|
+
END_LINE = "end_line",
|
|
46
|
+
MID_LINE = "mid_line",
|
|
47
|
+
FRONT_LINE = "front_line",
|
|
48
|
+
NONE = "none"
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* enum of all possible cartesian orientations
|
|
52
|
+
* to be used for determining the orientation
|
|
53
|
+
* of graphs being draw over
|
|
54
|
+
* cartesian scales
|
|
55
|
+
*/
|
|
56
|
+
export declare enum CartesianOrientations {
|
|
57
|
+
VERTICAL = "vertical",
|
|
58
|
+
HORIZONTAL = "horizontal"
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* enum of all possible scale types
|
|
62
|
+
*/
|
|
63
|
+
export declare enum ScaleTypes {
|
|
64
|
+
TIME = "time",
|
|
65
|
+
LINEAR = "linear",
|
|
66
|
+
LOG = "log",
|
|
67
|
+
LABELS = "labels",
|
|
68
|
+
LABELS_RATIO = "labels-ratio"
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* enum of all possible legend positions
|
|
72
|
+
*/
|
|
73
|
+
export declare enum LegendPositions {
|
|
74
|
+
RIGHT = "right",
|
|
75
|
+
LEFT = "left",
|
|
76
|
+
TOP = "top",
|
|
77
|
+
BOTTOM = "bottom"
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* enum of all possible alignments
|
|
81
|
+
*/
|
|
82
|
+
export declare enum Alignments {
|
|
83
|
+
LEFT = "left",
|
|
84
|
+
CENTER = "center",
|
|
85
|
+
RIGHT = "right"
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* enum of all possible legend orientations
|
|
89
|
+
*/
|
|
90
|
+
export declare enum LegendOrientations {
|
|
91
|
+
HORIZONTAL = "horizontal",
|
|
92
|
+
VERTICAL = "vertical"
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* enum of tree types for the tree chart
|
|
96
|
+
*/
|
|
97
|
+
export declare enum TreeTypes {
|
|
98
|
+
TREE = "tree",
|
|
99
|
+
DENDROGRAM = "dendrogram"
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* enum of all possible layout directions
|
|
103
|
+
*/
|
|
104
|
+
export declare enum LayoutDirection {
|
|
105
|
+
ROW = "row",
|
|
106
|
+
COLUMN = "column",
|
|
107
|
+
ROW_REVERSE = "row-reverse",
|
|
108
|
+
COLUMN_REVERSE = "column-reverse"
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* enum of all possible layout growth values
|
|
112
|
+
*/
|
|
113
|
+
export declare enum LayoutGrowth {
|
|
114
|
+
FIXED = "fixed",
|
|
115
|
+
PREFERRED = "preferred",
|
|
116
|
+
STRETCH = "stretch"
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* enum of all possible layout align-items values
|
|
120
|
+
*/
|
|
121
|
+
export declare enum LayoutAlignItems {
|
|
122
|
+
CENTER = "center"
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* enum of all possible callout directions
|
|
126
|
+
*/
|
|
127
|
+
export declare enum CalloutDirections {
|
|
128
|
+
LEFT = "left",
|
|
129
|
+
RIGHT = "right"
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* enum of all possible skeleton/empty state types
|
|
133
|
+
*/
|
|
134
|
+
export declare enum Skeletons {
|
|
135
|
+
GRID = "grid",
|
|
136
|
+
VERT_OR_HORIZ = "vertOrHoriz",
|
|
137
|
+
PIE = "pie",
|
|
138
|
+
DONUT = "donut"
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* enum of all possible attributes used to aling text horizontally
|
|
142
|
+
*/
|
|
143
|
+
export declare enum TextAnchor {
|
|
144
|
+
START = "start",
|
|
145
|
+
MIDDLE = "middle",
|
|
146
|
+
END = "end"
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* enum of all possible attributes used to aling text vertically
|
|
150
|
+
*/
|
|
151
|
+
export declare enum DominantBaseline {
|
|
152
|
+
BASELINE = "baseline",
|
|
153
|
+
MIDDLE = "middle",
|
|
154
|
+
HANGING = "hanging"
|
|
155
|
+
}
|
|
156
|
+
export declare enum GaugeTypes {
|
|
157
|
+
SEMI = "semi",
|
|
158
|
+
FULL = "full"
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* enum of all possible callout directions
|
|
162
|
+
*/
|
|
163
|
+
export declare enum ArrowDirections {
|
|
164
|
+
UP = "up",
|
|
165
|
+
DOWN = "down"
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* enum of carbon statuses
|
|
169
|
+
*/
|
|
170
|
+
export declare enum Statuses {
|
|
171
|
+
SUCCESS = "success",
|
|
172
|
+
WARNING = "warning",
|
|
173
|
+
DANGER = "danger"
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* enum of axis ticks rotation
|
|
177
|
+
*/
|
|
178
|
+
export declare enum TickRotations {
|
|
179
|
+
ALWAYS = "always",
|
|
180
|
+
AUTO = "auto",
|
|
181
|
+
NEVER = "never"
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* enum of chartTypes that work with combo chart
|
|
185
|
+
*/
|
|
186
|
+
export declare enum ChartTypes {
|
|
187
|
+
SCATTER = "scatter",
|
|
188
|
+
LINE = "line",
|
|
189
|
+
SIMPLE_BAR = "simple-bar",
|
|
190
|
+
STACKED_BAR = "stacked-bar",
|
|
191
|
+
GROUPED_BAR = "grouped-bar",
|
|
192
|
+
AREA = "area",
|
|
193
|
+
STACKED_AREA = "stacked-area"
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* enum of supported toolbar control types
|
|
197
|
+
*/
|
|
198
|
+
export declare enum ToolbarControlTypes {
|
|
199
|
+
EXPORT_CSV = "Export as CSV",
|
|
200
|
+
EXPORT_PNG = "Export as PNG",
|
|
201
|
+
EXPORT_JPG = "Export as JPG",
|
|
202
|
+
ZOOM_IN = "Zoom in",
|
|
203
|
+
ZOOM_OUT = "Zoom out",
|
|
204
|
+
RESET_ZOOM = "Reset zoom",
|
|
205
|
+
MAKE_FULLSCREEN = "Make fullscreen",
|
|
206
|
+
SHOW_AS_DATATABLE = "Show as data-table",
|
|
207
|
+
CUSTOM = "Custom"
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* enum of title orientations for _vertical axes_
|
|
211
|
+
*/
|
|
212
|
+
export declare enum AxisTitleOrientations {
|
|
213
|
+
LEFT = "left",
|
|
214
|
+
RIGHT = "right"
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* enum of legend item type
|
|
218
|
+
*/
|
|
219
|
+
export declare enum LegendItemType {
|
|
220
|
+
CHECKBOX = "checkbox",
|
|
221
|
+
RADIUS = "radius",
|
|
222
|
+
AREA = "area",
|
|
223
|
+
SIZE = "size",
|
|
224
|
+
LINE = "line",
|
|
225
|
+
QUARTILE = "quartile",
|
|
226
|
+
ZOOM = "zoom"
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* enum of color legend types
|
|
230
|
+
*/
|
|
231
|
+
export declare enum ColorLegendType {
|
|
232
|
+
LINEAR = "linear",
|
|
233
|
+
QUANTIZE = "quantize"
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* enum of divider status for heatmap
|
|
237
|
+
*/
|
|
238
|
+
export declare enum DividerStatus {
|
|
239
|
+
ON = "on",
|
|
240
|
+
AUTO = "auto",
|
|
241
|
+
OFF = "off"
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* enum of axis flavor
|
|
245
|
+
*/
|
|
246
|
+
export declare enum AxisFlavor {
|
|
247
|
+
DEFAULT = "default",
|
|
248
|
+
HOVERABLE = "hoverable"
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* enum of supported projection types
|
|
252
|
+
*/
|
|
253
|
+
export declare enum Projection {
|
|
254
|
+
geoEqualEarth = "geoEqualEarth",
|
|
255
|
+
geoAlbers = "geoAlbers",
|
|
256
|
+
geoConicEqualArea = "geoConicEqualArea",
|
|
257
|
+
geoConicEquidistant = "geoConicEquidistant",
|
|
258
|
+
geoEquirectangular = "geoEquirectangular",
|
|
259
|
+
geoMercator = "geoMercator",
|
|
260
|
+
geoNaturalEarth1 = "geoNaturalEarth1"
|
|
261
|
+
}
|