@orbcharts/presets-basic 3.0.0-alpha.15 → 3.0.0-alpha.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. package/LICENSE +200 -200
  2. package/dist/orbcharts-presets-basic/src/chartParamsFiles/CP_LONG_PADDING.d.ts +3 -0
  3. package/dist/orbcharts-presets-basic/src/chartParamsFiles/index.d.ts +1 -0
  4. package/dist/orbcharts-presets-basic/src/gridDataFormatterFiles/DF_GRID_SEPARATE_SERIES.d.ts +3 -0
  5. package/dist/orbcharts-presets-basic/src/gridDataFormatterFiles/DF_LINE_AREAS_SEPARATE_SERIES.d.ts +3 -0
  6. package/dist/orbcharts-presets-basic/src/gridDataFormatterFiles/index.d.ts +2 -6
  7. package/dist/orbcharts-presets-basic/src/index.d.ts +7 -6
  8. package/dist/orbcharts-presets-basic/src/multiGridDataFormatterFiles/DF_MULTI_GRID_SEPARATE_GRID.d.ts +3 -0
  9. package/dist/orbcharts-presets-basic/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_SEPARATE_GRID.d.ts +3 -0
  10. package/dist/orbcharts-presets-basic/src/multiGridDataFormatterFiles/index.d.ts +2 -6
  11. package/dist/orbcharts-presets-basic/src/seriesDataFormatterFiles/DF_SERIES_DESC.d.ts +3 -0
  12. package/dist/orbcharts-presets-basic/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES.d.ts +3 -0
  13. package/dist/orbcharts-presets-basic/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_DESC.d.ts +3 -0
  14. package/dist/orbcharts-presets-basic/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES.d.ts +3 -0
  15. package/dist/orbcharts-presets-basic/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES_AND_DESC.d.ts +3 -0
  16. package/dist/orbcharts-presets-basic/src/seriesDataFormatterFiles/index.d.ts +5 -1
  17. package/dist/orbcharts-presets-basic.es.js +329 -456
  18. package/dist/orbcharts-presets-basic.umd.js +1 -1
  19. package/package.json +43 -43
  20. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.ts +13 -13
  21. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.ts +14 -14
  22. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.ts +13 -13
  23. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.ts +14 -14
  24. package/src/chartParamsFiles/CP_BOTTOM_PADDING.ts +13 -13
  25. package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.ts +14 -14
  26. package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.ts +14 -14
  27. package/src/chartParamsFiles/CP_BOTTOM_SLIGHT_PADDING.ts +13 -13
  28. package/src/chartParamsFiles/CP_LEFT_PADDING.ts +13 -13
  29. package/src/chartParamsFiles/CP_LONG_PADDING.ts +14 -0
  30. package/src/chartParamsFiles/CP_RIGHT_PADDING.ts +13 -13
  31. package/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.ts +13 -13
  32. package/src/chartParamsFiles/index.ts +13 -11
  33. package/src/createPreset.ts +87 -87
  34. package/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.ts +16 -16
  35. package/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.ts +16 -16
  36. package/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.ts +16 -16
  37. package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.ts +22 -22
  38. package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING.ts +17 -17
  39. package/src/gridDataFormatterFiles/DF_GRID_DIVERGING_SCALE.ts +14 -14
  40. package/src/gridDataFormatterFiles/DF_GRID_NONE_GROUP_SCALE_PADDING.ts +13 -13
  41. package/src/gridDataFormatterFiles/DF_GRID_SEPARATE_SERIES.ts +17 -0
  42. package/src/gridDataFormatterFiles/DF_LINE_AREAS_2_SERIES_SLOT.ts +19 -19
  43. package/src/gridDataFormatterFiles/DF_LINE_AREAS_3_SERIES_SLOT.ts +19 -19
  44. package/src/gridDataFormatterFiles/DF_LINE_AREAS_4_SERIES_SLOT.ts +19 -19
  45. package/src/gridDataFormatterFiles/DF_LINE_AREAS_SEPARATE_SERIES.ts +20 -0
  46. package/src/gridDataFormatterFiles/index.ts +12 -10
  47. package/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.ts +14 -14
  48. package/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.ts +14 -14
  49. package/src/gridPluginParamsFiles/Bars/index.ts +1 -1
  50. package/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.ts +12 -12
  51. package/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.ts +14 -14
  52. package/src/gridPluginParamsFiles/Dots/index.ts +1 -1
  53. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.ts +13 -13
  54. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +14 -14
  55. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.ts +14 -14
  56. package/src/gridPluginParamsFiles/GridLegend/index.ts +2 -2
  57. package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.ts +12 -12
  58. package/src/gridPluginParamsFiles/LineAreas/PP_LINE_AREAS_CURVE.ts +11 -11
  59. package/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.ts +12 -12
  60. package/src/gridPluginParamsFiles/index.ts +6 -6
  61. package/src/index.ts +356 -290
  62. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.ts +21 -21
  63. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.ts +24 -24
  64. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.ts +27 -27
  65. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_SEPARATE_GRID.ts +22 -0
  66. package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_2_GRID_SLOT.ts +27 -27
  67. package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_3_GRID_SLOT.ts +33 -33
  68. package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_4_GRID_SLOT.ts +39 -39
  69. package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_SEPARATE_GRID.ts +28 -0
  70. package/src/multiGridDataFormatterFiles/index.ts +8 -6
  71. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.ts +11 -11
  72. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.ts +11 -11
  73. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.ts +11 -11
  74. package/src/multiGridPluginParamsFiles/MultiBarStack/index.ts +3 -3
  75. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.ts +11 -11
  76. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.ts +11 -11
  77. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.ts +11 -11
  78. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.ts +14 -14
  79. package/src/multiGridPluginParamsFiles/MultiBars/index.ts +5 -5
  80. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.ts +11 -11
  81. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.ts +11 -11
  82. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.ts +11 -11
  83. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.ts +2 -2
  84. package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_2_GRID_SLOT.ts +11 -11
  85. package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_3_GRID_SLOT.ts +11 -11
  86. package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_4_GRID_SLOT.ts +11 -11
  87. package/src/multiGridPluginParamsFiles/MultiDots/index.ts +2 -2
  88. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.ts +13 -13
  89. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +27 -27
  90. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.ts +20 -20
  91. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.ts +21 -21
  92. package/src/multiGridPluginParamsFiles/MultiGridLegend/index.ts +3 -3
  93. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.ts +12 -12
  94. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.ts +12 -12
  95. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.ts +12 -12
  96. package/src/multiGridPluginParamsFiles/MultiGroupAxis/index.ts +3 -3
  97. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_2_GRID_SLOT.ts +11 -11
  98. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_3_GRID_SLOT.ts +11 -11
  99. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_4_GRID_SLOT.ts +11 -11
  100. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_CURVE.ts +11 -11
  101. package/src/multiGridPluginParamsFiles/MultiLineAreas/index.ts +3 -3
  102. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.ts +11 -11
  103. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.ts +11 -11
  104. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.ts +11 -11
  105. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.ts +12 -12
  106. package/src/multiGridPluginParamsFiles/MultiLines/index.ts +3 -3
  107. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.ts +11 -11
  108. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.ts +11 -11
  109. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.ts +11 -11
  110. package/src/multiGridPluginParamsFiles/MultiValueAxis/index.ts +3 -3
  111. package/src/multiGridPluginParamsFiles/index.ts +8 -8
  112. package/src/seriesDataFormatterFiles/DF_SERIES_DESC.ts +10 -0
  113. package/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES.ts +10 -0
  114. package/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_DESC.ts +11 -0
  115. package/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES.ts +10 -0
  116. package/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES_AND_DESC.ts +11 -0
  117. package/src/seriesDataFormatterFiles/index.ts +7 -1
  118. package/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.ts +11 -11
  119. package/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.ts +12 -12
  120. package/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.ts +14 -14
  121. package/src/seriesPluginParamsFiles/Pie/index.ts +1 -1
  122. package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.ts +13 -13
  123. package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.ts +13 -13
  124. package/src/seriesPluginParamsFiles/PieLabels/index.ts +1 -1
  125. package/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.ts +11 -11
  126. package/src/seriesPluginParamsFiles/index.ts +3 -3
  127. package/src/treePluginParamsFiles/TreeLegend/PP_TREE_LEGEND_BOTTOM.ts +13 -13
  128. package/src/types.ts +61 -61
  129. package/tsconfig.dev.json +17 -17
  130. package/tsconfig.json +17 -17
  131. package/tsconfig.prod.json +13 -13
  132. package/vite.config.js +44 -44
