@orbcharts/presets-basic 3.0.0-alpha.12 → 3.0.0-alpha.13
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +200 -200
- package/dist/orbcharts-presets-basic.es.js +384 -210
- package/dist/orbcharts-presets-basic.umd.js +1 -1
- package/dist/src/index.d.ts +3 -0
- package/dist/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_2_GRID_SLOT.d.ts +3 -0
- package/dist/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_3_GRID_SLOT.d.ts +3 -0
- package/dist/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_4_GRID_SLOT.d.ts +3 -0
- package/dist/src/multiGridDataFormatterFiles/index.d.ts +3 -0
- package/dist/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_2_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_3_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_4_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiDots/index.d.ts +3 -0
- package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_2_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_3_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_4_GRID_SLOT.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_CURVE.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/MultiLineAreas/index.d.ts +4 -0
- package/dist/src/multiGridPluginParamsFiles/index.d.ts +2 -0
- package/package.json +43 -43
- package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.ts +13 -13
- package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.ts +14 -14
- package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.ts +13 -13
- package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.ts +14 -14
- package/src/chartParamsFiles/CP_BOTTOM_PADDING.ts +13 -13
- package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.ts +14 -14
- package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.ts +14 -14
- package/src/chartParamsFiles/CP_BOTTOM_SLIGHT_PADDING.ts +13 -13
- package/src/chartParamsFiles/CP_LEFT_PADDING.ts +13 -13
- package/src/chartParamsFiles/CP_RIGHT_PADDING.ts +13 -13
- package/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.ts +13 -13
- package/src/chartParamsFiles/index.ts +10 -10
- package/src/createPreset.ts +87 -87
- package/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.ts +15 -15
- package/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.ts +15 -15
- package/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.ts +15 -15
- package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.ts +22 -22
- package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING.ts +17 -17
- package/src/gridDataFormatterFiles/DF_GRID_DIVERGING_SCALE.ts +14 -14
- package/src/gridDataFormatterFiles/DF_GRID_NONE_GROUP_SCALE_PADDING.ts +13 -13
- package/src/gridDataFormatterFiles/DF_LINE_AREAS_2_SERIES_SLOT.ts +18 -18
- package/src/gridDataFormatterFiles/DF_LINE_AREAS_3_SERIES_SLOT.ts +18 -18
- package/src/gridDataFormatterFiles/DF_LINE_AREAS_4_SERIES_SLOT.ts +18 -18
- package/src/gridDataFormatterFiles/index.ts +9 -9
- package/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.ts +14 -14
- package/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.ts +14 -14
- package/src/gridPluginParamsFiles/Bars/index.ts +1 -1
- package/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.ts +12 -12
- package/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.ts +14 -14
- package/src/gridPluginParamsFiles/Dots/index.ts +1 -1
- package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.ts +13 -13
- package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +14 -14
- package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.ts +14 -14
- package/src/gridPluginParamsFiles/GridLegend/index.ts +2 -2
- package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.ts +12 -12
- package/src/gridPluginParamsFiles/LineAreas/PP_LINE_AREAS_CURVE.ts +11 -11
- package/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.ts +12 -12
- package/src/gridPluginParamsFiles/index.ts +6 -6
- package/src/index.ts +290 -271
- package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.ts +20 -20
- package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.ts +23 -23
- package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.ts +26 -26
- package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_2_GRID_SLOT.ts +27 -0
- package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_3_GRID_SLOT.ts +33 -0
- package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_4_GRID_SLOT.ts +39 -0
- package/src/multiGridDataFormatterFiles/index.ts +6 -3
- package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiBarStack/index.ts +3 -3
- package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.ts +14 -14
- package/src/multiGridPluginParamsFiles/MultiBars/index.ts +5 -5
- package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.ts +2 -2
- package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_2_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_3_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_4_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiDots/index.ts +3 -0
- package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.ts +13 -13
- package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +27 -27
- package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.ts +20 -20
- package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.ts +21 -21
- package/src/multiGridPluginParamsFiles/MultiGridLegend/index.ts +3 -3
- package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.ts +12 -12
- package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.ts +12 -12
- package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.ts +12 -12
- package/src/multiGridPluginParamsFiles/MultiGroupAxis/index.ts +3 -3
- package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_2_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_3_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_4_GRID_SLOT.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_CURVE.ts +12 -0
- package/src/multiGridPluginParamsFiles/MultiLineAreas/index.ts +4 -0
- package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.ts +12 -12
- package/src/multiGridPluginParamsFiles/MultiLines/index.ts +3 -3
- package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiValueAxis/index.ts +3 -3
- package/src/multiGridPluginParamsFiles/index.ts +8 -6
- package/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.ts +11 -11
- package/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.ts +12 -12
- package/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.ts +14 -14
- package/src/seriesPluginParamsFiles/Pie/index.ts +1 -1
- package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.ts +13 -13
- package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.ts +13 -13
- package/src/seriesPluginParamsFiles/PieLabels/index.ts +1 -1
- package/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.ts +11 -11
- package/src/seriesPluginParamsFiles/index.ts +3 -3
- package/src/treePluginParamsFiles/TreeLegend/PP_TREE_LEGEND_BOTTOM.ts +13 -13
- package/src/types.ts +61 -61
- package/tsconfig.dev.json +17 -17
- package/tsconfig.json +13 -13
- package/tsconfig.prod.json +13 -13
- package/vite.config.js +44 -44
@@ -1,24 +1,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
|
-
container: {
|
20
|
-
rowAmount: 1,
|
21
|
-
columnAmount: 3,
|
22
|
-
}
|
23
|
-
}
|
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
|
+
container: {
|
20
|
+
rowAmount: 1,
|
21
|
+
columnAmount: 3,
|
22
|
+
}
|
23
|
+
}
|
24
24
|
}
|
@@ -1,27 +1,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
|
-
container: {
|
23
|
-
rowAmount: 2,
|
24
|
-
columnAmount: 2,
|
25
|
-
}
|
26
|
-
}
|
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
|
+
container: {
|
23
|
+
rowAmount: 2,
|
24
|
+
columnAmount: 2,
|
25
|
+
}
|
26
|
+
}
|
27
27
|
}
|
@@ -0,0 +1,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
|
+
container: {
|
23
|
+
rowAmount: 1,
|
24
|
+
columnAmount: 2,
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
@@ -0,0 +1,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
|
+
container: {
|
29
|
+
rowAmount: 1,
|
30
|
+
columnAmount: 3,
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
@@ -0,0 +1,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
|
+
container: {
|
35
|
+
rowAmount: 2,
|
36
|
+
columnAmount: 2,
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
@@ -1,3 +1,6 @@
|
|
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'
|
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,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
|
+
|
package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.ts
CHANGED
@@ -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
|
}
|
package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.ts
CHANGED
@@ -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_3_GRID_SLOT: PluginParamsFile<MultiBarsTriangleParams> = {
|
5
|
-
id: 'PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT',
|
6
|
-
chartType: 'multiGrid',
|
7
|
-
pluginName: 'MultiBarsTriangle',
|
8
|
-
description: '3組群組三角長條圖',
|
9
|
-
data: {
|
10
|
-
gridIndexes: [0, 1, 2]
|
11
|
-
}
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiBarsTriangleParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT: PluginParamsFile<MultiBarsTriangleParams> = {
|
5
|
+
id: 'PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiBarsTriangle',
|
8
|
+
description: '3組群組三角長條圖',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1, 2]
|
11
|
+
}
|
12
12
|
}
|
package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.ts
CHANGED
@@ -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_4_GRID_SLOT: PluginParamsFile<MultiBarsTriangleParams> = {
|
5
|
-
id: 'PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT',
|
6
|
-
chartType: 'multiGrid',
|
7
|
-
pluginName: 'MultiBarsTriangle',
|
8
|
-
description: '4組群組三角長條圖',
|
9
|
-
data: {
|
10
|
-
gridIndexes: [0, 1, 2, 3]
|
11
|
-
}
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiBarsTriangleParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT: PluginParamsFile<MultiBarsTriangleParams> = {
|
5
|
+
id: 'PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiBarsTriangle',
|
8
|
+
description: '4組群組三角長條圖',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1, 2, 3]
|
11
|
+
}
|
12
12
|
}
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export { PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT } from './PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT'
|
2
|
-
export { PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT } from './PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT'
|
1
|
+
export { PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT } from './PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT'
|
2
|
+
export { PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT } from './PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT'
|
3
3
|
export { PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT } from './PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT'
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiDotsParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_DOTS_2_GRID_SLOT: PluginParamsFile<MultiDotsParams> = {
|
5
|
+
id: 'PP_MULTI_DOTS_2_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiDots',
|
8
|
+
description: '2組圓點',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1]
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiDotsParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_DOTS_3_GRID_SLOT: PluginParamsFile<MultiDotsParams> = {
|
5
|
+
id: 'PP_MULTI_DOTS_3_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiDots',
|
8
|
+
description: '3組圓點',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1, 2]
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiDotsParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_DOTS_4_GRID_SLOT: PluginParamsFile<MultiDotsParams> = {
|
5
|
+
id: 'PP_MULTI_DOTS_4_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiDots',
|
8
|
+
description: '4組圓點',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1, 2, 3]
|
11
|
+
}
|
12
|
+
}
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import type { PluginParamsFile } from '../../types'
|
2
|
-
import type { GridLegendParams } from '@orbcharts/plugins-basic'
|
3
|
-
|
4
|
-
export const PP_MULTI_GRID_LEGEND_BOTTOM: PluginParamsFile<GridLegendParams> = {
|
5
|
-
id: 'PP_MULTI_GRID_LEGEND_BOTTOM',
|
6
|
-
chartType: 'multiGrid',
|
7
|
-
pluginName: 'MultiGridLegend',
|
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_MULTI_GRID_LEGEND_BOTTOM: PluginParamsFile<GridLegendParams> = {
|
5
|
+
id: 'PP_MULTI_GRID_LEGEND_BOTTOM',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiGridLegend',
|
8
|
+
description: '底部圖例',
|
9
|
+
data: {
|
10
|
+
position: 'bottom',
|
11
|
+
justify: 'center',
|
12
|
+
padding: 14,
|
13
|
+
}
|
14
14
|
}
|
package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts
CHANGED
@@ -1,28 +1,28 @@
|
|
1
|
-
import type { PluginParamsFile } from '../../types'
|
2
|
-
import type { MultiGridLegendParams } from '@orbcharts/plugins-basic'
|
3
|
-
|
4
|
-
export const PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST: PluginParamsFile<MultiGridLegendParams> = {
|
5
|
-
id: 'PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST',
|
6
|
-
chartType: 'multiGrid',
|
7
|
-
pluginName: 'MultiGridLegend',
|
8
|
-
description: '底部圖例線條列點',
|
9
|
-
data: {
|
10
|
-
position: 'bottom',
|
11
|
-
justify: 'center',
|
12
|
-
padding: 14,
|
13
|
-
gridList: [
|
14
|
-
{
|
15
|
-
listRectHeight: 2,
|
16
|
-
},
|
17
|
-
{
|
18
|
-
listRectHeight: 2,
|
19
|
-
},
|
20
|
-
{
|
21
|
-
listRectHeight: 2,
|
22
|
-
},
|
23
|
-
{
|
24
|
-
listRectHeight: 2,
|
25
|
-
}
|
26
|
-
]
|
27
|
-
}
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiGridLegendParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST: PluginParamsFile<MultiGridLegendParams> = {
|
5
|
+
id: 'PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiGridLegend',
|
8
|
+
description: '底部圖例線條列點',
|
9
|
+
data: {
|
10
|
+
position: 'bottom',
|
11
|
+
justify: 'center',
|
12
|
+
padding: 14,
|
13
|
+
gridList: [
|
14
|
+
{
|
15
|
+
listRectHeight: 2,
|
16
|
+
},
|
17
|
+
{
|
18
|
+
listRectHeight: 2,
|
19
|
+
},
|
20
|
+
{
|
21
|
+
listRectHeight: 2,
|
22
|
+
},
|
23
|
+
{
|
24
|
+
listRectHeight: 2,
|
25
|
+
}
|
26
|
+
]
|
27
|
+
}
|
28
28
|
}
|