@orbcharts/presets-basic 3.0.0-alpha.13 → 3.0.0-alpha.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. package/LICENSE +200 -200
  2. package/package.json +43 -43
  3. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.ts +13 -13
  4. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.ts +14 -14
  5. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.ts +13 -13
  6. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.ts +14 -14
  7. package/src/chartParamsFiles/CP_BOTTOM_PADDING.ts +13 -13
  8. package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.ts +14 -14
  9. package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.ts +14 -14
  10. package/src/chartParamsFiles/CP_BOTTOM_SLIGHT_PADDING.ts +13 -13
  11. package/src/chartParamsFiles/CP_LEFT_PADDING.ts +13 -13
  12. package/src/chartParamsFiles/CP_RIGHT_PADDING.ts +13 -13
  13. package/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.ts +13 -13
  14. package/src/chartParamsFiles/index.ts +10 -10
  15. package/src/createPreset.ts +87 -87
  16. package/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.ts +15 -15
  17. package/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.ts +15 -15
  18. package/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.ts +15 -15
  19. package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.ts +22 -22
  20. package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING.ts +17 -17
  21. package/src/gridDataFormatterFiles/DF_GRID_DIVERGING_SCALE.ts +14 -14
  22. package/src/gridDataFormatterFiles/DF_GRID_NONE_GROUP_SCALE_PADDING.ts +13 -13
  23. package/src/gridDataFormatterFiles/DF_LINE_AREAS_2_SERIES_SLOT.ts +18 -18
  24. package/src/gridDataFormatterFiles/DF_LINE_AREAS_3_SERIES_SLOT.ts +18 -18
  25. package/src/gridDataFormatterFiles/DF_LINE_AREAS_4_SERIES_SLOT.ts +18 -18
  26. package/src/gridDataFormatterFiles/index.ts +9 -9
  27. package/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.ts +14 -14
  28. package/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.ts +14 -14
  29. package/src/gridPluginParamsFiles/Bars/index.ts +1 -1
  30. package/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.ts +12 -12
  31. package/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.ts +14 -14
  32. package/src/gridPluginParamsFiles/Dots/index.ts +1 -1
  33. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.ts +13 -13
  34. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +14 -14
  35. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.ts +14 -14
  36. package/src/gridPluginParamsFiles/GridLegend/index.ts +2 -2
  37. package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.ts +12 -12
  38. package/src/gridPluginParamsFiles/LineAreas/PP_LINE_AREAS_CURVE.ts +11 -11
  39. package/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.ts +12 -12
  40. package/src/gridPluginParamsFiles/index.ts +6 -6
  41. package/src/index.ts +290 -290
  42. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.ts +20 -20
  43. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.ts +23 -23
  44. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.ts +26 -26
  45. package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_2_GRID_SLOT.ts +26 -26
  46. package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_3_GRID_SLOT.ts +32 -32
  47. package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_4_GRID_SLOT.ts +38 -38
  48. package/src/multiGridDataFormatterFiles/index.ts +6 -6
  49. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.ts +11 -11
  50. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.ts +11 -11
  51. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.ts +11 -11
  52. package/src/multiGridPluginParamsFiles/MultiBarStack/index.ts +3 -3
  53. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.ts +11 -11
  54. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.ts +11 -11
  55. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.ts +11 -11
  56. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.ts +14 -14
  57. package/src/multiGridPluginParamsFiles/MultiBars/index.ts +5 -5
  58. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.ts +11 -11
  59. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.ts +11 -11
  60. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.ts +11 -11
  61. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.ts +2 -2
  62. package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_2_GRID_SLOT.ts +11 -11
  63. package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_3_GRID_SLOT.ts +11 -11
  64. package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_4_GRID_SLOT.ts +11 -11
  65. package/src/multiGridPluginParamsFiles/MultiDots/index.ts +2 -2
  66. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.ts +13 -13
  67. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +27 -27
  68. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.ts +20 -20
  69. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.ts +21 -21
  70. package/src/multiGridPluginParamsFiles/MultiGridLegend/index.ts +3 -3
  71. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.ts +12 -12
  72. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.ts +12 -12
  73. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.ts +12 -12
  74. package/src/multiGridPluginParamsFiles/MultiGroupAxis/index.ts +3 -3
  75. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_2_GRID_SLOT.ts +11 -11
  76. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_3_GRID_SLOT.ts +11 -11
  77. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_4_GRID_SLOT.ts +11 -11
  78. package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_CURVE.ts +11 -11
  79. package/src/multiGridPluginParamsFiles/MultiLineAreas/index.ts +3 -3
  80. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.ts +11 -11
  81. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.ts +11 -11
  82. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.ts +11 -11
  83. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.ts +12 -12
  84. package/src/multiGridPluginParamsFiles/MultiLines/index.ts +3 -3
  85. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.ts +11 -11
  86. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.ts +11 -11
  87. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.ts +11 -11
  88. package/src/multiGridPluginParamsFiles/MultiValueAxis/index.ts +3 -3
  89. package/src/multiGridPluginParamsFiles/index.ts +8 -8
  90. package/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.ts +11 -11
  91. package/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.ts +12 -12
  92. package/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.ts +14 -14
  93. package/src/seriesPluginParamsFiles/Pie/index.ts +1 -1
  94. package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.ts +13 -13
  95. package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.ts +13 -13
  96. package/src/seriesPluginParamsFiles/PieLabels/index.ts +1 -1
  97. package/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.ts +11 -11
  98. package/src/seriesPluginParamsFiles/index.ts +3 -3
  99. package/src/treePluginParamsFiles/TreeLegend/PP_TREE_LEGEND_BOTTOM.ts +13 -13
  100. package/src/types.ts +61 -61
  101. package/tsconfig.dev.json +17 -17
  102. package/tsconfig.json +13 -13
  103. package/tsconfig.prod.json +13 -13
  104. package/vite.config.js +44 -44