@@ -1,22 +1,22 @@
1
- import type { DataFormatterFile } from '../types'
2
-
3
- export const DF_MULTI_GRID_2_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
4
- id: 'DF_MULTI_GRID_2_GRID_SLOT',
5
- chartType: 'multiGrid',
6
- description: '2個Grid Slot',
7
- data: {
8
- // gridList: [
9
- // {
10
- // // slotIndex: 0
11
- // },
12
- // {
13
- // slotIndex: 1
14
- // }
15
- // ],
16
- separateGrid: true,
17
- container: {
18
- rowAmount: 1,
19
- columnAmount: 2,
20
- }
21
- }
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_MULTI_GRID_2_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
4
+ id: 'DF_MULTI_GRID_2_GRID_SLOT',
5
+ chartType: 'multiGrid',
6
+ description: '2個Grid Slot',
7
+ data: {
8
+ // gridList: [
9
+ // {
10
+ // // slotIndex: 0
11
+ // },
12
+ // {
13
+ // slotIndex: 1
14
+ // }
15
+ // ],
16
+ separateGrid: true,
17
+ container: {
18
+ rowAmount: 1,
19
+ columnAmount: 2,
20
+ }
21
+ }
22
22
  }
@@ -1,25 +1,25 @@
1
- import type { DataFormatterFile } from '../types'
2
-
3
- export const DF_MULTI_GRID_3_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
4
- id: 'DF_MULTI_GRID_3_GRID_SLOT',
5
- chartType: 'multiGrid',
6
- description: '3個Grid Slot',
7
- data: {
8
- // gridList: [
9
- // {
10
- // slotIndex: 0
11
- // },
12
- // {
13
- // slotIndex: 1
14
- // },
15
- // {
16
- // slotIndex: 2
17
- // }
18
- // ],
19
- separateGrid: true,
20
- container: {
21
- rowAmount: 1,
22
- columnAmount: 3,
23
- }
24
- }
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_MULTI_GRID_3_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
4
+ id: 'DF_MULTI_GRID_3_GRID_SLOT',
5
+ chartType: 'multiGrid',
6
+ description: '3個Grid Slot',
7
+ data: {
8
+ // gridList: [
9
+ // {
10
+ // slotIndex: 0
11
+ // },
12
+ // {
13
+ // slotIndex: 1
14
+ // },
15
+ // {
16
+ // slotIndex: 2
17
+ // }
18
+ // ],
19
+ separateGrid: true,
20
+ container: {
21
+ rowAmount: 1,
22
+ columnAmount: 3,
23
+ }
24
+ }
25
25
  }
