@orbcharts/presets-basic 3.0.0-alpha.27 → 3.0.0-alpha.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. package/LICENSE +200 -200
  2. package/dist/orbcharts-presets-basic.es.js +15 -3
  3. package/dist/orbcharts-presets-basic.umd.js +1 -1
  4. package/dist/vite.config.d.mts +2 -0
  5. package/package.json +44 -43
  6. package/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.ts +62 -62
  7. package/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.ts +59 -59
  8. package/src/grid/PRESET_BARS_ROUND.ts +46 -46
  9. package/src/grid/PRESET_BARS_THIN.ts +43 -43
  10. package/src/grid/PRESET_GRID_BASIC.ts +25 -25
  11. package/src/grid/PRESET_GRID_HORIZONTAL.ts +42 -42
  12. package/src/grid/PRESET_GRID_PN_SCALE.ts +33 -33
  13. package/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.ts +33 -30
  14. package/src/grid/PRESET_GRID_SEPARATE_SERIES.ts +38 -35
  15. package/src/grid/PRESET_LINES_BASIC.ts +44 -44
  16. package/src/grid/PRESET_LINES_CURVE.ts +47 -47
  17. package/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.ts +46 -46
  18. package/src/grid/PRESET_LINES_HORIZONTAL.ts +60 -60
  19. package/src/grid/PRESET_LINES_LOOSE_TICKS.ts +46 -46
  20. package/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.ts +49 -47
  21. package/src/grid/PRESET_LINES_WITH_SOLID_DOTS.ts +48 -48
  22. package/src/grid/PRESET_LINE_AREAS_BASIC.ts +54 -54
  23. package/src/grid/PRESET_LINE_AREAS_CURVE.ts +59 -59
  24. package/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.ts +58 -58
  25. package/src/grid/PRESET_LINE_AREAS_HORIZONTAL.ts +58 -58
  26. package/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.ts +56 -56
  27. package/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.ts +59 -57
  28. package/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.ts +61 -59
  29. package/src/grid/index.ts +22 -22
  30. package/src/index.ts +4 -4
  31. package/src/multiGrid/PRESET_MULTI_GRID_BASIC.ts +36 -36
  32. package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.ts +85 -85
  33. package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.ts +57 -57
  34. package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.ts +59 -59
  35. package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.ts +103 -103
  36. package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.ts +121 -121
  37. package/src/multiGrid/index.ts +6 -6
  38. package/src/params.ts +56 -56
  39. package/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.ts +19 -19
  40. package/src/series/PRESET_BUBBLES_SEPARATE_SERIES.ts +29 -29
  41. package/src/series/PRESET_PIE_DONUT.ts +23 -23
  42. package/src/series/PRESET_PIE_HALF_DONUT.ts +36 -36
  43. package/src/series/PRESET_PIE_WITH_INNER_LABELS.ts +24 -24
  44. package/src/series/PRESET_ROSE_SCALING_BY_RADIUS.ts +23 -23
  45. package/src/series/PRESET_SERIES_BASIC.ts +15 -15
  46. package/src/series/PRESET_SERIES_DESC.ts +15 -15
  47. package/src/series/PRESET_SERIES_SEPARATE_SERIES.ts +15 -15
  48. package/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.ts +16 -16
  49. package/src/series/PRESET_SERIES_SUM_SERIES.ts +15 -15
  50. package/src/series/index.ts +11 -11
  51. package/src/tree/PRESET_TREE_BASIC.ts +25 -25
  52. package/src/types.ts +241 -241
  53. package/{tsconfig.dev.json → tsconfig.base.json} +13 -17
  54. package/tsconfig.json +8 -13
  55. package/tsconfig.prod.json +2 -13
  56. package/vite.config.mjs +42 -0
  57. package/dist/vite.config.d.ts +0 -2
  58. package/vite.config.js +0 -45