@@ -1,19 +1,19 @@
1
- import type { DataFormatterFile } from '../types'
2
-
3
- export const DF_LINE_AREAS_3_SERIES_SLOT: DataFormatterFile<'grid'> = {
4
- id: 'DF_LINE_AREAS_3_SERIES_SLOT',
5
- chartType: 'grid',
6
- description: 'LineAreas 3個Series Slot',
7
- data: {
8
- grid: {
9
- seriesSlotIndexes: [0, 1, 2],
10
- groupAxis: {
11
- scalePadding: 0
12
- }
13
- },
14
- container: {
15
- rowAmount: 1,
16
- columnAmount: 3,
17
- }
18
- }
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_LINE_AREAS_3_SERIES_SLOT: DataFormatterFile<'grid'> = {
4
+ id: 'DF_LINE_AREAS_3_SERIES_SLOT',
5
+ chartType: 'grid',
6
+ description: 'LineAreas 3個Series Slot',
7
+ data: {
8
+ grid: {
9
+ seriesSlotIndexes: [0, 1, 2],
10
+ groupAxis: {
11
+ scalePadding: 0
12
+ }
13
+ },
14
+ container: {
15
+ rowAmount: 1,
16
+ columnAmount: 3,
17
+ }
18
+ }
19
19
  }
@@ -1,19 +1,19 @@
1
- import type { DataFormatterFile } from '../types'
2
-
3
- export const DF_LINE_AREAS_4_SERIES_SLOT: DataFormatterFile<'grid'> = {
4
- id: 'DF_LINE_AREAS_4_SERIES_SLOT',
5
- chartType: 'grid',
6
- description: 'LineAreas 4個Series Slot',
7
- data: {
8
- grid: {
9
- seriesSlotIndexes: [0, 1, 2, 3],
10
- groupAxis: {
11
- scalePadding: 0
12
- }
13
- },
14
- container: {
15
- rowAmount: 2,
16
- columnAmount: 2,
17
- }
18
- }
1
+ import type { DataFormatterFile } from '../types'
2
+
3
+ export const DF_LINE_AREAS_4_SERIES_SLOT: DataFormatterFile<'grid'> = {
4
+ id: 'DF_LINE_AREAS_4_SERIES_SLOT',
5
+ chartType: 'grid',
6
+ description: 'LineAreas 4個Series Slot',
7
+ data: {
8
+ grid: {
9
+ seriesSlotIndexes: [0, 1, 2, 3],
10
+ groupAxis: {
11
+ scalePadding: 0
12
+ }
13
+ },
14
+ container: {
15
+ rowAmount: 2,
16
+ columnAmount: 2,
17
+ }
18
+ }
19
19
  }
@@ -1,10 +1,10 @@
1
- export { DF_GRID_BOTTOM_VALUE_AXIS } from './DF_GRID_BOTTOM_VALUE_AXIS'
2
- export { DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING } from './DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING'
3
- export { DF_GRID_2_SERIES_SLOT } from './DF_GRID_2_SERIES_SLOT'
4
- export { DF_GRID_3_SERIES_SLOT } from './DF_GRID_3_SERIES_SLOT'
5
- export { DF_GRID_4_SERIES_SLOT } from './DF_GRID_4_SERIES_SLOT'
6
- export { DF_GRID_DIVERGING_SCALE } from './DF_GRID_DIVERGING_SCALE'
7
- export { DF_GRID_NONE_GROUP_SCALE_PADDING } from './DF_GRID_NONE_GROUP_SCALE_PADDING'
8
- export { DF_LINE_AREAS_2_SERIES_SLOT } from './DF_LINE_AREAS_2_SERIES_SLOT'
9
- export { DF_LINE_AREAS_3_SERIES_SLOT } from './DF_LINE_AREAS_3_SERIES_SLOT'
1
+ export { DF_GRID_BOTTOM_VALUE_AXIS } from './DF_GRID_BOTTOM_VALUE_AXIS'
2
+ export { DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING } from './DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING'
3
+ export { DF_GRID_2_SERIES_SLOT } from './DF_GRID_2_SERIES_SLOT'
4
+ export { DF_GRID_3_SERIES_SLOT } from './DF_GRID_3_SERIES_SLOT'
5
+ export { DF_GRID_4_SERIES_SLOT } from './DF_GRID_4_SERIES_SLOT'
6
+ export { DF_GRID_DIVERGING_SCALE } from './DF_GRID_DIVERGING_SCALE'
7
+ export { DF_GRID_NONE_GROUP_SCALE_PADDING } from './DF_GRID_NONE_GROUP_SCALE_PADDING'
8
+ export { DF_LINE_AREAS_2_SERIES_SLOT } from './DF_LINE_AREAS_2_SERIES_SLOT'
9
+ export { DF_LINE_AREAS_3_SERIES_SLOT } from './DF_LINE_AREAS_3_SERIES_SLOT'
10
10
  export { DF_LINE_AREAS_4_SERIES_SLOT } from './DF_LINE_AREAS_4_SERIES_SLOT'
@@ -1,15 +1,15 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { BarsParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_BARS_ROUND: PluginParamsFile<BarsParams> = {
5
- id: 'PP_BARS_ROUND',
6
- chartType: 'grid',
7
- pluginName: 'Bars',
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 { BarsParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_BARS_ROUND: PluginParamsFile<BarsParams> = {
5
+ id: 'PP_BARS_ROUND',
6
+ chartType: 'grid',
7
+ pluginName: 'Bars',
8
+ description: '圓角長條圖',
9
+ data: {
10
+ barWidth: 0,
11
+ barPadding: 1,
12
+ barGroupPadding: 10,
13
+ barRadius: true,
14
+ }
15
15
  }
@@ -1,14 +1,14 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { BarsParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_BARS_THIN: PluginParamsFile<BarsParams> = {
5
- id: 'PP_BARS_THIN',
6
- chartType: 'grid',
7
- pluginName: 'Bars',
8
- description: '圓角長條圖',
9
- data: {
10
- barWidth: 20,
11
- barPadding: 1,
12
- barGroupPadding: 10
13
- }
14
- }
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { BarsParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_BARS_THIN: PluginParamsFile<BarsParams> = {
5
+ id: 'PP_BARS_THIN',
6
+ chartType: 'grid',
7
+ pluginName: 'Bars',
8
+ description: '圓角長條圖',
9
+ data: {
10
+ barWidth: 20,
11
+ barPadding: 1,
12
+ barGroupPadding: 10
13
+ }
14
+ }
@@ -1,2 +1,2 @@
1
- export { PP_BARS_ROUND } from './PP_BARS_ROUND'
1
+ export { PP_BARS_ROUND } from './PP_BARS_ROUND'
2
2
  export { PP_BARS_THIN } from './PP_BARS_THIN'
@@ -1,12 +1,12 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { DotsParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_DOTS_ONLY_SHOW_HIGHLIGHTED: PluginParamsFile<DotsParams> = {
5
- id: 'PP_DOTS_ONLY_SHOW_HIGHLIGHTED',
6
- chartType: 'grid',
7
- pluginName: 'Dots',
8
- description: '顯示highlight圓點',
9
- data: {
10
- onlyShowHighlighted: false
11
- }
12
- }
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { DotsParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_DOTS_ONLY_SHOW_HIGHLIGHTED: PluginParamsFile<DotsParams> = {
5
+ id: 'PP_DOTS_ONLY_SHOW_HIGHLIGHTED',
6
+ chartType: 'grid',
7
+ pluginName: 'Dots',
8
+ description: '顯示highlight圓點',
9
+ data: {
10
+ onlyShowHighlighted: false
11
+ }
12
+ }
@@ -1,14 +1,14 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { DotsParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_DOTS_SOLID: PluginParamsFile<DotsParams> = {
5
- id: 'PP_DOTS_SOLID',
6
- chartType: 'grid',
7
- pluginName: 'Dots',
8
- description: '實心圓點',
9
- data: {
10
- radius: 3,
11
- fillColorType: 'series',
12
- onlyShowHighlighted: false
13
- }
14
- }
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { DotsParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_DOTS_SOLID: PluginParamsFile<DotsParams> = {
5
+ id: 'PP_DOTS_SOLID',
6
+ chartType: 'grid',
7
+ pluginName: 'Dots',
8
+ description: '實心圓點',
9
+ data: {
10
+ radius: 3,
11
+ fillColorType: 'series',
12
+ onlyShowHighlighted: false
13
+ }
14
+ }
@@ -1,2 +1,2 @@
1
- export { PP_DOTS_ONLY_SHOW_HIGHLIGHTED } from './PP_DOTS_ONLY_SHOW_HIGHLIGHTED'
1
+ export { PP_DOTS_ONLY_SHOW_HIGHLIGHTED } from './PP_DOTS_ONLY_SHOW_HIGHLIGHTED'
2
2
  export { PP_DOTS_SOLID } from './PP_DOTS_SOLID'
@@ -1,14 +1,14 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { GridLegendParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_GRID_LEGEND_BOTTOM: PluginParamsFile<GridLegendParams> = {
5
- id: 'PP_GRID_LEGEND_BOTTOM',
6
- chartType: 'grid',
7
- pluginName: 'GridLegend',
8
- description: '底部圖例',
9
- data: {
10
- position: 'bottom',
11
- justify: 'center',
12
- padding: 14,
13
- }
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { GridLegendParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_GRID_LEGEND_BOTTOM: PluginParamsFile<GridLegendParams> = {
5
+ id: 'PP_GRID_LEGEND_BOTTOM',
6
+ chartType: 'grid',
7
+ pluginName: 'GridLegend',
8
+ description: '底部圖例',
9
+ data: {
10
+ position: 'bottom',
11
+ justify: 'center',
12
+ padding: 14,
13
+ }
14
14
  }
@@ -1,15 +1,15 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { GridLegendParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST: PluginParamsFile<GridLegendParams> = {
5
- id: 'PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST',
6
- chartType: 'grid',
7
- pluginName: 'GridLegend',
8
- description: '底部圖例及線條列點',
9
- data: {
10
- position: 'bottom',
11
- justify: 'center',
12
- padding: 14,
13
- listRectHeight: 2
14
- }
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { GridLegendParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST: PluginParamsFile<GridLegendParams> = {
5
+ id: 'PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST',
6
+ chartType: 'grid',
7
+ pluginName: 'GridLegend',
8
+ description: '底部圖例及線條列點',
9
+ data: {
10
+ position: 'bottom',
11
+ justify: 'center',
12
+ padding: 14,
13
+ listRectHeight: 2
14
+ }
15
15
  }
@@ -1,15 +1,15 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { GridLegendParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST: PluginParamsFile<GridLegendParams> = {
5
- id: 'PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST',
6
- chartType: 'grid',
7
- pluginName: 'GridLegend',
8
- description: '底部圖例及圓弧列點',
9
- data: {
10
- position: 'bottom',
11
- justify: 'center',
12
- padding: 14,
13
- listRectRadius: 7,
14
- }
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { GridLegendParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST: PluginParamsFile<GridLegendParams> = {
5
+ id: 'PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST',
6
+ chartType: 'grid',
7
+ pluginName: 'GridLegend',
8
+ description: '底部圖例及圓弧列點',
9
+ data: {
10
+ position: 'bottom',
11
+ justify: 'center',
12
+ padding: 14,
13
+ listRectRadius: 7,
14
+ }
15
15
  }
@@ -1,3 +1,3 @@
1
- export { PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST } from './PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'
2
- export { PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST } from './PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST'
1
+ export { PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST } from './PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST'
2
+ export { PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST } from './PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST'
3
3
  export { PP_GRID_LEGEND_BOTTOM } from './PP_GRID_LEGEND_BOTTOM'
@@ -1,13 +1,13 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { GroupAxisParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_GROUP_AXIS_ROTATE_LABEL: PluginParamsFile<GroupAxisParams> = {
5
- id: 'PP_GROUP_AXIS_ROTATE_LABEL',
6
- chartType: 'grid',
7
- pluginName: 'GroupAxis',
8
- description: '群組圖軸標籤文字傾斜',
9
- data: {
10
- tickPadding: 15,
11
- tickTextRotate: -30
12
- }
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { GroupAxisParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_GROUP_AXIS_ROTATE_LABEL: PluginParamsFile<GroupAxisParams> = {
5
+ id: 'PP_GROUP_AXIS_ROTATE_LABEL',
6
+ chartType: 'grid',
7
+ pluginName: 'GroupAxis',
8
+ description: '群組圖軸標籤文字傾斜',
9
+ data: {
10
+ tickPadding: 15,
11
+ tickTextRotate: -30
12
+ }
13
13
  }
@@ -1,12 +1,12 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { LineAreasParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_LINE_AREAS_CURVE: PluginParamsFile<LineAreasParams> = {
5
- id: 'PP_LINE_AREAS_CURVE',
6
- chartType: 'grid',
7
- pluginName: 'LineAreas',
8
- description: '圓弧折線圖',
9
- data: {
10
- lineCurve: 'curveMonotoneX',
11
- }
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { LineAreasParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_LINE_AREAS_CURVE: PluginParamsFile<LineAreasParams> = {
5
+ id: 'PP_LINE_AREAS_CURVE',
6
+ chartType: 'grid',
7
+ pluginName: 'LineAreas',
8
+ description: '圓弧折線圖',
9
+ data: {
10
+ lineCurve: 'curveMonotoneX',
11
+ }
12
12
  }
@@ -1,13 +1,13 @@
1
- import type { PluginParamsFile } from '../../types'
2
- import type { LinesParams } from '@orbcharts/plugins-basic'
3
-
4
- export const PP_LINES_CURVE: PluginParamsFile<LinesParams> = {
5
- id: 'PP_LINES_CURVE',
6
- chartType: 'grid',
7
- pluginName: 'Lines',
8
- description: '圓弧折線圖',
9
- data: {
10
- lineCurve: 'curveMonotoneX',
11
- lineWidth: 3
12
- }
1
+ import type { PluginParamsFile } from '../../types'
2
+ import type { LinesParams } from '@orbcharts/plugins-basic'
3
+
4
+ export const PP_LINES_CURVE: PluginParamsFile<LinesParams> = {
5
+ id: 'PP_LINES_CURVE',
6
+ chartType: 'grid',
7
+ pluginName: 'Lines',
8
+ description: '圓弧折線圖',
9
+ data: {
10
+ lineCurve: 'curveMonotoneX',
11
+ lineWidth: 3
12
+ }
13
13
  }
@@ -1,7 +1,7 @@
1
- export * from './Bars'
2
- export * from './Dots'
3
- export * from './GridLegend'
4
- export * from './GroupAxis'
5
- export * from './Lines'
6
- export * from './LineAreas'
1
+ export * from './Bars'
2
+ export * from './Dots'
3
+ export * from './GridLegend'
4
+ export * from './GroupAxis'
5
+ export * from './Lines'
6
+ export * from './LineAreas'
7
7
  // export * from './ValueAxis'