@@ -1,28 +1,28 @@
1
- import type { DataFormatterFile } from '../types'
2
-
3
- export const DF_MULTI_GRID_4_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
4
- id: 'DF_MULTI_GRID_4_GRID_SLOT',
5
- chartType: 'multiGrid',
6
- description: '4個Grid Slot',
7
- data: {
8
- // gridList: [
9
- // {
10
- // slotIndex: 0
11
- // },
12
- // {
13
- // slotIndex: 1
14
- // },
15
- // {
16
- // slotIndex: 2
17
- // },
18
- // {
19
- // slotIndex: 3
20
- // }
21
- // ],
22
- separateGrid: true,
23
- container: {
24
- rowAmount: 2,
25
- columnAmount: 2,
26
- }
27
- }
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_MULTI_GRID_4_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
4
+ id: 'DF_MULTI_GRID_4_GRID_SLOT',
5
+ chartType: 'multiGrid',
6
+ description: '4個Grid Slot',
7
+ data: {
8
+ // gridList: [
9
+ // {
10
+ // slotIndex: 0
11
+ // },
12
+ // {
13
+ // slotIndex: 1
14
+ // },
15
+ // {
16
+ // slotIndex: 2
17
+ // },
18
+ // {
19
+ // slotIndex: 3
20
+ // }
21
+ // ],
22
+ separateGrid: true,
23
+ container: {
24
+ rowAmount: 2,
25
+ columnAmount: 2,
26
+ }
27
+ }
28
28
  }