@@ -1,57 +1,57 @@
1
- import type { PresetPartial } from '@orbcharts/core'
2
- import type {
3
- PresetMultiGridPluginParams,
4
- PresetNoneDataPluginParams
5
- } from '../types'
6
- import { ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
7
-
8
- type PresetMultiGridRoundPluginParams = Omit<PresetMultiGridPluginParams, 'MultiBarsTriangle'>
9
-
10
- export const PRESET_MULTI_GRID_ROUND_STYLE: PresetPartial<'multiGrid', PresetMultiGridRoundPluginParams
11
- & PresetNoneDataPluginParams> = {
12
- name: 'PRESET_MULTI_GRID_ROUND_STYLE',
13
- description: 'MultiGrid圓弧風格',
14
- chartParams: {
15
- padding: {
16
- top: 60,
17
- right: 60,
18
- bottom: 120,
19
- left: 60
20
- },
21
- highlightTarget: 'series'
22
- },
23
- allPluginParams: {
24
- ...ALL_PLUGIN_PARAMS_NONE_DATA,
25
- MultiBars: {
26
- barWidth: 0,
27
- barPadding: 1,
28
- barGroupPadding: 10,
29
- barRadius: true,
30
- },
31
- MultiBarStack: {},
32
- MultiDots: {},
33
- MultiGridLegend: {
34
- position: 'bottom',
35
- justify: 'center',
36
- padding: 14,
37
- gridList: [
38
- {
39
- listRectRadius: 7,
40
- },
41
- {
42
- listRectHeight: 2,
43
- }
44
- ]
45
- },
46
- MultiGroupAxis: {},
47
- MultiLineAreas: {},
48
- MultiLines: {
49
- lineCurve: 'curveMonotoneX',
50
- lineWidth: 3
51
- },
52
- MultiValueAxis: {},
53
- MultiValueStackAxis: {},
54
- OverlappingValueAxes: {},
55
- OverlappingValueStackAxes: {},
56
- }
57
- }
1
+ import type { PresetPartial } from '@orbcharts/core'
2
+ import type {
3
+ PresetMultiGridPluginParams,
4
+ PresetNoneDataPluginParams
5
+ } from '../types'
6
+ import { ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
7
+
8
+ type PresetMultiGridRoundPluginParams = Omit<PresetMultiGridPluginParams, 'MultiBarsTriangle'>
9
+
10
+ export const PRESET_MULTI_GRID_ROUND_STYLE: PresetPartial<'multiGrid', PresetMultiGridRoundPluginParams
11
+ & PresetNoneDataPluginParams> = {
12
+ name: 'PRESET_MULTI_GRID_ROUND_STYLE',
13
+ description: 'MultiGrid圓弧風格',
14
+ chartParams: {
15
+ padding: {
16
+ top: 60,
17
+ right: 60,
18
+ bottom: 120,
19
+ left: 60
20
+ },
21
+ highlightTarget: 'series'
22
+ },
23
+ allPluginParams: {
24
+ ...ALL_PLUGIN_PARAMS_NONE_DATA,
25
+ MultiBars: {
26
+ barWidth: 0,
27
+ barPadding: 1,
28
+ barGroupPadding: 10,
29
+ barRadius: true,
30
+ },
31
+ MultiBarStack: {},
32
+ MultiDots: {},
33
+ MultiGridLegend: {
34
+ position: 'bottom',
35
+ justify: 'center',
36
+ padding: 14,
37
+ gridList: [
38
+ {
39
+ listRectRadius: 7,
40
+ },
41
+ {
42
+ listRectHeight: 2,
43
+ }
44
+ ]
45
+ },
46
+ MultiGroupAxis: {},
47
+ MultiLineAreas: {},
48
+ MultiLines: {
49
+ lineCurve: 'curveMonotoneX',
50
+ lineWidth: 3
51
+ },
52
+ MultiValueAxis: {},
53
+ MultiValueStackAxis: {},
54
+ OverlappingValueAxes: {},
55
+ OverlappingValueStackAxes: {},
56
+ }
57
+ }
@@ -1,59 +1,59 @@
1
- import type { PresetPartial } from '@orbcharts/core'
2
- import type {
3
- PresetMultiGridSepratedPluginParams,
4
- PresetNoneDataPluginParams
5
- } from '../types'
6
- import { ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
7
-
8
- export const PRESET_MULTI_GRID_SEPARATE_GRID: PresetPartial<'multiGrid', PresetMultiGridSepratedPluginParams
9
- & PresetNoneDataPluginParams> = {
10
- name: 'PRESET_MULTI_GRID_SEPARATE_GRID',
11
- description: '2組Grid圖表',
12
- chartParams: {
13
- padding: {
14
- top: 60,
15
- right: 60,
16
- bottom: 160,
17
- left: 60
18
- },
19
- },
20
- dataFormatter: {
21
- separateGrid: true,
22
- },
23
- allPluginParams: {
24
- ...ALL_PLUGIN_PARAMS_NONE_DATA,
25
- MultiGroupAxis: {
26
- tickTextRotate: -30,
27
- gridIndexes: 'all'
28
- },
29
- MultiValueAxis: {
30
- gridIndexes: 'all'
31
- },
32
- MultiValueStackAxis: {
33
- gridIndexes: 'all'
34
- },
35
- MultiBars: {
36
- gridIndexes: 'all'
37
- },
38
- MultiBarStack: {
39
- gridIndexes: 'all'
40
- },
41
- MultiBarsTriangle: {
42
- gridIndexes: 'all'
43
- },
44
- MultiLines: {
45
- gridIndexes: 'all'
46
- },
47
- MultiLineAreas: {
48
- gridIndexes: 'all'
49
- },
50
- MultiDots: {
51
- gridIndexes: 'all'
52
- },
53
- MultiGridLegend: {
54
- position: 'bottom',
55
- justify: 'center',
56
- padding: 14,
57
- }
58
- }
59
- }
1
+ import type { PresetPartial } from '@orbcharts/core'
2
+ import type {
3
+ PresetMultiGridSepratedPluginParams,
4
+ PresetNoneDataPluginParams
5
+ } from '../types'
6
+ import { ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
7
+
8
+ export const PRESET_MULTI_GRID_SEPARATE_GRID: PresetPartial<'multiGrid', PresetMultiGridSepratedPluginParams
9
+ & PresetNoneDataPluginParams> = {
10
+ name: 'PRESET_MULTI_GRID_SEPARATE_GRID',
11
+ description: '2組Grid圖表',
12
+ chartParams: {
13
+ padding: {
14
+ top: 60,
15
+ right: 60,
16
+ bottom: 160,
17
+ left: 60
18
+ },
19
+ },
20
+ dataFormatter: {
21
+ separateGrid: true,
22
+ },
23
+ allPluginParams: {
24
+ ...ALL_PLUGIN_PARAMS_NONE_DATA,
25
+ MultiGroupAxis: {
26
+ tickTextRotate: -30,
27
+ gridIndexes: 'all'
28
+ },
29
+ MultiValueAxis: {
30
+ gridIndexes: 'all'
31
+ },
32
+ MultiValueStackAxis: {
33
+ gridIndexes: 'all'
34
+ },
35
+ MultiBars: {
36
+ gridIndexes: 'all'
37
+ },
38
+ MultiBarStack: {
39
+ gridIndexes: 'all'
40
+ },
41
+ MultiBarsTriangle: {
42
+ gridIndexes: 'all'
43
+ },
44
+ MultiLines: {
45
+ gridIndexes: 'all'
46
+ },
47
+ MultiLineAreas: {
48
+ gridIndexes: 'all'
49
+ },
50
+ MultiDots: {
51
+ gridIndexes: 'all'
52
+ },
53
+ MultiGridLegend: {
54
+ position: 'bottom',
55
+ justify: 'center',
56
+ padding: 14,
57
+ }
58
+ }
59
+ }
@@ -1,103 +1,103 @@
1
- import type { PresetPartial } from '@orbcharts/core'
2
- import type {
3
- PresetMultiGroupAxisParams,
4
- PresetMultiValueAxisParams,
5
- PresetMultiValueStackAxisParams,
6
- PresetMultiBarsParams,
7
- PresetMultiBarStackParams,
8
- PresetMultiBarsTriangleParams,
9
- PresetMultiLinesParams,
10
- PresetMultiLineAreasParams,
11
- PresetMultiDotsParams,
12
- PresetMultiGridLegendParams,
13
- PresetNoneDataPluginParams
14
- } from '../types'
15
- import { ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
16
-
17
- export const PRESET_MULTI_LINES_SEPARATE_GRID: PresetPartial<'multiGrid', PresetMultiGroupAxisParams
18
- & PresetMultiValueAxisParams
19
- & PresetMultiValueStackAxisParams
20
- & PresetMultiBarsParams
21
- & PresetMultiBarStackParams
22
- & PresetMultiBarsTriangleParams
23
- & PresetMultiLinesParams
24
- & PresetMultiLineAreasParams
25
- & PresetMultiDotsParams
26
- & PresetMultiGridLegendParams
27
- & PresetNoneDataPluginParams> = {
28
- name: 'PRESET_MULTI_LINES_SEPARATE_GRID',
29
- description: '多組分開折線圖表',
30
- chartParams: {
31
- padding: {
32
- top: 60,
33
- right: 60,
34
- bottom: 160,
35
- left: 60
36
- },
37
- },
38
- dataFormatter: {
39
- separateGrid: true,
40
- },
41
- allPluginParams: {
42
- ...ALL_PLUGIN_PARAMS_NONE_DATA,
43
- MultiGroupAxis: {
44
- tickTextRotate: -30,
45
- gridIndexes: 'all'
46
- },
47
- MultiValueAxis: {
48
- gridIndexes: 'all'
49
- },
50
- MultiValueStackAxis: {
51
- gridIndexes: 'all'
52
- },
53
- MultiBars: {
54
- gridIndexes: 'all'
55
- },
56
- MultiBarStack: {
57
- gridIndexes: 'all'
58
- },
59
- MultiBarsTriangle: {
60
- gridIndexes: 'all'
61
- },
62
- MultiLines: {
63
- gridIndexes: 'all'
64
- },
65
- MultiLineAreas: {
66
- gridIndexes: 'all'
67
- },
68
- MultiDots: {
69
- gridIndexes: 'all'
70
- },
71
- MultiGridLegend: {
72
- position: 'bottom',
73
- justify: 'center',
74
- padding: 14,
75
- gridList: [
76
- {
77
- listRectHeight: 2,
78
- },
79
- {
80
- listRectHeight: 2,
81
- },
82
- {
83
- listRectHeight: 2,
84
- },
85
- {
86
- listRectHeight: 2,
87
- },
88
- {
89
- listRectHeight: 2,
90
- },
91
- {
92
- listRectHeight: 2,
93
- },
94
- {
95
- listRectHeight: 2,
96
- },
97
- {
98
- listRectHeight: 2,
99
- }
100
- ]
101
- }
102
- }
103
- }
1
+ import type { PresetPartial } from '@orbcharts/core'
2
+ import type {
3
+ PresetMultiGroupAxisParams,
4
+ PresetMultiValueAxisParams,
5
+ PresetMultiValueStackAxisParams,
6
+ PresetMultiBarsParams,
7
+ PresetMultiBarStackParams,
8
+ PresetMultiBarsTriangleParams,
9
+ PresetMultiLinesParams,
10
+ PresetMultiLineAreasParams,
11
+ PresetMultiDotsParams,
12
+ PresetMultiGridLegendParams,
13
+ PresetNoneDataPluginParams
14
+ } from '../types'
15
+ import { ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
16
+
17
+ export const PRESET_MULTI_LINES_SEPARATE_GRID: PresetPartial<'multiGrid', PresetMultiGroupAxisParams
18
+ & PresetMultiValueAxisParams
19
+ & PresetMultiValueStackAxisParams
20
+ & PresetMultiBarsParams
21
+ & PresetMultiBarStackParams
22
+ & PresetMultiBarsTriangleParams
23
+ & PresetMultiLinesParams
24
+ & PresetMultiLineAreasParams
25
+ & PresetMultiDotsParams
26
+ & PresetMultiGridLegendParams
27
+ & PresetNoneDataPluginParams> = {
28
+ name: 'PRESET_MULTI_LINES_SEPARATE_GRID',
29
+ description: '多組分開折線圖表',
30
+ chartParams: {
31
+ padding: {
32
+ top: 60,
33
+ right: 60,
34
+ bottom: 160,
35
+ left: 60
36
+ },
37
+ },
38
+ dataFormatter: {
39
+ separateGrid: true,
40
+ },
41
+ allPluginParams: {
42
+ ...ALL_PLUGIN_PARAMS_NONE_DATA,
43
+ MultiGroupAxis: {
44
+ tickTextRotate: -30,
45
+ gridIndexes: 'all'
46
+ },
47
+ MultiValueAxis: {
48
+ gridIndexes: 'all'
49
+ },
50
+ MultiValueStackAxis: {
51
+ gridIndexes: 'all'
52
+ },
53
+ MultiBars: {
54
+ gridIndexes: 'all'
55
+ },
56
+ MultiBarStack: {
57
+ gridIndexes: 'all'
58
+ },
59
+ MultiBarsTriangle: {
60
+ gridIndexes: 'all'
61
+ },
62
+ MultiLines: {
63
+ gridIndexes: 'all'
64
+ },
65
+ MultiLineAreas: {
66
+ gridIndexes: 'all'
67
+ },
68
+ MultiDots: {
69
+ gridIndexes: 'all'
70
+ },
71
+ MultiGridLegend: {
72
+ position: 'bottom',
73
+ justify: 'center',
74
+ padding: 14,
75
+ gridList: [
76
+ {
77
+ listRectHeight: 2,
78
+ },
79
+ {
80
+ listRectHeight: 2,
81
+ },
82
+ {
83
+ listRectHeight: 2,
84
+ },
85
+ {
86
+ listRectHeight: 2,
87
+ },
88
+ {
89
+ listRectHeight: 2,
90
+ },
91
+ {
92
+ listRectHeight: 2,
93
+ },
94
+ {
95
+ listRectHeight: 2,
96
+ },
97
+ {
98
+ listRectHeight: 2,
99
+ }
100
+ ]
101
+ }
102
+ }
103
+ }
@@ -1,121 +1,121 @@
1
- import type { PresetPartial } from '@orbcharts/core'
2
- import type {
3
- PresetMultiGroupAxisParams,
4
- PresetMultiValueAxisParams,
5
- PresetMultiValueStackAxisParams,
6
- PresetMultiBarsParams,
7
- PresetMultiBarStackParams,
8
- PresetMultiBarsTriangleParams,
9
- PresetMultiLinesParams,
10
- PresetMultiLineAreasParams,
11
- PresetMultiDotsParams,
12
- PresetMultiGridLegendParams,
13
- PresetNoneDataPluginParams
14
- } from '../types'
15
- import { ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
16
-
17
- export const PRESET_MULTI_LINE_AREAS_SEPARATE_GRID: PresetPartial<'multiGrid', PresetMultiGroupAxisParams
18
- & PresetMultiValueAxisParams
19
- & PresetMultiValueStackAxisParams
20
- & PresetMultiBarsParams
21
- & PresetMultiBarStackParams
22
- & PresetMultiBarsTriangleParams
23
- & PresetMultiLinesParams
24
- & PresetMultiLineAreasParams
25
- & PresetMultiDotsParams
26
- & PresetMultiGridLegendParams
27
- & PresetNoneDataPluginParams> = {
28
- name: 'PRESET_MULTI_LINE_AREAS_SEPARATE_GRID',
29
- description: '2組區域圖表',
30
- chartParams: {
31
- padding: {
32
- top: 60,
33
- right: 60,
34
- bottom: 160,
35
- left: 60
36
- },
37
- },
38
- dataFormatter: {
39
- gridList: [
40
- {
41
- // slotIndex: 0
42
- groupAxis: {
43
- scalePadding: 0
44
- }
45
- },
46
- {
47
- // slotIndex: 1,
48
- groupAxis: {
49
- scalePadding: 0
50
- }
51
- }
52
- ],
53
- separateGrid: true,
54
- // container: {
55
- // rowAmount: 1,
56
- // columnAmount: 2,
57
- // }
58
- },
59
- allPluginParams: {
60
- ...ALL_PLUGIN_PARAMS_NONE_DATA,
61
- MultiGroupAxis: {
62
- tickTextRotate: -30,
63
- gridIndexes: 'all'
64
- },
65
- MultiValueAxis: {
66
- gridIndexes: 'all'
67
- },
68
- MultiValueStackAxis: {
69
- gridIndexes: 'all'
70
- },
71
- MultiBars: {
72
- gridIndexes: 'all'
73
- },
74
- MultiBarStack: {
75
- gridIndexes: 'all'
76
- },
77
- MultiBarsTriangle: {
78
- gridIndexes: 'all'
79
- },
80
- MultiLines: {
81
- gridIndexes: 'all'
82
- },
83
- MultiLineAreas: {
84
- gridIndexes: 'all'
85
- },
86
- MultiDots: {
87
- gridIndexes: 'all'
88
- },
89
- MultiGridLegend: {
90
- position: 'bottom',
91
- justify: 'center',
92
- padding: 14,
93
- gridList: [
94
- {
95
- listRectHeight: 2,
96
- },
97
- {
98
- listRectHeight: 2,
99
- },
100
- {
101
- listRectHeight: 2,
102
- },
103
- {
104
- listRectHeight: 2,
105
- },
106
- {
107
- listRectHeight: 2,
108
- },
109
- {
110
- listRectHeight: 2,
111
- },
112
- {
113
- listRectHeight: 2,
114
- },
115
- {
116
- listRectHeight: 2,
117
- }
118
- ]
119
- }
120
- }
121
- }
1
+ import type { PresetPartial } from '@orbcharts/core'
2
+ import type {
3
+ PresetMultiGroupAxisParams,
4
+ PresetMultiValueAxisParams,
5
+ PresetMultiValueStackAxisParams,
6
+ PresetMultiBarsParams,
7
+ PresetMultiBarStackParams,
8
+ PresetMultiBarsTriangleParams,
9
+ PresetMultiLinesParams,
10
+ PresetMultiLineAreasParams,
11
+ PresetMultiDotsParams,
12
+ PresetMultiGridLegendParams,
13
+ PresetNoneDataPluginParams
14
+ } from '../types'
15
+ import { ALL_PLUGIN_PARAMS_NONE_DATA } from '../params'
16
+
17
+ export const PRESET_MULTI_LINE_AREAS_SEPARATE_GRID: PresetPartial<'multiGrid', PresetMultiGroupAxisParams
18
+ & PresetMultiValueAxisParams
19
+ & PresetMultiValueStackAxisParams
20
+ & PresetMultiBarsParams
21
+ & PresetMultiBarStackParams
22
+ & PresetMultiBarsTriangleParams
23
+ & PresetMultiLinesParams
24
+ & PresetMultiLineAreasParams
25
+ & PresetMultiDotsParams
26
+ & PresetMultiGridLegendParams
27
+ & PresetNoneDataPluginParams> = {
28
+ name: 'PRESET_MULTI_LINE_AREAS_SEPARATE_GRID',
29
+ description: '2組區域圖表',
30
+ chartParams: {
31
+ padding: {
32
+ top: 60,
33
+ right: 60,
34
+ bottom: 160,
35
+ left: 60
36
+ },
37
+ },
38
+ dataFormatter: {
39
+ gridList: [
40
+ {
41
+ // slotIndex: 0
42
+ groupAxis: {
43
+ scalePadding: 0
44
+ }
45
+ },
46
+ {
47
+ // slotIndex: 1,
48
+ groupAxis: {
49
+ scalePadding: 0
50
+ }
51
+ }
52
+ ],
53
+ separateGrid: true,
54
+ // container: {
55
+ // rowAmount: 1,
56
+ // columnAmount: 2,
57
+ // }
58
+ },
59
+ allPluginParams: {
60
+ ...ALL_PLUGIN_PARAMS_NONE_DATA,
61
+ MultiGroupAxis: {
62
+ tickTextRotate: -30,
63
+ gridIndexes: 'all'
64
+ },
65
+ MultiValueAxis: {
66
+ gridIndexes: 'all'
67
+ },
68
+ MultiValueStackAxis: {
69
+ gridIndexes: 'all'
70
+ },
71
+ MultiBars: {
72
+ gridIndexes: 'all'
73
+ },
74
+ MultiBarStack: {
75
+ gridIndexes: 'all'
76
+ },
77
+ MultiBarsTriangle: {
78
+ gridIndexes: 'all'
79
+ },
80
+ MultiLines: {
81
+ gridIndexes: 'all'
82
+ },
83
+ MultiLineAreas: {
84
+ gridIndexes: 'all'
85
+ },
86
+ MultiDots: {
87
+ gridIndexes: 'all'
88
+ },
89
+ MultiGridLegend: {
90
+ position: 'bottom',
91
+ justify: 'center',
92
+ padding: 14,
93
+ gridList: [
94
+ {
95
+ listRectHeight: 2,
96
+ },
97
+ {
98
+ listRectHeight: 2,
99
+ },
100
+ {
101
+ listRectHeight: 2,
102
+ },
103
+ {
104
+ listRectHeight: 2,
105
+ },
106
+ {
107
+ listRectHeight: 2,
108
+ },
109
+ {
110
+ listRectHeight: 2,
111
+ },
112
+ {
113
+ listRectHeight: 2,
114
+ },
115
+ {
116
+ listRectHeight: 2,
117
+ }
118
+ ]
119
+ }
120
+ }
121
+ }