@orbcharts/presets-basic 3.0.0-alpha.20 → 3.0.0-alpha.21
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 +244 -213
- package/dist/orbcharts-presets-basic.umd.js +1 -1
- package/dist/src/gridDataFormatterFiles/DF_GRID_PN_SCALE.d.ts +3 -0
- package/dist/src/gridDataFormatterFiles/index.d.ts +1 -1
- package/dist/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_LOOSE_TICKS.d.ts +4 -0
- package/dist/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_TENSE_TICKS.d.ts +4 -0
- package/dist/src/gridPluginParamsFiles/GroupAxis/index.d.ts +2 -0
- package/dist/src/index.d.ts +3 -1
- 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_LONG_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 +13 -13
- package/src/createPreset.ts +87 -87
- package/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.ts +16 -16
- package/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.ts +16 -16
- package/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.ts +16 -16
- 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_NONE_GROUP_SCALE_PADDING.ts +13 -13
- package/src/gridDataFormatterFiles/{DF_GRID_DIVERGING_SCALE.ts → DF_GRID_PN_SCALE.ts} +14 -14
- package/src/gridDataFormatterFiles/DF_GRID_SEPARATE_SERIES.ts +16 -16
- package/src/gridDataFormatterFiles/DF_LINE_AREAS_2_SERIES_SLOT.ts +19 -19
- package/src/gridDataFormatterFiles/DF_LINE_AREAS_3_SERIES_SLOT.ts +19 -19
- package/src/gridDataFormatterFiles/DF_LINE_AREAS_4_SERIES_SLOT.ts +19 -19
- package/src/gridDataFormatterFiles/DF_LINE_AREAS_SEPARATE_SERIES.ts +19 -19
- package/src/gridDataFormatterFiles/index.ts +12 -12
- 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_LOOSE_TICKS.ts +12 -0
- package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.ts +12 -12
- package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_TENSE_TICKS.ts +14 -0
- package/src/gridPluginParamsFiles/GroupAxis/index.ts +3 -1
- 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 +403 -382
- package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.ts +21 -21
- package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.ts +24 -24
- package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.ts +27 -27
- package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_DIVERGING.ts +35 -35
- package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_PN.ts +35 -35
- package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_SEPARATE_GRID.ts +21 -21
- package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_2_GRID_SLOT.ts +27 -27
- package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_3_GRID_SLOT.ts +33 -33
- package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_4_GRID_SLOT.ts +39 -39
- package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_SEPARATE_GRID.ts +27 -27
- package/src/multiGridDataFormatterFiles/index.ts +9 -9
- 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 +11 -11
- package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_3_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_4_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiDots/index.ts +2 -2
- 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/PP_MULTI_GROUP_AXIS_DIVERGING.ts +12 -12
- package/src/multiGridPluginParamsFiles/MultiGroupAxis/index.ts +4 -4
- package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_2_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_3_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_4_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_CURVE.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiLineAreas/index.ts +3 -3
- 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/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_2_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_3_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_4_GRID_SLOT.ts +11 -11
- package/src/multiGridPluginParamsFiles/MultiValueStackAxis/index.ts +3 -3
- package/src/multiGridPluginParamsFiles/index.ts +9 -9
- package/src/seriesDataFormatterFiles/DF_SERIES_DESC.ts +9 -9
- package/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES.ts +9 -9
- package/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_DESC.ts +10 -10
- package/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.ts +10 -10
- package/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES.ts +9 -9
- package/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES_AND_DESC.ts +10 -10
- package/src/seriesDataFormatterFiles/index.ts +8 -8
- 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/Rose/PP_ROSE_SCALING_BY_RADIUS.ts +11 -11
- package/src/seriesPluginParamsFiles/Rose/index.ts +2 -2
- package/src/seriesPluginParamsFiles/RoseLabels/PP_ROSE_LABELS_SCALING_BY_RADIUS.ts +11 -11
- package/src/seriesPluginParamsFiles/RoseLabels/index.ts +1 -1
- package/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.ts +11 -11
- package/src/seriesPluginParamsFiles/index.ts +5 -5
- 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
- package/dist/src/gridDataFormatterFiles/DF_GRID_DIVERGING_SCALE.d.ts +0 -3
@@ -1,12 +1,12 @@
|
|
1
|
-
import type { PluginParamsFile } from '../../types'
|
2
|
-
import type { MultiLineAreasParams } from '@orbcharts/plugins-basic'
|
3
|
-
|
4
|
-
export const PP_MULTI_LINE_AREAS_3_GRID_SLOT: PluginParamsFile<MultiLineAreasParams> = {
|
5
|
-
id: 'PP_MULTI_LINE_AREAS_3_GRID_SLOT',
|
6
|
-
chartType: 'multiGrid',
|
7
|
-
pluginName: 'MultiLineAreas',
|
8
|
-
description: '3組折線圖',
|
9
|
-
data: {
|
10
|
-
gridIndexes: [0, 1, 2]
|
11
|
-
}
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiLineAreasParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_LINE_AREAS_3_GRID_SLOT: PluginParamsFile<MultiLineAreasParams> = {
|
5
|
+
id: 'PP_MULTI_LINE_AREAS_3_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiLineAreas',
|
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 { MultiLineAreasParams } from '@orbcharts/plugins-basic'
|
3
|
-
|
4
|
-
export const PP_MULTI_LINE_AREAS_4_GRID_SLOT: PluginParamsFile<MultiLineAreasParams> = {
|
5
|
-
id: 'PP_MULTI_LINE_AREAS_4_GRID_SLOT',
|
6
|
-
chartType: 'multiGrid',
|
7
|
-
pluginName: 'MultiLineAreas',
|
8
|
-
description: '4組折線圖',
|
9
|
-
data: {
|
10
|
-
gridIndexes: [0, 1, 2, 3]
|
11
|
-
}
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiLineAreasParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_LINE_AREAS_4_GRID_SLOT: PluginParamsFile<MultiLineAreasParams> = {
|
5
|
+
id: 'PP_MULTI_LINE_AREAS_4_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiLineAreas',
|
8
|
+
description: '4組折線圖',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1, 2, 3]
|
11
|
+
}
|
12
12
|
}
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import type { PluginParamsFile } from '../../types'
|
2
|
-
import type { MultiLineAreasParams } from '@orbcharts/plugins-basic'
|
3
|
-
|
4
|
-
export const PP_MULTI_LINE_AREAS_CURVE: PluginParamsFile<MultiLineAreasParams> = {
|
5
|
-
id: 'PP_MULTI_LINE_AREAS_CURVE',
|
6
|
-
chartType: 'multiGrid',
|
7
|
-
pluginName: 'MultiLineAreas',
|
8
|
-
description: '圓弧折線圖',
|
9
|
-
data: {
|
10
|
-
lineCurve: 'curveMonotoneX',
|
11
|
-
}
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiLineAreasParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_LINE_AREAS_CURVE: PluginParamsFile<MultiLineAreasParams> = {
|
5
|
+
id: 'PP_MULTI_LINE_AREAS_CURVE',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiLineAreas',
|
8
|
+
description: '圓弧折線圖',
|
9
|
+
data: {
|
10
|
+
lineCurve: 'curveMonotoneX',
|
11
|
+
}
|
12
12
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export { PP_MULTI_LINE_AREAS_2_GRID_SLOT } from './PP_MULTI_LINE_AREAS_2_GRID_SLOT'
|
2
|
-
export { PP_MULTI_LINE_AREAS_3_GRID_SLOT } from './PP_MULTI_LINE_AREAS_3_GRID_SLOT'
|
3
|
-
export { PP_MULTI_LINE_AREAS_4_GRID_SLOT } from './PP_MULTI_LINE_AREAS_4_GRID_SLOT'
|
1
|
+
export { PP_MULTI_LINE_AREAS_2_GRID_SLOT } from './PP_MULTI_LINE_AREAS_2_GRID_SLOT'
|
2
|
+
export { PP_MULTI_LINE_AREAS_3_GRID_SLOT } from './PP_MULTI_LINE_AREAS_3_GRID_SLOT'
|
3
|
+
export { PP_MULTI_LINE_AREAS_4_GRID_SLOT } from './PP_MULTI_LINE_AREAS_4_GRID_SLOT'
|
4
4
|
export { PP_MULTI_LINE_AREAS_CURVE } from './PP_MULTI_LINE_AREAS_CURVE'
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import type { PluginParamsFile } from '../../types'
|
2
|
-
import type { MultiLinesParams } from '@orbcharts/plugins-basic'
|
3
|
-
|
4
|
-
export const PP_MULTI_LINES_2_GRID_SLOT: PluginParamsFile<MultiLinesParams> = {
|
5
|
-
id: 'PP_MULTI_LINES_2_GRID_SLOT',
|
6
|
-
chartType: 'multiGrid',
|
7
|
-
pluginName: 'MultiLines',
|
8
|
-
description: '2組折線圖',
|
9
|
-
data: {
|
10
|
-
gridIndexes: [0, 1]
|
11
|
-
}
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiLinesParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_LINES_2_GRID_SLOT: PluginParamsFile<MultiLinesParams> = {
|
5
|
+
id: 'PP_MULTI_LINES_2_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiLines',
|
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 { MultiLinesParams } from '@orbcharts/plugins-basic'
|
3
|
-
|
4
|
-
export const PP_MULTI_LINES_3_GRID_SLOT: PluginParamsFile<MultiLinesParams> = {
|
5
|
-
id: 'PP_MULTI_LINES_3_GRID_SLOT',
|
6
|
-
chartType: 'multiGrid',
|
7
|
-
pluginName: 'MultiLines',
|
8
|
-
description: '3組折線圖',
|
9
|
-
data: {
|
10
|
-
gridIndexes: [0, 1, 2]
|
11
|
-
}
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiLinesParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_LINES_3_GRID_SLOT: PluginParamsFile<MultiLinesParams> = {
|
5
|
+
id: 'PP_MULTI_LINES_3_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiLines',
|
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 { MultiLinesParams } from '@orbcharts/plugins-basic'
|
3
|
-
|
4
|
-
export const PP_MULTI_LINES_4_GRID_SLOT: PluginParamsFile<MultiLinesParams> = {
|
5
|
-
id: 'PP_MULTI_LINES_4_GRID_SLOT',
|
6
|
-
chartType: 'multiGrid',
|
7
|
-
pluginName: 'MultiLines',
|
8
|
-
description: '4組折線圖',
|
9
|
-
data: {
|
10
|
-
gridIndexes: [0, 1, 2, 3]
|
11
|
-
}
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiLinesParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_LINES_4_GRID_SLOT: PluginParamsFile<MultiLinesParams> = {
|
5
|
+
id: 'PP_MULTI_LINES_4_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiLines',
|
8
|
+
description: '4組折線圖',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1, 2, 3]
|
11
|
+
}
|
12
12
|
}
|
@@ -1,13 +1,13 @@
|
|
1
|
-
import type { PluginParamsFile } from '../../types'
|
2
|
-
import type { MultiLinesParams } from '@orbcharts/plugins-basic'
|
3
|
-
|
4
|
-
export const PP_MULTI_LINES_CURVE: PluginParamsFile<MultiLinesParams> = {
|
5
|
-
id: 'PP_MULTI_LINES_CURVE',
|
6
|
-
chartType: 'multiGrid',
|
7
|
-
pluginName: 'MultiLines',
|
8
|
-
description: '圓弧折線圖',
|
9
|
-
data: {
|
10
|
-
lineCurve: 'curveMonotoneX',
|
11
|
-
lineWidth: 3
|
12
|
-
}
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiLinesParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_LINES_CURVE: PluginParamsFile<MultiLinesParams> = {
|
5
|
+
id: 'PP_MULTI_LINES_CURVE',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiLines',
|
8
|
+
description: '圓弧折線圖',
|
9
|
+
data: {
|
10
|
+
lineCurve: 'curveMonotoneX',
|
11
|
+
lineWidth: 3
|
12
|
+
}
|
13
13
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export { PP_MULTI_LINES_2_GRID_SLOT } from './PP_MULTI_LINES_2_GRID_SLOT'
|
2
|
-
export { PP_MULTI_LINES_3_GRID_SLOT } from './PP_MULTI_LINES_3_GRID_SLOT'
|
3
|
-
export { PP_MULTI_LINES_4_GRID_SLOT } from './PP_MULTI_LINES_4_GRID_SLOT'
|
1
|
+
export { PP_MULTI_LINES_2_GRID_SLOT } from './PP_MULTI_LINES_2_GRID_SLOT'
|
2
|
+
export { PP_MULTI_LINES_3_GRID_SLOT } from './PP_MULTI_LINES_3_GRID_SLOT'
|
3
|
+
export { PP_MULTI_LINES_4_GRID_SLOT } from './PP_MULTI_LINES_4_GRID_SLOT'
|
4
4
|
export { PP_MULTI_LINES_CURVE } from './PP_MULTI_LINES_CURVE'
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import type { PluginParamsFile } from '../../types'
|
2
|
-
import type { MultiGroupAxisParams } from '@orbcharts/plugins-basic'
|
3
|
-
|
4
|
-
export const PP_MULTI_VALUE_AXIS_2_GRID_SLOT: PluginParamsFile<MultiGroupAxisParams> = {
|
5
|
-
id: 'PP_MULTI_VALUE_AXIS_2_GRID_SLOT',
|
6
|
-
chartType: 'multiGrid',
|
7
|
-
pluginName: 'MultiValueAxis',
|
8
|
-
description: '2個資料圖軸',
|
9
|
-
data: {
|
10
|
-
gridIndexes: [0, 1]
|
11
|
-
}
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiGroupAxisParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_VALUE_AXIS_2_GRID_SLOT: PluginParamsFile<MultiGroupAxisParams> = {
|
5
|
+
id: 'PP_MULTI_VALUE_AXIS_2_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiValueAxis',
|
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 { MultiValueAxisParams } from '@orbcharts/plugins-basic'
|
3
|
-
|
4
|
-
export const PP_MULTI_VALUE_AXIS_3_GRID_SLOT: PluginParamsFile<MultiValueAxisParams> = {
|
5
|
-
id: 'PP_MULTI_VALUE_AXIS_3_GRID_SLOT',
|
6
|
-
chartType: 'multiGrid',
|
7
|
-
pluginName: 'MultiValueAxis',
|
8
|
-
description: '3個資料圖軸',
|
9
|
-
data: {
|
10
|
-
gridIndexes: [0, 1, 2]
|
11
|
-
}
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiValueAxisParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_VALUE_AXIS_3_GRID_SLOT: PluginParamsFile<MultiValueAxisParams> = {
|
5
|
+
id: 'PP_MULTI_VALUE_AXIS_3_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiValueAxis',
|
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 { MultiValueAxisParams } from '@orbcharts/plugins-basic'
|
3
|
-
|
4
|
-
export const PP_MULTI_VALUE_AXIS_4_GRID_SLOT: PluginParamsFile<MultiValueAxisParams> = {
|
5
|
-
id: 'PP_MULTI_VALUE_AXIS_4_GRID_SLOT',
|
6
|
-
chartType: 'multiGrid',
|
7
|
-
pluginName: 'MultiValueAxis',
|
8
|
-
description: '4個資料圖軸',
|
9
|
-
data: {
|
10
|
-
gridIndexes: [0, 1, 2, 3]
|
11
|
-
}
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiValueAxisParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_VALUE_AXIS_4_GRID_SLOT: PluginParamsFile<MultiValueAxisParams> = {
|
5
|
+
id: 'PP_MULTI_VALUE_AXIS_4_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiValueAxis',
|
8
|
+
description: '4個資料圖軸',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1, 2, 3]
|
11
|
+
}
|
12
12
|
}
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export { PP_MULTI_VALUE_AXIS_2_GRID_SLOT } from './PP_MULTI_VALUE_AXIS_2_GRID_SLOT'
|
2
|
-
export { PP_MULTI_VALUE_AXIS_3_GRID_SLOT } from './PP_MULTI_VALUE_AXIS_3_GRID_SLOT'
|
3
|
-
export { PP_MULTI_VALUE_AXIS_4_GRID_SLOT } from './PP_MULTI_VALUE_AXIS_4_GRID_SLOT'
|
1
|
+
export { PP_MULTI_VALUE_AXIS_2_GRID_SLOT } from './PP_MULTI_VALUE_AXIS_2_GRID_SLOT'
|
2
|
+
export { PP_MULTI_VALUE_AXIS_3_GRID_SLOT } from './PP_MULTI_VALUE_AXIS_3_GRID_SLOT'
|
3
|
+
export { PP_MULTI_VALUE_AXIS_4_GRID_SLOT } from './PP_MULTI_VALUE_AXIS_4_GRID_SLOT'
|
package/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_2_GRID_SLOT.ts
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
import type { PluginParamsFile } from '../../types'
|
2
|
-
import type { MultiGroupAxisParams } from '@orbcharts/plugins-basic'
|
3
|
-
|
4
|
-
export const PP_MULTI_VALUE_STACK_AXIS_2_GRID_SLOT: PluginParamsFile<MultiGroupAxisParams> = {
|
5
|
-
id: 'PP_MULTI_VALUE_STACK_AXIS_2_GRID_SLOT',
|
6
|
-
chartType: 'multiGrid',
|
7
|
-
pluginName: 'MultiValueStackAxis',
|
8
|
-
description: '2個資料堆疊圖軸',
|
9
|
-
data: {
|
10
|
-
gridIndexes: [0, 1]
|
11
|
-
}
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiGroupAxisParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_VALUE_STACK_AXIS_2_GRID_SLOT: PluginParamsFile<MultiGroupAxisParams> = {
|
5
|
+
id: 'PP_MULTI_VALUE_STACK_AXIS_2_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiValueStackAxis',
|
8
|
+
description: '2個資料堆疊圖軸',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1]
|
11
|
+
}
|
12
12
|
}
|
package/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_3_GRID_SLOT.ts
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
import type { PluginParamsFile } from '../../types'
|
2
|
-
import type { MultiValueAxisParams } from '@orbcharts/plugins-basic'
|
3
|
-
|
4
|
-
export const PP_MULTI_VALUE_STACK_AXIS_3_GRID_SLOT: PluginParamsFile<MultiValueAxisParams> = {
|
5
|
-
id: 'PP_MULTI_VALUE_STACK_AXIS_3_GRID_SLOT',
|
6
|
-
chartType: 'multiGrid',
|
7
|
-
pluginName: 'MultiValueStackAxis',
|
8
|
-
description: '3個資料堆疊圖軸',
|
9
|
-
data: {
|
10
|
-
gridIndexes: [0, 1, 2]
|
11
|
-
}
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiValueAxisParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_VALUE_STACK_AXIS_3_GRID_SLOT: PluginParamsFile<MultiValueAxisParams> = {
|
5
|
+
id: 'PP_MULTI_VALUE_STACK_AXIS_3_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiValueStackAxis',
|
8
|
+
description: '3個資料堆疊圖軸',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1, 2]
|
11
|
+
}
|
12
12
|
}
|
package/src/multiGridPluginParamsFiles/MultiValueStackAxis/PP_MULTI_VALUE_STACK_AXIS_4_GRID_SLOT.ts
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
import type { PluginParamsFile } from '../../types'
|
2
|
-
import type { MultiValueAxisParams } from '@orbcharts/plugins-basic'
|
3
|
-
|
4
|
-
export const PP_MULTI_VALUE_STACK_AXIS_4_GRID_SLOT: PluginParamsFile<MultiValueAxisParams> = {
|
5
|
-
id: 'PP_MULTI_VALUE_STACK_AXIS_4_GRID_SLOT',
|
6
|
-
chartType: 'multiGrid',
|
7
|
-
pluginName: 'MultiValueStackAxis',
|
8
|
-
description: '4個資料堆疊圖軸',
|
9
|
-
data: {
|
10
|
-
gridIndexes: [0, 1, 2, 3]
|
11
|
-
}
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { MultiValueAxisParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_MULTI_VALUE_STACK_AXIS_4_GRID_SLOT: PluginParamsFile<MultiValueAxisParams> = {
|
5
|
+
id: 'PP_MULTI_VALUE_STACK_AXIS_4_GRID_SLOT',
|
6
|
+
chartType: 'multiGrid',
|
7
|
+
pluginName: 'MultiValueStackAxis',
|
8
|
+
description: '4個資料堆疊圖軸',
|
9
|
+
data: {
|
10
|
+
gridIndexes: [0, 1, 2, 3]
|
11
|
+
}
|
12
12
|
}
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export { PP_MULTI_VALUE_STACK_AXIS_2_GRID_SLOT } from './PP_MULTI_VALUE_STACK_AXIS_2_GRID_SLOT'
|
2
|
-
export { PP_MULTI_VALUE_STACK_AXIS_3_GRID_SLOT } from './PP_MULTI_VALUE_STACK_AXIS_3_GRID_SLOT'
|
3
|
-
export { PP_MULTI_VALUE_STACK_AXIS_4_GRID_SLOT } from './PP_MULTI_VALUE_STACK_AXIS_4_GRID_SLOT'
|
1
|
+
export { PP_MULTI_VALUE_STACK_AXIS_2_GRID_SLOT } from './PP_MULTI_VALUE_STACK_AXIS_2_GRID_SLOT'
|
2
|
+
export { PP_MULTI_VALUE_STACK_AXIS_3_GRID_SLOT } from './PP_MULTI_VALUE_STACK_AXIS_3_GRID_SLOT'
|
3
|
+
export { PP_MULTI_VALUE_STACK_AXIS_4_GRID_SLOT } from './PP_MULTI_VALUE_STACK_AXIS_4_GRID_SLOT'
|
@@ -1,10 +1,10 @@
|
|
1
|
-
export * from './MultiBars'
|
2
|
-
export * from './MultiBarStack'
|
3
|
-
export * from './MultiBarsTriangle'
|
4
|
-
export * from './MultiDots'
|
5
|
-
export * from './MultiLines'
|
6
|
-
export * from './MultiLineAreas'
|
7
|
-
export * from './MultiGridLegend'
|
8
|
-
export * from './MultiGroupAxis'
|
9
|
-
export * from './MultiValueAxis'
|
1
|
+
export * from './MultiBars'
|
2
|
+
export * from './MultiBarStack'
|
3
|
+
export * from './MultiBarsTriangle'
|
4
|
+
export * from './MultiDots'
|
5
|
+
export * from './MultiLines'
|
6
|
+
export * from './MultiLineAreas'
|
7
|
+
export * from './MultiGridLegend'
|
8
|
+
export * from './MultiGroupAxis'
|
9
|
+
export * from './MultiValueAxis'
|
10
10
|
export * from './MultiValueStackAxis'
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import type { DataFormatterFile } from '../types'
|
2
|
-
|
3
|
-
export const DF_SERIES_DESC: DataFormatterFile<'series'> = {
|
4
|
-
id: 'DF_SERIES_DESC',
|
5
|
-
chartType: 'series',
|
6
|
-
description: '資料由大到小排序',
|
7
|
-
data: {
|
8
|
-
sort: (a, b) => b.value - a.value
|
9
|
-
}
|
1
|
+
import type { DataFormatterFile } from '../types'
|
2
|
+
|
3
|
+
export const DF_SERIES_DESC: DataFormatterFile<'series'> = {
|
4
|
+
id: 'DF_SERIES_DESC',
|
5
|
+
chartType: 'series',
|
6
|
+
description: '資料由大到小排序',
|
7
|
+
data: {
|
8
|
+
sort: (a, b) => b.value - a.value
|
9
|
+
}
|
10
10
|
}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import type { DataFormatterFile } from '../types'
|
2
|
-
|
3
|
-
export const DF_SERIES_SEPARATE_SERIES: DataFormatterFile<'series'> = {
|
4
|
-
id: 'DF_SERIES_SEPARATE_SERIES',
|
5
|
-
chartType: 'series',
|
6
|
-
description: '分開顯示Series',
|
7
|
-
data: {
|
8
|
-
separateSeries: true
|
9
|
-
}
|
1
|
+
import type { DataFormatterFile } from '../types'
|
2
|
+
|
3
|
+
export const DF_SERIES_SEPARATE_SERIES: DataFormatterFile<'series'> = {
|
4
|
+
id: 'DF_SERIES_SEPARATE_SERIES',
|
5
|
+
chartType: 'series',
|
6
|
+
description: '分開顯示Series',
|
7
|
+
data: {
|
8
|
+
separateSeries: true
|
9
|
+
}
|
10
10
|
}
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import type { DataFormatterFile } from '../types'
|
2
|
-
|
3
|
-
export const DF_SERIES_SEPARATE_SERIES_AND_DESC: DataFormatterFile<'series'> = {
|
4
|
-
id: 'DF_SERIES_SEPARATE_SERIES_AND_DESC',
|
5
|
-
chartType: 'series',
|
6
|
-
description: '分開顯示Series並排序',
|
7
|
-
data: {
|
8
|
-
separateSeries: true,
|
9
|
-
sort: (a, b) => b.value - a.value
|
10
|
-
}
|
1
|
+
import type { DataFormatterFile } from '../types'
|
2
|
+
|
3
|
+
export const DF_SERIES_SEPARATE_SERIES_AND_DESC: DataFormatterFile<'series'> = {
|
4
|
+
id: 'DF_SERIES_SEPARATE_SERIES_AND_DESC',
|
5
|
+
chartType: 'series',
|
6
|
+
description: '分開顯示Series並排序',
|
7
|
+
data: {
|
8
|
+
separateSeries: true,
|
9
|
+
sort: (a, b) => b.value - a.value
|
10
|
+
}
|
11
11
|
}
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import type { DataFormatterFile } from '../types'
|
2
|
-
|
3
|
-
export const DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES: DataFormatterFile<'series'> = {
|
4
|
-
id: 'DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES',
|
5
|
-
chartType: 'series',
|
6
|
-
description: '分開顯示Series並合併Series資料',
|
7
|
-
data: {
|
8
|
-
separateSeries: true,
|
9
|
-
sumSeries: true,
|
10
|
-
}
|
1
|
+
import type { DataFormatterFile } from '../types'
|
2
|
+
|
3
|
+
export const DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES: DataFormatterFile<'series'> = {
|
4
|
+
id: 'DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES',
|
5
|
+
chartType: 'series',
|
6
|
+
description: '分開顯示Series並合併Series資料',
|
7
|
+
data: {
|
8
|
+
separateSeries: true,
|
9
|
+
sumSeries: true,
|
10
|
+
}
|
11
11
|
}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import type { DataFormatterFile } from '../types'
|
2
|
-
|
3
|
-
export const DF_SERIES_SUM_SERIES: DataFormatterFile<'series'> = {
|
4
|
-
id: 'DF_SERIES_SUM_SERIES',
|
5
|
-
chartType: 'series',
|
6
|
-
description: '合併Series資料',
|
7
|
-
data: {
|
8
|
-
sumSeries: true
|
9
|
-
}
|
1
|
+
import type { DataFormatterFile } from '../types'
|
2
|
+
|
3
|
+
export const DF_SERIES_SUM_SERIES: DataFormatterFile<'series'> = {
|
4
|
+
id: 'DF_SERIES_SUM_SERIES',
|
5
|
+
chartType: 'series',
|
6
|
+
description: '合併Series資料',
|
7
|
+
data: {
|
8
|
+
sumSeries: true
|
9
|
+
}
|
10
10
|
}
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import type { DataFormatterFile } from '../types'
|
2
|
-
|
3
|
-
export const DF_SERIES_SUM_SERIES_AND_DESC: DataFormatterFile<'series'> = {
|
4
|
-
id: 'DF_SERIES_SUM_SERIES_AND_DESC',
|
5
|
-
chartType: 'series',
|
6
|
-
description: '合併Series資料並排序',
|
7
|
-
data: {
|
8
|
-
sumSeries: true,
|
9
|
-
sort: (a, b) => b.value - a.value
|
10
|
-
}
|
1
|
+
import type { DataFormatterFile } from '../types'
|
2
|
+
|
3
|
+
export const DF_SERIES_SUM_SERIES_AND_DESC: DataFormatterFile<'series'> = {
|
4
|
+
id: 'DF_SERIES_SUM_SERIES_AND_DESC',
|
5
|
+
chartType: 'series',
|
6
|
+
description: '合併Series資料並排序',
|
7
|
+
data: {
|
8
|
+
sumSeries: true,
|
9
|
+
sort: (a, b) => b.value - a.value
|
10
|
+
}
|
11
11
|
}
|
@@ -1,8 +1,8 @@
|
|
1
|
-
export { DF_SERIES_DESC } from './DF_SERIES_DESC'
|
2
|
-
export { DF_SERIES_SEPARATE_SERIES } from './DF_SERIES_SEPARATE_SERIES'
|
3
|
-
export { DF_SERIES_SEPARATE_SERIES_AND_DESC } from './DF_SERIES_SEPARATE_SERIES_AND_DESC'
|
4
|
-
export { DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES } from './DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES'
|
5
|
-
export { DF_SERIES_SUM_SERIES } from './DF_SERIES_SUM_SERIES'
|
6
|
-
export { DF_SERIES_SUM_SERIES_AND_DESC } from './DF_SERIES_SUM_SERIES_AND_DESC'
|
7
|
-
|
8
|
-
|
1
|
+
export { DF_SERIES_DESC } from './DF_SERIES_DESC'
|
2
|
+
export { DF_SERIES_SEPARATE_SERIES } from './DF_SERIES_SEPARATE_SERIES'
|
3
|
+
export { DF_SERIES_SEPARATE_SERIES_AND_DESC } from './DF_SERIES_SEPARATE_SERIES_AND_DESC'
|
4
|
+
export { DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES } from './DF_SERIES_SEPARATE_SERIES_AND_SUM_SERIES'
|
5
|
+
export { DF_SERIES_SUM_SERIES } from './DF_SERIES_SUM_SERIES'
|
6
|
+
export { DF_SERIES_SUM_SERIES_AND_DESC } from './DF_SERIES_SUM_SERIES_AND_DESC'
|
7
|
+
|
8
|
+
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import type { PluginParamsFile } from '../../types'
|
2
|
-
import type { BubblesParams } from '@orbcharts/plugins-basic'
|
3
|
-
|
4
|
-
export const PP_BUBBLES_SCALING_BY_RADIUS: PluginParamsFile<BubblesParams> = {
|
5
|
-
id: 'PP_BUBBLES_SCALING_BY_RADIUS',
|
6
|
-
chartType: 'series',
|
7
|
-
pluginName: 'Bubbles',
|
8
|
-
description: '以半徑尺寸為比例的泡泡圖',
|
9
|
-
data: {
|
10
|
-
arcScaleType: 'radius'
|
11
|
-
}
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { BubblesParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_BUBBLES_SCALING_BY_RADIUS: PluginParamsFile<BubblesParams> = {
|
5
|
+
id: 'PP_BUBBLES_SCALING_BY_RADIUS',
|
6
|
+
chartType: 'series',
|
7
|
+
pluginName: 'Bubbles',
|
8
|
+
description: '以半徑尺寸為比例的泡泡圖',
|
9
|
+
data: {
|
10
|
+
arcScaleType: 'radius'
|
11
|
+
}
|
12
12
|
}
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import type { PluginParamsFile } from '../../types'
|
2
|
-
import type { PieParams } from '@orbcharts/plugins-basic'
|
3
|
-
|
4
|
-
export const PP_PIE_DONUT: PluginParamsFile<PieParams> = {
|
5
|
-
id: 'PP_PIE_DONUT',
|
6
|
-
chartType: 'series',
|
7
|
-
pluginName: 'Pie',
|
8
|
-
description: '甜甜圈圖',
|
9
|
-
data: {
|
10
|
-
innerRadius: 0.5
|
11
|
-
}
|
12
|
-
}
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { PieParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_PIE_DONUT: PluginParamsFile<PieParams> = {
|
5
|
+
id: 'PP_PIE_DONUT',
|
6
|
+
chartType: 'series',
|
7
|
+
pluginName: 'Pie',
|
8
|
+
description: '甜甜圈圖',
|
9
|
+
data: {
|
10
|
+
innerRadius: 0.5
|
11
|
+
}
|
12
|
+
}
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import type { PluginParamsFile } from '../../types'
|
2
|
-
import type { PieParams } from '@orbcharts/plugins-basic'
|
3
|
-
|
4
|
-
export const PP_PIE_HALF_DONUT: PluginParamsFile<PieParams> = {
|
5
|
-
id: 'PP_PIE_HALF_DONUT',
|
6
|
-
chartType: 'series',
|
7
|
-
pluginName: 'Pie',
|
8
|
-
description: '半圓甜甜圈圖',
|
9
|
-
data: {
|
10
|
-
innerRadius: 0.5,
|
11
|
-
startAngle: - Math.PI / 2,
|
12
|
-
endAngle: Math.PI / 2,
|
13
|
-
}
|
14
|
-
}
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { PieParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_PIE_HALF_DONUT: PluginParamsFile<PieParams> = {
|
5
|
+
id: 'PP_PIE_HALF_DONUT',
|
6
|
+
chartType: 'series',
|
7
|
+
pluginName: 'Pie',
|
8
|
+
description: '半圓甜甜圈圖',
|
9
|
+
data: {
|
10
|
+
innerRadius: 0.5,
|
11
|
+
startAngle: - Math.PI / 2,
|
12
|
+
endAngle: Math.PI / 2,
|
13
|
+
}
|
14
|
+
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export { PP_PIE_DONUT } from './PP_PIE_DONUT'
|
1
|
+
export { PP_PIE_DONUT } from './PP_PIE_DONUT'
|
2
2
|
export { PP_PIE_HALF_DONUT } from './PP_PIE_HALF_DONUT'
|