@@ -0,0 +1,22 @@
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_MULTI_GRID_SEPARATE_GRID: DataFormatterFile<'multiGrid'> = {
4
+ id: 'DF_MULTI_GRID_SEPARATE_GRID',
5
+ chartType: 'multiGrid',
6
+ description: '分開顯示Gird',
7
+ data: {
8
+ // gridList: [
9
+ // {
10
+ // // slotIndex: 0
11
+ // },
12
+ // {
13
+ // slotIndex: 1
14
+ // }
15
+ // ],
16
+ separateGrid: true,
17
+ // container: {
18
+ // rowAmount: 1,
19
+ // columnAmount: 2,
20
+ // }
21
+ }
22
+ }
@@ -1,28 +1,28 @@
1
- import type { DataFormatterFile } from '../types'
2
-
3
- export const DF_MULTI_LINE_AREAS_2_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
4
- id: 'DF_MULTI_LINE_AREAS_2_GRID_SLOT',
5
- chartType: 'multiGrid',
6
- description: 'MultiLineAreas 2個Grid Slot',
7
- data: {
8
- gridList: [
9
- {
10
- // slotIndex: 0
11
- groupAxis: {
12
- scalePadding: 0
13
- }
14
- },
15
- {
16
- // slotIndex: 1,
17
- groupAxis: {
18
- scalePadding: 0
19
- }
20
- }
21
- ],
22
- separateGrid: true,
23
- container: {
24
- rowAmount: 1,
25
- columnAmount: 2,
26
- }
27
- }
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_MULTI_LINE_AREAS_2_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
4
+ id: 'DF_MULTI_LINE_AREAS_2_GRID_SLOT',
5
+ chartType: 'multiGrid',
6
+ description: 'MultiLineAreas 2個Grid Slot',
7
+ data: {
8
+ gridList: [
9
+ {
10
+ // slotIndex: 0
11
+ groupAxis: {
12
+ scalePadding: 0
13
+ }
14
+ },
15
+ {
16
+ // slotIndex: 1,
17
+ groupAxis: {
18
+ scalePadding: 0
19
+ }
20
+ }
21
+ ],
22
+ separateGrid: true,
23
+ container: {
24
+ rowAmount: 1,
25
+ columnAmount: 2,
26
+ }
27
+ }
28
28
  }
@@ -1,34 +1,34 @@
1
- import type { DataFormatterFile } from '../types'
2
-
3
- export const DF_MULTI_LINE_AREAS_3_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
4
- id: 'DF_MULTI_LINE_AREAS_3_GRID_SLOT',
5
- chartType: 'multiGrid',
6
- description: 'MultiLineAreas 3個Grid Slot',
7
- data: {
8
- gridList: [
9
- {
10
- // slotIndex: 0,
11
- groupAxis: {
12
- scalePadding: 0
13
- }
14
- },
15
- {
16
- // slotIndex: 1,
17
- groupAxis: {
18
- scalePadding: 0
19
- }
20
- },
21
- {
22
- // slotIndex: 2,
23
- groupAxis: {
24
- scalePadding: 0
25
- }
26
- }
27
- ],
28
- separateGrid: true,
29
- container: {
30
- rowAmount: 1,
31
- columnAmount: 3,
32
- }
33
- }
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_MULTI_LINE_AREAS_3_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
4
+ id: 'DF_MULTI_LINE_AREAS_3_GRID_SLOT',
5
+ chartType: 'multiGrid',
6
+ description: 'MultiLineAreas 3個Grid Slot',
7
+ data: {
8
+ gridList: [
9
+ {
10
+ // slotIndex: 0,
11
+ groupAxis: {
12
+ scalePadding: 0
13
+ }
14
+ },
15
+ {
16
+ // slotIndex: 1,
17
+ groupAxis: {
18
+ scalePadding: 0
19
+ }
20
+ },
21
+ {
22
+ // slotIndex: 2,
23
+ groupAxis: {
24
+ scalePadding: 0
25
+ }
26
+ }
27
+ ],
28
+ separateGrid: true,
29
+ container: {
30
+ rowAmount: 1,
31
+ columnAmount: 3,
32
+ }
33
+ }
34
34
  }
