@orbcharts/plugins-basic 3.0.0-alpha.30 → 3.0.0-alpha.32
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/orbcharts-plugins-basic.es.js +15995 -15706
- package/dist/orbcharts-plugins-basic.umd.js +8 -8
- package/dist/src/base/BaseBarStack.d.ts +29 -0
- package/dist/src/base/BaseBars.d.ts +29 -0
- package/dist/src/base/BaseBarsTriangle.d.ts +28 -0
- package/dist/src/base/BaseLegend.d.ts +17 -6
- package/dist/src/base/BaseLines.d.ts +27 -0
- package/dist/src/base/types.d.ts +2 -2
- package/dist/src/grid/defaults.d.ts +10 -10
- package/dist/src/grid/plugins/BarStack.d.ts +1 -3
- package/dist/src/grid/plugins/Bars.d.ts +1 -3
- package/dist/src/grid/plugins/BarsTriangle.d.ts +1 -3
- package/dist/src/grid/plugins/Lines.d.ts +1 -3
- package/dist/src/grid/types.d.ts +10 -2
- package/dist/src/index.d.ts +1 -0
- package/dist/src/multiGrid/defaults.d.ts +4 -0
- package/dist/src/multiGrid/index.d.ts +4 -0
- package/dist/src/multiGrid/plugins/BarsAndLines.d.ts +1 -0
- package/dist/src/multiGrid/plugins/MultiGridLegend.d.ts +1 -0
- package/dist/src/multiGrid/types.d.ts +24 -0
- package/dist/src/series/defaults.d.ts +2 -2
- package/dist/src/series/types.d.ts +10 -2
- package/package.json +2 -2
- package/src/base/BaseBarStack.ts +699 -0
- package/src/base/BaseBars.ts +639 -0
- package/src/base/BaseBarsTriangle.ts +626 -0
- package/src/base/BaseLegend.ts +50 -20
- package/src/base/BaseLines.ts +566 -0
- package/src/base/types.ts +2 -2
- package/src/grid/defaults.ts +10 -10
- package/src/grid/plugins/BarStack.ts +18 -645
- package/src/grid/plugins/Bars.ts +17 -588
- package/src/grid/plugins/BarsTriangle.ts +16 -579
- package/src/grid/plugins/Dots.ts +2 -2
- package/src/grid/plugins/GridLegend.ts +19 -1
- package/src/grid/plugins/GroupArea.ts +2 -2
- package/src/grid/plugins/GroupAxis.ts +2 -2
- package/src/grid/plugins/Lines.ts +15 -509
- package/src/grid/plugins/ScalingArea.ts +2 -2
- package/src/grid/plugins/ValueAxis.ts +2 -2
- package/src/grid/plugins/ValueStackAxis.ts +2 -2
- package/src/grid/types.ts +12 -2
- package/src/index.ts +1 -0
- package/src/multiGrid/defaults.ts +33 -0
- package/src/multiGrid/index.ts +4 -0
- package/src/multiGrid/plugins/BarsAndLines.ts +110 -0
- package/src/multiGrid/plugins/BarsTriangleAndLines.ts +0 -0
- package/src/multiGrid/plugins/DivergingValueAxes.ts +0 -0
- package/src/multiGrid/plugins/FirstGroupScaleAxis.ts +0 -0
- package/src/multiGrid/plugins/MultiGridLegend.ts +89 -0
- package/src/multiGrid/plugins/TwoValueScaleAxes.ts +0 -0
- package/src/multiGrid/types.ts +27 -0
- package/src/series/defaults.ts +2 -2
- package/src/series/plugins/Bubbles.ts +2 -2
- package/src/series/plugins/Pie.ts +2 -2
- package/src/series/plugins/SeriesLegend.ts +19 -1
- package/src/series/types.ts +12 -2
- /package/dist/src/multiGrid/plugins/{DivergingAxes.d.ts → BarStackAndLines.d.ts} +0 -0
- /package/dist/src/multiGrid/plugins/{TwoScaleAxes.d.ts → BarsTriangleAndLines.d.ts} +0 -0
- /package/dist/src/multiGrid/plugins/{TwoScales.d.ts → DivergingValueAxes.d.ts} +0 -0
- /package/{src/multiGrid/plugins/DivergingAxes.ts → dist/src/multiGrid/plugins/FirstGroupScaleAxis.d.ts} +0 -0
- /package/{src/multiGrid/plugins/TwoScaleAxes.ts → dist/src/multiGrid/plugins/TwoValueScaleAxes.d.ts} +0 -0
- /package/src/multiGrid/plugins/{TwoScales.ts → BarStackAndLines.ts} +0 -0
package/src/grid/defaults.ts
CHANGED
@@ -11,12 +11,12 @@ import type {
|
|
11
11
|
ScalingAreaParams,
|
12
12
|
GridLegendParams } from './types'
|
13
13
|
|
14
|
-
export const
|
14
|
+
export const DEFAULT_LINES_PARAMS: LinesParams = {
|
15
15
|
lineCurve: 'curveLinear',
|
16
16
|
lineWidth: 2
|
17
17
|
}
|
18
18
|
|
19
|
-
export const
|
19
|
+
export const DEFAULT_DOTS_PARAMS: DotsParams = {
|
20
20
|
radius: 4,
|
21
21
|
fillColorType: 'white',
|
22
22
|
strokeColorType: 'series',
|
@@ -24,7 +24,7 @@ export const DEFAULT_DOTS_PLUGIN_PARAMS: DotsParams = {
|
|
24
24
|
onlyShowHighlighted: false
|
25
25
|
}
|
26
26
|
|
27
|
-
export const
|
27
|
+
export const DEFAULT_GROUP_AREA_PARAMS: GroupAreaParams = {
|
28
28
|
showLine: true,
|
29
29
|
showLabel: true,
|
30
30
|
lineDashArray: '3, 3',
|
@@ -35,7 +35,7 @@ export const DEFAULT_GROUP_AREA_PLUGIN_PARAMS: GroupAreaParams = {
|
|
35
35
|
labelPadding: 24,
|
36
36
|
}
|
37
37
|
|
38
|
-
export const
|
38
|
+
export const DEFAULT_BARS_PARAMS: BarsParams = {
|
39
39
|
// barType: 'rect',
|
40
40
|
barWidth: 0,
|
41
41
|
barPadding: 1,
|
@@ -43,20 +43,20 @@ export const DEFAULT_BARS_PLUGIN_PARAMS: BarsParams = {
|
|
43
43
|
barRadius: false,
|
44
44
|
}
|
45
45
|
|
46
|
-
export const
|
46
|
+
export const DEFAULT_BAR_STACK_PARAMS: BarStackParams = {
|
47
47
|
barWidth: 0,
|
48
48
|
barGroupPadding: 10,
|
49
49
|
barRadius: false,
|
50
50
|
}
|
51
51
|
|
52
|
-
export const
|
52
|
+
export const DEFAULT_BARS_TRIANGLE_PARAMS: BarsTriangleParams = {
|
53
53
|
barWidth: 0,
|
54
54
|
barPadding: 1,
|
55
55
|
barGroupPadding: 20,
|
56
56
|
linearGradientOpacity: [1, 0]
|
57
57
|
}
|
58
58
|
|
59
|
-
export const
|
59
|
+
export const DEFAULT_GROUPING_AXIS_PARAMS: GroupAxisParams = {
|
60
60
|
// labelAnchor: 'start',
|
61
61
|
labelOffset: [0, 0],
|
62
62
|
labelColorType: 'primary',
|
@@ -72,7 +72,7 @@ export const DEFAULT_GROUPING_AXIS_PLUGIN_PARAMS: GroupAxisParams = {
|
|
72
72
|
tickTextColorType: 'primary'
|
73
73
|
}
|
74
74
|
|
75
|
-
export const
|
75
|
+
export const DEFAULT_VALUE_AXIS_PARAMS: ValueAxisParams = {
|
76
76
|
// labelAnchor: 'end',
|
77
77
|
labelOffset: [0, 0],
|
78
78
|
labelColorType: 'primary',
|
@@ -89,9 +89,9 @@ export const DEFAULT_VALUE_AXIS_PLUGIN_PARAMS: ValueAxisParams = {
|
|
89
89
|
tickTextColorType: 'primary'
|
90
90
|
}
|
91
91
|
|
92
|
-
export const
|
92
|
+
export const DEFAULT_VALUE_STACK_AXIS_PARAMS: ValueStackAxisParams = DEFAULT_VALUE_AXIS_PARAMS
|
93
93
|
|
94
|
-
export const
|
94
|
+
export const DEFAULT_SCALING_AREA_PARAMS: ScalingAreaParams = {
|
95
95
|
|
96
96
|
}
|
97
97
|
|