@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,37 +1,37 @@
|
|
|
1
|
-
declare const arrowLeft: {
|
|
2
|
-
d: string;
|
|
3
|
-
height: number;
|
|
4
|
-
width: number;
|
|
5
|
-
id: string;
|
|
6
|
-
};
|
|
7
|
-
declare const arrowRight: {
|
|
8
|
-
d: string;
|
|
9
|
-
height: number;
|
|
10
|
-
width: number;
|
|
11
|
-
id: string;
|
|
12
|
-
};
|
|
13
|
-
declare const circle: {
|
|
14
|
-
d: string;
|
|
15
|
-
height: number;
|
|
16
|
-
width: number;
|
|
17
|
-
id: string;
|
|
18
|
-
};
|
|
19
|
-
declare const diamond: {
|
|
20
|
-
d: string;
|
|
21
|
-
height: number;
|
|
22
|
-
width: number;
|
|
23
|
-
id: string;
|
|
24
|
-
};
|
|
25
|
-
declare const square: {
|
|
26
|
-
d: string;
|
|
27
|
-
height: number;
|
|
28
|
-
width: number;
|
|
29
|
-
id: string;
|
|
30
|
-
};
|
|
31
|
-
declare const tee: {
|
|
32
|
-
d: string;
|
|
33
|
-
height: number;
|
|
34
|
-
width: number;
|
|
35
|
-
id: string;
|
|
36
|
-
};
|
|
37
|
-
export { arrowLeft, arrowRight, square, diamond, circle, tee };
|
|
1
|
+
declare const arrowLeft: {
|
|
2
|
+
d: string;
|
|
3
|
+
height: number;
|
|
4
|
+
width: number;
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
declare const arrowRight: {
|
|
8
|
+
d: string;
|
|
9
|
+
height: number;
|
|
10
|
+
width: number;
|
|
11
|
+
id: string;
|
|
12
|
+
};
|
|
13
|
+
declare const circle: {
|
|
14
|
+
d: string;
|
|
15
|
+
height: number;
|
|
16
|
+
width: number;
|
|
17
|
+
id: string;
|
|
18
|
+
};
|
|
19
|
+
declare const diamond: {
|
|
20
|
+
d: string;
|
|
21
|
+
height: number;
|
|
22
|
+
width: number;
|
|
23
|
+
id: string;
|
|
24
|
+
};
|
|
25
|
+
declare const square: {
|
|
26
|
+
d: string;
|
|
27
|
+
height: number;
|
|
28
|
+
width: number;
|
|
29
|
+
id: string;
|
|
30
|
+
};
|
|
31
|
+
declare const tee: {
|
|
32
|
+
d: string;
|
|
33
|
+
height: number;
|
|
34
|
+
width: number;
|
|
35
|
+
id: string;
|
|
36
|
+
};
|
|
37
|
+
export { arrowLeft, arrowRight, square, diamond, circle, tee };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ChartClip } from '../../components/axes/chart-clip';
|
|
2
|
-
export declare class CanvasChartClip extends ChartClip {
|
|
3
|
-
type: string;
|
|
4
|
-
chartClipId: string;
|
|
5
|
-
createClipPath(): void;
|
|
6
|
-
}
|
|
1
|
+
import { ChartClip } from '../../components/axes/chart-clip';
|
|
2
|
+
export declare class CanvasChartClip extends ChartClip {
|
|
3
|
+
type: string;
|
|
4
|
+
chartClipId: string;
|
|
5
|
+
createClipPath(): void;
|
|
6
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { RenderTypes } from '../../interfaces/enums';
|
|
2
|
-
import { Legend } from './legend';
|
|
3
|
-
import
|
|
4
|
-
export declare class ColorScaleLegend extends Legend {
|
|
5
|
-
type: string;
|
|
6
|
-
renderType: RenderTypes;
|
|
7
|
-
private gradient_id;
|
|
8
|
-
private chartType;
|
|
9
|
-
constructor(model: ChartModel, services: any, configs?: any);
|
|
10
|
-
init(): void;
|
|
11
|
-
handleAxisCompleteEvent: () => void;
|
|
12
|
-
render(animate?: boolean): void;
|
|
13
|
-
drawLinear(colorPairing: any, legendGroupElement: any, barWidth: any): void;
|
|
14
|
-
/**
|
|
15
|
-
* Renders quantized legend
|
|
16
|
-
* @returns number (range start)
|
|
17
|
-
*/
|
|
18
|
-
drawQuantize(colorPairing: any, colorScheme: any, customColorsEnabled: any, legendGroupElement: any, barWidth: any): number;
|
|
19
|
-
destroy(): void;
|
|
20
|
-
}
|
|
1
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
2
|
+
import { Legend } from './legend';
|
|
3
|
+
import { ChartModel } from '../../model';
|
|
4
|
+
export declare class ColorScaleLegend extends Legend {
|
|
5
|
+
type: string;
|
|
6
|
+
renderType: RenderTypes;
|
|
7
|
+
private gradient_id;
|
|
8
|
+
private chartType;
|
|
9
|
+
constructor(model: ChartModel, services: any, configs?: any);
|
|
10
|
+
init(): void;
|
|
11
|
+
handleAxisCompleteEvent: () => void;
|
|
12
|
+
render(animate?: boolean): void;
|
|
13
|
+
drawLinear(colorPairing: any, legendGroupElement: any, barWidth: any): void;
|
|
14
|
+
/**
|
|
15
|
+
* Renders quantized legend
|
|
16
|
+
* @returns number (range start)
|
|
17
|
+
*/
|
|
18
|
+
drawQuantize(colorPairing: any, colorScheme: any, customColorsEnabled: any, legendGroupElement: any, barWidth: any): number;
|
|
19
|
+
destroy(): void;
|
|
20
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Component } from '../../components';
|
|
2
|
-
import { RenderTypes } from '../../interfaces/enums';
|
|
3
|
-
export declare class GeoProjection extends Component {
|
|
4
|
-
type: string;
|
|
5
|
-
renderType: RenderTypes;
|
|
6
|
-
render(): void;
|
|
7
|
-
/**
|
|
8
|
-
* @info
|
|
9
|
-
* Depending on projection, we may need to provide additional configuration
|
|
10
|
-
* e.g. sizing
|
|
11
|
-
*
|
|
12
|
-
* In such case, function can be refactored so that
|
|
13
|
-
* projection should return an object with the configuraiton & function
|
|
14
|
-
*/
|
|
15
|
-
getProjection(): any;
|
|
16
|
-
}
|
|
1
|
+
import { Component } from '../../components';
|
|
2
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
3
|
+
export declare class GeoProjection extends Component {
|
|
4
|
+
type: string;
|
|
5
|
+
renderType: RenderTypes;
|
|
6
|
+
render(): void;
|
|
7
|
+
/**
|
|
8
|
+
* @info
|
|
9
|
+
* Depending on projection, we may need to provide additional configuration
|
|
10
|
+
* e.g. sizing
|
|
11
|
+
*
|
|
12
|
+
* In such case, function can be refactored so that
|
|
13
|
+
* projection should return an object with the configuraiton & function
|
|
14
|
+
*/
|
|
15
|
+
getProjection(): any;
|
|
16
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import Position from '@carbon/utils-position';
|
|
2
|
-
import { Component } from '../../components/component';
|
|
3
|
-
import
|
|
4
|
-
import { RenderTypes } from '../../interfaces/enums';
|
|
5
|
-
export declare class Highlight extends Component {
|
|
6
|
-
type: string;
|
|
7
|
-
renderType: RenderTypes;
|
|
8
|
-
label: any;
|
|
9
|
-
positionService: Position;
|
|
10
|
-
highlightStrokeWidth: number;
|
|
11
|
-
constructor(model: ChartModel, services: any);
|
|
12
|
-
render(animate?: boolean): void;
|
|
13
|
-
}
|
|
1
|
+
import Position from '@carbon/utils-position';
|
|
2
|
+
import { Component } from '../../components/component';
|
|
3
|
+
import { ChartModel } from '../../model/model';
|
|
4
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
5
|
+
export declare class Highlight extends Component {
|
|
6
|
+
type: string;
|
|
7
|
+
renderType: RenderTypes;
|
|
8
|
+
label: any;
|
|
9
|
+
positionService: Position;
|
|
10
|
+
highlightStrokeWidth: number;
|
|
11
|
+
constructor(model: ChartModel, services: any);
|
|
12
|
+
render(animate?: boolean): void;
|
|
13
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { AxisChartsTooltip } from './tooltip-axis';
|
|
2
|
-
export { CanvasChartClip } from './canvas-chart-clip';
|
|
3
|
-
export { ColorScaleLegend } from './color-scale-legend';
|
|
4
|
-
export { GeoProjection } from './geo-projection';
|
|
5
|
-
export { Highlight } from './highlights';
|
|
6
|
-
export { Legend } from './legend';
|
|
7
|
-
export { MeterTitle } from './title-meter';
|
|
8
|
-
export { Modal } from './modal';
|
|
9
|
-
export { Threshold } from './threshold';
|
|
10
|
-
export { Title } from './title';
|
|
11
|
-
export { Tooltip } from './tooltip';
|
|
1
|
+
export { AxisChartsTooltip } from './tooltip-axis';
|
|
2
|
+
export { CanvasChartClip } from './canvas-chart-clip';
|
|
3
|
+
export { ColorScaleLegend } from './color-scale-legend';
|
|
4
|
+
export { GeoProjection } from './geo-projection';
|
|
5
|
+
export { Highlight } from './highlights';
|
|
6
|
+
export { Legend } from './legend';
|
|
7
|
+
export { MeterTitle } from './title-meter';
|
|
8
|
+
export { Modal } from './modal';
|
|
9
|
+
export { Threshold } from './threshold';
|
|
10
|
+
export { Title } from './title';
|
|
11
|
+
export { Tooltip } from './tooltip';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Component } from '../../components/component';
|
|
2
|
-
import { RenderTypes } from '../../interfaces/enums';
|
|
3
|
-
export declare class Legend extends Component {
|
|
4
|
-
type: string;
|
|
5
|
-
renderType: RenderTypes;
|
|
6
|
-
render(animate?: boolean): void;
|
|
7
|
-
sortDataGroups(dataGroups: any, legendOrder: any): any;
|
|
8
|
-
addAdditionalItem(additionalItem: any, itemConfig: any, indexOfItem: any): void;
|
|
9
|
-
truncateLegendText(): void;
|
|
10
|
-
addEventListeners(): void;
|
|
11
|
-
}
|
|
1
|
+
import { Component } from '../../components/component';
|
|
2
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
3
|
+
export declare class Legend extends Component {
|
|
4
|
+
type: string;
|
|
5
|
+
renderType: RenderTypes;
|
|
6
|
+
render(animate?: boolean): void;
|
|
7
|
+
sortDataGroups(dataGroups: any, legendOrder: any): any;
|
|
8
|
+
addAdditionalItem(additionalItem: any, itemConfig: any, indexOfItem: any): void;
|
|
9
|
+
truncateLegendText(): void;
|
|
10
|
+
addEventListeners(): void;
|
|
11
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Component } from '../../components/component';
|
|
2
|
-
import
|
|
3
|
-
export declare class Modal extends Component {
|
|
4
|
-
type: string;
|
|
5
|
-
isEventListenerAdded: boolean;
|
|
6
|
-
modal: any;
|
|
7
|
-
constructor(model: ChartModel, services: any, configs?: any);
|
|
8
|
-
handleShowModal: () => void;
|
|
9
|
-
addEventListeners(): void;
|
|
10
|
-
removeEventListeners(): void;
|
|
11
|
-
getModalHTML(): string;
|
|
12
|
-
render(animate?: boolean): void;
|
|
13
|
-
destroy(): void;
|
|
14
|
-
}
|
|
1
|
+
import { Component } from '../../components/component';
|
|
2
|
+
import { ChartModel } from '../../model/model';
|
|
3
|
+
export declare class Modal extends Component {
|
|
4
|
+
type: string;
|
|
5
|
+
isEventListenerAdded: boolean;
|
|
6
|
+
modal: any;
|
|
7
|
+
constructor(model: ChartModel, services: any, configs?: any);
|
|
8
|
+
handleShowModal: () => void;
|
|
9
|
+
addEventListeners(): void;
|
|
10
|
+
removeEventListeners(): void;
|
|
11
|
+
getModalHTML(): string;
|
|
12
|
+
render(animate?: boolean): void;
|
|
13
|
+
destroy(): void;
|
|
14
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import Position from '@carbon/utils-position';
|
|
2
|
-
import { Component } from '../../components/component';
|
|
3
|
-
import
|
|
4
|
-
import { RenderTypes } from '../../interfaces/enums';
|
|
5
|
-
export declare class Threshold extends Component {
|
|
6
|
-
type: string;
|
|
7
|
-
renderType: RenderTypes;
|
|
8
|
-
label: any;
|
|
9
|
-
positionService: Position;
|
|
10
|
-
constructor(model: ChartModel, services: any);
|
|
11
|
-
render(animate?: boolean): void;
|
|
12
|
-
getFormattedValue(datum: any): any;
|
|
13
|
-
appendThresholdLabel(): void;
|
|
14
|
-
setThresholdLabelPosition({ event, datum }: {
|
|
15
|
-
event: CustomEvent;
|
|
16
|
-
datum: any;
|
|
17
|
-
}): void;
|
|
18
|
-
constructDatumObj(d: any, element: any): any;
|
|
19
|
-
addEventListeners(): void;
|
|
20
|
-
}
|
|
1
|
+
import Position from '@carbon/utils-position';
|
|
2
|
+
import { Component } from '../../components/component';
|
|
3
|
+
import { ChartModel } from '../../model/model';
|
|
4
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
5
|
+
export declare class Threshold extends Component {
|
|
6
|
+
type: string;
|
|
7
|
+
renderType: RenderTypes;
|
|
8
|
+
label: any;
|
|
9
|
+
positionService: Position;
|
|
10
|
+
constructor(model: ChartModel, services: any);
|
|
11
|
+
render(animate?: boolean): void;
|
|
12
|
+
getFormattedValue(datum: any): any;
|
|
13
|
+
appendThresholdLabel(): void;
|
|
14
|
+
setThresholdLabelPosition({ event, datum }: {
|
|
15
|
+
event: CustomEvent;
|
|
16
|
+
datum: any;
|
|
17
|
+
}): void;
|
|
18
|
+
constructDatumObj(d: any, element: any): any;
|
|
19
|
+
addEventListeners(): void;
|
|
20
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { Title } from './title';
|
|
2
|
-
import { RenderTypes, Statuses } from '../../interfaces/enums';
|
|
3
|
-
export declare class MeterTitle extends Title {
|
|
4
|
-
type: string;
|
|
5
|
-
renderType: RenderTypes;
|
|
6
|
-
render(animate?: boolean): void;
|
|
7
|
-
displayBreakdownTitle(): void;
|
|
8
|
-
displayTotal(): void;
|
|
9
|
-
/**
|
|
10
|
-
* Appends the corresponding status based on the value and the peak.
|
|
11
|
-
*/
|
|
12
|
-
displayStatus(): void;
|
|
13
|
-
/**
|
|
14
|
-
* Appends the associated percentage to the end of the title
|
|
15
|
-
*/
|
|
16
|
-
appendPercentage(): void;
|
|
17
|
-
/**
|
|
18
|
-
* Uses the parent class truncate logic
|
|
19
|
-
* @param title d3 selection of title element that will be truncated
|
|
20
|
-
* @param titlestring the original string that needs truncation
|
|
21
|
-
* @param maxWidth the max width the title can take
|
|
22
|
-
*/
|
|
23
|
-
truncateTitle(title: any, maxWidth: number): void;
|
|
24
|
-
protected getMaxTitleWidth(): number;
|
|
25
|
-
/**
|
|
26
|
-
* Get the associated status icon for the data
|
|
27
|
-
* @param status the active status for the meter chart
|
|
28
|
-
*/
|
|
29
|
-
protected getStatusIconPathString(status: Statuses): "M6.875 11.3125 3.75 8.1875 4.74375 7.25 6.875 9.34375 11.50625 4.75 12.5 5.7375 Z" | "M10.7 11.5 4.5 5.3 5.3 4.5 11.5 10.7 Z" | "M7.9375,11.125 C7.41973305,11.125 7,11.544733 7,12.0625 C7,12.580267 7.41973305,13 7.9375,13 C8.45526695,13 8.875,12.580267 8.875,12.0625 C8.875,11.544733 8.45526695,11.125 7.9375,11.125 M7.3125, 3 8.5625, 3 8.5625, 9.875 7.3125, 9.875, 7.3125, 3 Z";
|
|
30
|
-
}
|
|
1
|
+
import { Title } from './title';
|
|
2
|
+
import { RenderTypes, Statuses } from '../../interfaces/enums';
|
|
3
|
+
export declare class MeterTitle extends Title {
|
|
4
|
+
type: string;
|
|
5
|
+
renderType: RenderTypes;
|
|
6
|
+
render(animate?: boolean): void;
|
|
7
|
+
displayBreakdownTitle(): void;
|
|
8
|
+
displayTotal(): void;
|
|
9
|
+
/**
|
|
10
|
+
* Appends the corresponding status based on the value and the peak.
|
|
11
|
+
*/
|
|
12
|
+
displayStatus(): void;
|
|
13
|
+
/**
|
|
14
|
+
* Appends the associated percentage to the end of the title
|
|
15
|
+
*/
|
|
16
|
+
appendPercentage(): void;
|
|
17
|
+
/**
|
|
18
|
+
* Uses the parent class truncate logic
|
|
19
|
+
* @param title d3 selection of title element that will be truncated
|
|
20
|
+
* @param titlestring the original string that needs truncation
|
|
21
|
+
* @param maxWidth the max width the title can take
|
|
22
|
+
*/
|
|
23
|
+
truncateTitle(title: any, maxWidth: number): void;
|
|
24
|
+
protected getMaxTitleWidth(): number;
|
|
25
|
+
/**
|
|
26
|
+
* Get the associated status icon for the data
|
|
27
|
+
* @param status the active status for the meter chart
|
|
28
|
+
*/
|
|
29
|
+
protected getStatusIconPathString(status: Statuses): "M6.875 11.3125 3.75 8.1875 4.74375 7.25 6.875 9.34375 11.50625 4.75 12.5 5.7375 Z" | "M10.7 11.5 4.5 5.3 5.3 4.5 11.5 10.7 Z" | "M7.9375,11.125 C7.41973305,11.125 7,11.544733 7,12.0625 C7,12.580267 7.41973305,13 7.9375,13 C8.45526695,13 8.875,12.580267 8.875,12.0625 C8.875,11.544733 8.45526695,11.125 7.9375,11.125 M7.3125, 3 8.5625, 3 8.5625, 9.875 7.3125, 9.875, 7.3125, 3 Z";
|
|
30
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Component } from '../../components/component';
|
|
2
|
-
import { RenderTypes } from '../../interfaces/enums';
|
|
3
|
-
export declare class Title extends Component {
|
|
4
|
-
type: string;
|
|
5
|
-
renderType: RenderTypes;
|
|
6
|
-
render(animate?: boolean): void;
|
|
7
|
-
/**
|
|
8
|
-
* Truncates title creating ellipses and attaching tooltip for exposing full title.
|
|
9
|
-
*/
|
|
10
|
-
truncateTitle(title: any, maxWidth: number): void;
|
|
11
|
-
protected getMaxTitleWidth(): number;
|
|
12
|
-
/**
|
|
13
|
-
* Returns the index for a maximum length substring that is less than the width parameter.
|
|
14
|
-
* @param title the title node used for getting the text lengths of substrings
|
|
15
|
-
* @param start the start index for the binary search
|
|
16
|
-
* @param end the end index for the binary search
|
|
17
|
-
* @param width the width of the svg container that holds the title
|
|
18
|
-
*/
|
|
19
|
-
protected getSubstringIndex(title: any, start: number, end: number, width: number): number;
|
|
20
|
-
}
|
|
1
|
+
import { Component } from '../../components/component';
|
|
2
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
3
|
+
export declare class Title extends Component {
|
|
4
|
+
type: string;
|
|
5
|
+
renderType: RenderTypes;
|
|
6
|
+
render(animate?: boolean): void;
|
|
7
|
+
/**
|
|
8
|
+
* Truncates title creating ellipses and attaching tooltip for exposing full title.
|
|
9
|
+
*/
|
|
10
|
+
truncateTitle(title: any, maxWidth: number): void;
|
|
11
|
+
protected getMaxTitleWidth(): number;
|
|
12
|
+
/**
|
|
13
|
+
* Returns the index for a maximum length substring that is less than the width parameter.
|
|
14
|
+
* @param title the title node used for getting the text lengths of substrings
|
|
15
|
+
* @param start the start index for the binary search
|
|
16
|
+
* @param end the end index for the binary search
|
|
17
|
+
* @param width the width of the svg container that holds the title
|
|
18
|
+
*/
|
|
19
|
+
protected getSubstringIndex(title: any, start: number, end: number, width: number): number;
|
|
20
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Tooltip } from './tooltip';
|
|
2
|
-
export declare class AxisChartsTooltip extends Tooltip {
|
|
3
|
-
getItems(e: CustomEvent): any;
|
|
4
|
-
}
|
|
1
|
+
import { Tooltip } from './tooltip';
|
|
2
|
+
export declare class AxisChartsTooltip extends Tooltip {
|
|
3
|
+
getItems(e: CustomEvent): any;
|
|
4
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import Position from '@carbon/utils-position';
|
|
2
|
-
import { Component } from '../../components/component';
|
|
3
|
-
import
|
|
4
|
-
import { RenderTypes } from '../../interfaces/enums';
|
|
5
|
-
export declare class Tooltip extends Component {
|
|
6
|
-
type: string;
|
|
7
|
-
renderType: RenderTypes;
|
|
8
|
-
isEventListenerAdded: boolean;
|
|
9
|
-
tooltip: any;
|
|
10
|
-
positionService: Position;
|
|
11
|
-
constructor(model: ChartModel, services: any, configs?: any);
|
|
12
|
-
handleShowTooltip: (e: any) => void;
|
|
13
|
-
handleHideTooltip: () => void;
|
|
14
|
-
addTooltipEventListener(): void;
|
|
15
|
-
removeTooltipEventListener(): void;
|
|
16
|
-
getItems(e: CustomEvent): any;
|
|
17
|
-
formatItems(items: any): any;
|
|
18
|
-
getTooltipHTML(formattedItems: any): string;
|
|
19
|
-
valueFormatter(value: any, label: string): any;
|
|
20
|
-
render(animate?: boolean): void;
|
|
21
|
-
positionTooltip(e: CustomEvent): void;
|
|
22
|
-
}
|
|
1
|
+
import Position from '@carbon/utils-position';
|
|
2
|
+
import { Component } from '../../components/component';
|
|
3
|
+
import { ChartModel } from '../../model/model';
|
|
4
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
5
|
+
export declare class Tooltip extends Component {
|
|
6
|
+
type: string;
|
|
7
|
+
renderType: RenderTypes;
|
|
8
|
+
isEventListenerAdded: boolean;
|
|
9
|
+
tooltip: any;
|
|
10
|
+
positionService: Position;
|
|
11
|
+
constructor(model: ChartModel, services: any, configs?: any);
|
|
12
|
+
handleShowTooltip: (e: any) => void;
|
|
13
|
+
handleHideTooltip: () => void;
|
|
14
|
+
addTooltipEventListener(): void;
|
|
15
|
+
removeTooltipEventListener(): void;
|
|
16
|
+
getItems(e: CustomEvent): any;
|
|
17
|
+
formatItems(items: any): any;
|
|
18
|
+
getTooltipHTML(formattedItems: any): string;
|
|
19
|
+
valueFormatter(value: any, label: string): any;
|
|
20
|
+
render(animate?: boolean): void;
|
|
21
|
+
positionTooltip(e: CustomEvent): void;
|
|
22
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Component } from '../../components/component';
|
|
2
|
-
import { RenderTypes } from '../../interfaces/enums';
|
|
3
|
-
export declare class Alluvial extends Component {
|
|
4
|
-
type: string;
|
|
5
|
-
renderType: RenderTypes;
|
|
6
|
-
private graph;
|
|
7
|
-
gradient_id: string;
|
|
8
|
-
render(animate?: boolean): void;
|
|
9
|
-
addLineEventListener(): void;
|
|
10
|
-
addNodeEventListener(): void;
|
|
11
|
-
private traverse;
|
|
12
|
-
getRightArrowIcon(): string;
|
|
13
|
-
destroy(): void;
|
|
14
|
-
}
|
|
1
|
+
import { Component } from '../../components/component';
|
|
2
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
3
|
+
export declare class Alluvial extends Component {
|
|
4
|
+
type: string;
|
|
5
|
+
renderType: RenderTypes;
|
|
6
|
+
private graph;
|
|
7
|
+
gradient_id: string;
|
|
8
|
+
render(animate?: boolean): void;
|
|
9
|
+
addLineEventListener(): void;
|
|
10
|
+
addNodeEventListener(): void;
|
|
11
|
+
private traverse;
|
|
12
|
+
getRightArrowIcon(): string;
|
|
13
|
+
destroy(): void;
|
|
14
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Component } from '../../components/component';
|
|
2
|
-
import { RenderTypes } from '../../interfaces/enums';
|
|
3
|
-
export declare class StackedArea extends Component {
|
|
4
|
-
type: string;
|
|
5
|
-
renderType: RenderTypes;
|
|
6
|
-
areaGenerator: any;
|
|
7
|
-
init(): void;
|
|
8
|
-
render(animate?: boolean): void;
|
|
9
|
-
handleLegendOnHover: (event: CustomEvent) => void;
|
|
10
|
-
handleLegendMouseOut: () => void;
|
|
11
|
-
}
|
|
1
|
+
import { Component } from '../../components/component';
|
|
2
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
3
|
+
export declare class StackedArea extends Component {
|
|
4
|
+
type: string;
|
|
5
|
+
renderType: RenderTypes;
|
|
6
|
+
areaGenerator: any;
|
|
7
|
+
init(): void;
|
|
8
|
+
render(animate?: boolean): void;
|
|
9
|
+
handleLegendOnHover: (event: CustomEvent) => void;
|
|
10
|
+
handleLegendMouseOut: () => void;
|
|
11
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Component } from '../../components/component';
|
|
2
|
-
import { RenderTypes } from '../../interfaces/enums';
|
|
3
|
-
export declare class Area extends Component {
|
|
4
|
-
type: string;
|
|
5
|
-
renderType: RenderTypes;
|
|
6
|
-
gradient_id: string;
|
|
7
|
-
init(): void;
|
|
8
|
-
render(animate?: boolean): void;
|
|
9
|
-
handleLegendOnHover: (event: CustomEvent) => void;
|
|
10
|
-
handleLegendMouseOut: () => void;
|
|
11
|
-
destroy(): void;
|
|
12
|
-
}
|
|
1
|
+
import { Component } from '../../components/component';
|
|
2
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
3
|
+
export declare class Area extends Component {
|
|
4
|
+
type: string;
|
|
5
|
+
renderType: RenderTypes;
|
|
6
|
+
gradient_id: string;
|
|
7
|
+
init(): void;
|
|
8
|
+
render(animate?: boolean): void;
|
|
9
|
+
handleLegendOnHover: (event: CustomEvent) => void;
|
|
10
|
+
handleLegendMouseOut: () => void;
|
|
11
|
+
destroy(): void;
|
|
12
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { ScaleBand } from 'd3';
|
|
2
|
-
import { Bar } from './bar';
|
|
3
|
-
import { RenderTypes } from '../../interfaces/enums';
|
|
4
|
-
export declare class GroupedBar extends Bar {
|
|
5
|
-
type: string;
|
|
6
|
-
renderType: RenderTypes;
|
|
7
|
-
groupScale: ScaleBand<any>;
|
|
8
|
-
padding: number;
|
|
9
|
-
readonly defaultStepFactor = 70;
|
|
10
|
-
init(): void;
|
|
11
|
-
render(animate: boolean): void;
|
|
12
|
-
handleLegendOnHover: (event: CustomEvent) => void;
|
|
13
|
-
handleLegendMouseOut: () => void;
|
|
14
|
-
addEventListeners(): void;
|
|
15
|
-
destroy(): void;
|
|
16
|
-
protected getDataCorrespondingToLabel(label: string): any;
|
|
17
|
-
protected getGroupWidth(): number;
|
|
18
|
-
protected getDomainScaleStep(): number;
|
|
19
|
-
protected getTotalGroupPadding(): number;
|
|
20
|
-
protected getBarWidth(): any;
|
|
21
|
-
protected setGroupScale(): void;
|
|
22
|
-
}
|
|
1
|
+
import { ScaleBand } from 'd3';
|
|
2
|
+
import { Bar } from './bar';
|
|
3
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
4
|
+
export declare class GroupedBar extends Bar {
|
|
5
|
+
type: string;
|
|
6
|
+
renderType: RenderTypes;
|
|
7
|
+
groupScale: ScaleBand<any>;
|
|
8
|
+
padding: number;
|
|
9
|
+
readonly defaultStepFactor = 70;
|
|
10
|
+
init(): void;
|
|
11
|
+
render(animate: boolean): void;
|
|
12
|
+
handleLegendOnHover: (event: CustomEvent) => void;
|
|
13
|
+
handleLegendMouseOut: () => void;
|
|
14
|
+
addEventListeners(): void;
|
|
15
|
+
destroy(): void;
|
|
16
|
+
protected getDataCorrespondingToLabel(label: string): any;
|
|
17
|
+
protected getGroupWidth(): number;
|
|
18
|
+
protected getDomainScaleStep(): number;
|
|
19
|
+
protected getTotalGroupPadding(): number;
|
|
20
|
+
protected getBarWidth(): any;
|
|
21
|
+
protected setGroupScale(): void;
|
|
22
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Bar } from './bar';
|
|
2
|
-
import { RenderTypes } from '../../interfaces/enums';
|
|
3
|
-
export declare class SimpleBar extends Bar {
|
|
4
|
-
type: string;
|
|
5
|
-
renderType: RenderTypes;
|
|
6
|
-
init(): void;
|
|
7
|
-
render(animate: boolean): void;
|
|
8
|
-
handleLegendOnHover: (event: CustomEvent) => void;
|
|
9
|
-
handleLegendMouseOut: () => void;
|
|
10
|
-
addEventListeners(): void;
|
|
11
|
-
destroy(): void;
|
|
12
|
-
}
|
|
1
|
+
import { Bar } from './bar';
|
|
2
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
3
|
+
export declare class SimpleBar extends Bar {
|
|
4
|
+
type: string;
|
|
5
|
+
renderType: RenderTypes;
|
|
6
|
+
init(): void;
|
|
7
|
+
render(animate: boolean): void;
|
|
8
|
+
handleLegendOnHover: (event: CustomEvent) => void;
|
|
9
|
+
handleLegendMouseOut: () => void;
|
|
10
|
+
addEventListeners(): void;
|
|
11
|
+
destroy(): void;
|
|
12
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Bar } from './bar';
|
|
2
|
-
import { RenderTypes } from '../../interfaces/enums';
|
|
3
|
-
export declare class StackedBar extends Bar {
|
|
4
|
-
type: string;
|
|
5
|
-
renderType: RenderTypes;
|
|
6
|
-
init(): void;
|
|
7
|
-
render(animate: boolean): void;
|
|
8
|
-
handleLegendOnHover: (event: CustomEvent) => void;
|
|
9
|
-
handleLegendMouseOut: () => void;
|
|
10
|
-
addEventListeners(): void;
|
|
11
|
-
protected getBarWidth(): number;
|
|
12
|
-
destroy(): void;
|
|
13
|
-
}
|
|
1
|
+
import { Bar } from './bar';
|
|
2
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
3
|
+
export declare class StackedBar extends Bar {
|
|
4
|
+
type: string;
|
|
5
|
+
renderType: RenderTypes;
|
|
6
|
+
init(): void;
|
|
7
|
+
render(animate: boolean): void;
|
|
8
|
+
handleLegendOnHover: (event: CustomEvent) => void;
|
|
9
|
+
handleLegendMouseOut: () => void;
|
|
10
|
+
addEventListeners(): void;
|
|
11
|
+
protected getBarWidth(): number;
|
|
12
|
+
destroy(): void;
|
|
13
|
+
}
|