@@ -1,40 +1,40 @@
1
- import type { DataFormatterFile } from '../types'
2
-
3
- export const DF_MULTI_LINE_AREAS_4_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
4
- id: 'DF_MULTI_LINE_AREAS_4_GRID_SLOT',
5
- chartType: 'multiGrid',
6
- description: 'MultiLineAreas 4個Grid Slot',
7
- data: {
8
- gridList: [
9
- {
10
- // slotIndex: 0,
11
- groupAxis: {
12
- scalePadding: 0
13
- }
14
- },
15
- {
16
- // slotIndex: 1,
17
- groupAxis: {
18
- scalePadding: 0
19
- }
20
- },
21
- {
22
- // slotIndex: 2,
23
- groupAxis: {
24
- scalePadding: 0
25
- }
26
- },
27
- {
28
- // slotIndex: 3,
29
- groupAxis: {
30
- scalePadding: 0
31
- }
32
- }
33
- ],
34
- separateGrid: true,
35
- container: {
36
- rowAmount: 2,
37
- columnAmount: 2,
38
- }
39
- }
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_MULTI_LINE_AREAS_4_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
4
+ id: 'DF_MULTI_LINE_AREAS_4_GRID_SLOT',
5
+ chartType: 'multiGrid',
6
+ description: 'MultiLineAreas 4個Grid Slot',
7
+ data: {
8
+ gridList: [
9
+ {
10
+ // slotIndex: 0,
11
+ groupAxis: {
12
+ scalePadding: 0
13
+ }
14
+ },
15
+ {
16
+ // slotIndex: 1,
17
+ groupAxis: {
18
+ scalePadding: 0
19
+ }
20
+ },
21
+ {
22
+ // slotIndex: 2,
23
+ groupAxis: {
24
+ scalePadding: 0
25
+ }
26
+ },
27
+ {
28
+ // slotIndex: 3,
29
+ groupAxis: {
30
+ scalePadding: 0
31
+ }
32
+ }
33
+ ],
34
+ separateGrid: true,
35
+ container: {
36
+ rowAmount: 2,
37
+ columnAmount: 2,
38
+ }
39
+ }
40
40
  }
@@ -0,0 +1,28 @@
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_MULTI_LINE_AREAS_SEPARATE_GRID: DataFormatterFile<'multiGrid'> = {
4
+ id: 'DF_MULTI_LINE_AREAS_SEPARATE_GRID',
5
+ chartType: 'multiGrid',
6
+ description: 'MultiLineAreas 分開顯示Gird',
7
+ data: {
8
+ gridList: [
9
+ {
10
+ // slotIndex: 0
11
+ groupAxis: {
12
+ scalePadding: 0
13
+ }
14
+ },
15
+ {
16
+ // slotIndex: 1,
17
+ groupAxis: {
18
+ scalePadding: 0
19
+ }
20
+ }
21
+ ],
22
+ separateGrid: true,
23
+ // container: {
24
+ // rowAmount: 1,
25
+ // columnAmount: 2,
26
+ // }
27
+ }
28
+ }
@@ -1,6 +1,8 @@
1
- export { DF_MULTI_GRID_2_GRID_SLOT } from './DF_MULTI_GRID_2_GRID_SLOT'
2
- export { DF_MULTI_GRID_3_GRID_SLOT } from './DF_MULTI_GRID_3_GRID_SLOT'
3
- export { DF_MULTI_GRID_4_GRID_SLOT } from './DF_MULTI_GRID_4_GRID_SLOT'
4
- export { DF_MULTI_LINE_AREAS_2_GRID_SLOT } from './DF_MULTI_LINE_AREAS_2_GRID_SLOT'
5
- export { DF_MULTI_LINE_AREAS_3_GRID_SLOT } from './DF_MULTI_LINE_AREAS_3_GRID_SLOT'
6
- export { DF_MULTI_LINE_AREAS_4_GRID_SLOT } from './DF_MULTI_LINE_AREAS_4_GRID_SLOT'
1
+ // export { DF_MULTI_GRID_2_GRID_SLOT } from './DF_MULTI_GRID_2_GRID_SLOT'
2
+ // export { DF_MULTI_GRID_3_GRID_SLOT } from './DF_MULTI_GRID_3_GRID_SLOT'
3
+ // export { DF_MULTI_GRID_4_GRID_SLOT } from './DF_MULTI_GRID_4_GRID_SLOT'
4
+ // export { DF_MULTI_LINE_AREAS_2_GRID_SLOT } from './DF_MULTI_LINE_AREAS_2_GRID_SLOT'
5
+ // export { DF_MULTI_LINE_AREAS_3_GRID_SLOT } from './DF_MULTI_LINE_AREAS_3_GRID_SLOT'
6
+ // export { DF_MULTI_LINE_AREAS_4_GRID_SLOT } from './DF_MULTI_LINE_AREAS_4_GRID_SLOT'
7
+ export { DF_MULTI_GRID_SEPARATE_GRID } from './DF_MULTI_GRID_SEPARATE_GRID'
8
+ export { DF_MULTI_LINE_AREAS_SEPARATE_GRID } from './DF_MULTI_LINE_AREAS_SEPARATE_GRID'
@@ -1,12 +1,12 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_MULTI_BAR_STACK_2_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
- id: 'PP_MULTI_BAR_STACK_2_GRID_SLOT',
6
- chartType: 'multiGrid',
7
- pluginName: 'MultiBarStack',
8
- description: '2組堆疊長條圖',
9
- data: {
10
- gridIndexes: [0, 1]
11
- }
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_MULTI_BAR_STACK_2_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
+ id: 'PP_MULTI_BAR_STACK_2_GRID_SLOT',
6
+ chartType: 'multiGrid',
7
+ pluginName: 'MultiBarStack',
8
+ description: '2組堆疊長條圖',
9
+ data: {
10
+ gridIndexes: [0, 1]
11
+ }
12
12
  }
@@ -1,12 +1,12 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_MULTI_BAR_STACK_3_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
- id: 'PP_MULTI_BAR_STACK_3_GRID_SLOT',
6
- chartType: 'multiGrid',
7
- pluginName: 'MultiBarStack',
8
- description: '3組堆疊長條圖',
9
- data: {
10
- gridIndexes: [0, 1, 2]
11
- }
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_MULTI_BAR_STACK_3_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
+ id: 'PP_MULTI_BAR_STACK_3_GRID_SLOT',
6
+ chartType: 'multiGrid',
7
+ pluginName: 'MultiBarStack',
8
+ description: '3組堆疊長條圖',
9
+ data: {
10
+ gridIndexes: [0, 1, 2]
11
+ }
12
12
  }
@@ -1,12 +1,12 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_MULTI_BAR_STACK_4_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
- id: 'PP_MULTI_BAR_STACK_4_GRID_SLOT',
6
- chartType: 'multiGrid',
7
- pluginName: 'MultiBarStack',
8
- description: '4組堆疊長條圖',
9
- data: {
10
- gridIndexes: [0, 1, 2, 3]
11
- }
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_MULTI_BAR_STACK_4_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
+ id: 'PP_MULTI_BAR_STACK_4_GRID_SLOT',
6
+ chartType: 'multiGrid',
7
+ pluginName: 'MultiBarStack',
8
+ description: '4組堆疊長條圖',
9
+ data: {
10
+ gridIndexes: [0, 1, 2, 3]
11
+ }
12
12
  }
@@ -1,4 +1,4 @@
1
- export { PP_MULTI_BAR_STACK_2_GRID_SLOT } from './PP_MULTI_BAR_STACK_2_GRID_SLOT'
2
- export { PP_MULTI_BAR_STACK_3_GRID_SLOT } from './PP_MULTI_BAR_STACK_3_GRID_SLOT'
3
- export { PP_MULTI_BAR_STACK_4_GRID_SLOT } from './PP_MULTI_BAR_STACK_4_GRID_SLOT'
1
+ export { PP_MULTI_BAR_STACK_2_GRID_SLOT } from './PP_MULTI_BAR_STACK_2_GRID_SLOT'
2
+ export { PP_MULTI_BAR_STACK_3_GRID_SLOT } from './PP_MULTI_BAR_STACK_3_GRID_SLOT'
3
+ export { PP_MULTI_BAR_STACK_4_GRID_SLOT } from './PP_MULTI_BAR_STACK_4_GRID_SLOT'
4
4
  // export { PP_MULTI_BAR_STACK_ROUND } from './PP_MULTI_BAR_STACK_ROUND'
@@ -1,12 +1,12 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_MULTI_BARS_2_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
- id: 'PP_MULTI_BARS_2_GRID_SLOT',
6
- chartType: 'multiGrid',
7
- pluginName: 'MultiBars',
8
- description: '2組群組長條圖',
9
- data: {
10
- gridIndexes: [0, 1]
11
- }
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_MULTI_BARS_2_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
+ id: 'PP_MULTI_BARS_2_GRID_SLOT',
6
+ chartType: 'multiGrid',
7
+ pluginName: 'MultiBars',
8
+ description: '2組群組長條圖',
9
+ data: {
10
+ gridIndexes: [0, 1]
11
+ }
12
12
  }
@@ -1,12 +1,12 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_MULTI_BARS_3_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
- id: 'PP_MULTI_BARS_3_GRID_SLOT',
6
- chartType: 'multiGrid',
7
- pluginName: 'MultiBars',
8
- description: '3組群組長條圖',
9
- data: {
10
- gridIndexes: [0, 1, 2]
11
- }
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_MULTI_BARS_3_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
+ id: 'PP_MULTI_BARS_3_GRID_SLOT',
6
+ chartType: 'multiGrid',
7
+ pluginName: 'MultiBars',
8
+ description: '3組群組長條圖',
9
+ data: {
10
+ gridIndexes: [0, 1, 2]
11
+ }
12
12
  }
@@ -1,12 +1,12 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_MULTI_BARS_4_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
- id: 'PP_MULTI_BARS_4_GRID_SLOT',
6
- chartType: 'multiGrid',
7
- pluginName: 'MultiBars',
8
- description: '4組群組長條圖',
9
- data: {
10
- gridIndexes: [0, 1, 2, 3]
11
- }
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_MULTI_BARS_4_GRID_SLOT: PluginParamsFile<MultiBarsParams> = {
5
+ id: 'PP_MULTI_BARS_4_GRID_SLOT',
6
+ chartType: 'multiGrid',
7
+ pluginName: 'MultiBars',
8
+ description: '4組群組長條圖',
9
+ data: {
10
+ gridIndexes: [0, 1, 2, 3]
11
+ }
12
12
  }
@@ -1,15 +1,15 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_MULTI_BARS_ROUND: PluginParamsFile<MultiBarsParams> = {
5
- id: 'PP_MULTI_BARS_ROUND',
6
- chartType: 'multiGrid',
7
- pluginName: 'MultiBars',
8
- description: '圓角長條圖',
9
- data: {
10
- barWidth: 0,
11
- barPadding: 1,
12
- barGroupPadding: 10,
13
- barRadius: true,
14
- }
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { MultiBarsParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_MULTI_BARS_ROUND: PluginParamsFile<MultiBarsParams> = {
5
+ id: 'PP_MULTI_BARS_ROUND',
6
+ chartType: 'multiGrid',
7
+ pluginName: 'MultiBars',
8
+ description: '圓角長條圖',
9
+ data: {
10
+ barWidth: 0,
11
+ barPadding: 1,
12
+ barGroupPadding: 10,
13
+ barRadius: true,
14
+ }
15
15
  }
@@ -1,5 +1,5 @@
1
- export { PP_MULTI_BARS_2_GRID_SLOT } from './PP_MULTI_BARS_2_GRID_SLOT'
2
- export { PP_MULTI_BARS_3_GRID_SLOT } from './PP_MULTI_BARS_3_GRID_SLOT'
3
- export { PP_MULTI_BARS_4_GRID_SLOT } from './PP_MULTI_BARS_4_GRID_SLOT'
4
- export { PP_MULTI_BARS_ROUND } from './PP_MULTI_BARS_ROUND'
5
-
1
+ export { PP_MULTI_BARS_2_GRID_SLOT } from './PP_MULTI_BARS_2_GRID_SLOT'
2
+ export { PP_MULTI_BARS_3_GRID_SLOT } from './PP_MULTI_BARS_3_GRID_SLOT'
3
+ export { PP_MULTI_BARS_4_GRID_SLOT } from './PP_MULTI_BARS_4_GRID_SLOT'
4
+ export { PP_MULTI_BARS_ROUND } from './PP_MULTI_BARS_ROUND'
5
+
@@ -1,12 +1,12 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { MultiBarsTriangleParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT: PluginParamsFile<MultiBarsTriangleParams> = {
5
- id: 'PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT',
6
- chartType: 'multiGrid',
7
- pluginName: 'MultiBarsTriangle',
8
- description: '2組群組三角長條圖',
9
- data: {
10
- gridIndexes: [0, 1]
11
- }
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { MultiBarsTriangleParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT: PluginParamsFile<MultiBarsTriangleParams> = {
5
+ id: 'PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT',
6
+ chartType: 'multiGrid',
7
+ pluginName: 'MultiBarsTriangle',
8
+ description: '2組群組三角長條圖',
9
+ data: {
10
+ gridIndexes: [0, 1]
11
+ }
12
12
  }