@orbcharts/presets-basic 3.0.0-alpha.14 → 3.0.0-alpha.16
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/orbcharts-presets-basic/src/chartParamsFiles/CP_LONG_PADDING.d.ts +3 -0
- package/dist/{src → orbcharts-presets-basic/src}/chartParamsFiles/index.d.ts +1 -0
- package/dist/orbcharts-presets-basic/src/gridDataFormatterFiles/DF_GRID_SEPARATE_SERIES.d.ts +3 -0
- package/dist/orbcharts-presets-basic/src/gridDataFormatterFiles/DF_LINE_AREAS_SEPARATE_SERIES.d.ts +3 -0
- package/dist/orbcharts-presets-basic/src/gridDataFormatterFiles/index.d.ts +6 -0
- package/dist/orbcharts-presets-basic/src/index.d.ts +44 -0
- package/dist/orbcharts-presets-basic/src/multiGridDataFormatterFiles/DF_MULTI_GRID_SEPARATE_GRID.d.ts +3 -0
- package/dist/orbcharts-presets-basic/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_SEPARATE_GRID.d.ts +3 -0
- package/dist/orbcharts-presets-basic/src/multiGridDataFormatterFiles/index.d.ts +2 -0
- package/dist/orbcharts-presets-basic/src/seriesDataFormatterFiles/DF_SERIES_DESC.d.ts +3 -0
- package/dist/orbcharts-presets-basic/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES.d.ts +3 -0
- package/dist/orbcharts-presets-basic/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_DESC.d.ts +3 -0
- package/dist/orbcharts-presets-basic/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES.d.ts +3 -0
- package/dist/orbcharts-presets-basic/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES_AND_DESC.d.ts +3 -0
- package/dist/orbcharts-presets-basic/src/seriesDataFormatterFiles/index.d.ts +5 -0
- package/dist/{src → orbcharts-presets-basic/src}/types.d.ts +1 -1
- package/dist/orbcharts-presets-basic.es.js +349 -464
- package/dist/orbcharts-presets-basic.umd.js +1 -1
- package/dist/src/index.d.ts +1 -43
- package/package.json +3 -3
- package/src/chartParamsFiles/CP_LONG_PADDING.ts +14 -0
- package/src/chartParamsFiles/index.ts +3 -1
- package/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.ts +2 -1
- package/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.ts +2 -1
- package/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.ts +2 -1
- package/src/gridDataFormatterFiles/DF_GRID_SEPARATE_SERIES.ts +17 -0
- package/src/gridDataFormatterFiles/DF_LINE_AREAS_2_SERIES_SLOT.ts +2 -1
- package/src/gridDataFormatterFiles/DF_LINE_AREAS_3_SERIES_SLOT.ts +2 -1
- package/src/gridDataFormatterFiles/DF_LINE_AREAS_4_SERIES_SLOT.ts +2 -1
- package/src/gridDataFormatterFiles/DF_LINE_AREAS_SEPARATE_SERIES.ts +20 -0
- package/src/gridDataFormatterFiles/index.ts +8 -6
- package/src/index.ts +110 -44
- package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.ts +9 -8
- package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.ts +12 -11
- package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.ts +15 -14
- package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_SEPARATE_GRID.ts +22 -0
- package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_2_GRID_SLOT.ts +2 -1
- package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_3_GRID_SLOT.ts +4 -3
- package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_4_GRID_SLOT.ts +5 -4
- package/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_SEPARATE_GRID.ts +28 -0
- package/src/multiGridDataFormatterFiles/index.ts +8 -6
- package/src/seriesDataFormatterFiles/DF_SERIES_DESC.ts +10 -0
- package/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES.ts +10 -0
- package/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_DESC.ts +11 -0
- package/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES.ts +10 -0
- package/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES_AND_DESC.ts +11 -0
- package/src/seriesDataFormatterFiles/index.ts +7 -1
- package/src/types.ts +1 -1
- package/tsconfig.json +5 -1
- package/dist/src/gridDataFormatterFiles/index.d.ts +0 -10
- package/dist/src/multiGridDataFormatterFiles/index.d.ts +0 -6
- package/dist/src/treeDataFormatterFiles/index.d.ts +0 -1
- /package/dist/{src → orbcharts-presets-basic/src}/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/chartParamsFiles/CP_BOTTOM_LONG_PADDING.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/chartParamsFiles/CP_BOTTOM_PADDING.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/chartParamsFiles/CP_BOTTOM_SLIGHT_PADDING.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/chartParamsFiles/CP_LEFT_PADDING.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/chartParamsFiles/CP_RIGHT_PADDING.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/createPreset.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridDataFormatterFiles/DF_GRID_DIVERGING_SCALE.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridDataFormatterFiles/DF_GRID_NONE_GROUP_SCALE_PADDING.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridDataFormatterFiles/DF_LINE_AREAS_2_SERIES_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridDataFormatterFiles/DF_LINE_AREAS_3_SERIES_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridDataFormatterFiles/DF_LINE_AREAS_4_SERIES_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/Bars/PP_BARS_ROUND.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/Bars/PP_BARS_THIN.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/Bars/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/Dots/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/GridLegend/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/GroupAxis/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/LineAreas/PP_LINE_AREAS_CURVE.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/LineAreas/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/Lines/PP_LINES_CURVE.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/Lines/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_2_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_3_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_4_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiBarStack/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiBars/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiBarsTriangle/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_2_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_3_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_4_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiDots/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiGridLegend/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiGroupAxis/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_2_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_3_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_4_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_CURVE.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiLineAreas/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiLines/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiValueAxis/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiValueDataFormatterFiles/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/multiValuePluginParamsFiles/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/relationshipDataFormatterFiles/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/relationshipPluginParamsFiles/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/seriesPluginParamsFiles/Bubbles/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/seriesPluginParamsFiles/Pie/PP_PIE_BLACK_STROKE.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/seriesPluginParamsFiles/Pie/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/seriesPluginParamsFiles/PieLabels/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/seriesPluginParamsFiles/SeriesLegend/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/seriesPluginParamsFiles/index.d.ts +0 -0
- /package/dist/{src/seriesDataFormatterFiles → orbcharts-presets-basic/src/treeDataFormatterFiles}/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/treePluginParamsFiles/TreeLegend/PP_TREE_LEGEND_BOTTOM.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/treePluginParamsFiles/TreeLegend/index.d.ts +0 -0
- /package/dist/{src → orbcharts-presets-basic/src}/treePluginParamsFiles/index.d.ts +0 -0
- /package/dist/{vite.config.d.ts → orbcharts-presets-basic/vite.config.d.ts} +0 -0
@@ -5,14 +5,15 @@ export const DF_MULTI_GRID_2_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
|
|
5
5
|
chartType: 'multiGrid',
|
6
6
|
description: '2個Grid Slot',
|
7
7
|
data: {
|
8
|
-
gridList: [
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
],
|
8
|
+
// gridList: [
|
9
|
+
// {
|
10
|
+
// // slotIndex: 0
|
11
|
+
// },
|
12
|
+
// {
|
13
|
+
// slotIndex: 1
|
14
|
+
// }
|
15
|
+
// ],
|
16
|
+
separateGrid: true,
|
16
17
|
container: {
|
17
18
|
rowAmount: 1,
|
18
19
|
columnAmount: 2,
|
@@ -5,17 +5,18 @@ export const DF_MULTI_GRID_3_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
|
|
5
5
|
chartType: 'multiGrid',
|
6
6
|
description: '3個Grid Slot',
|
7
7
|
data: {
|
8
|
-
gridList: [
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
],
|
8
|
+
// gridList: [
|
9
|
+
// {
|
10
|
+
// slotIndex: 0
|
11
|
+
// },
|
12
|
+
// {
|
13
|
+
// slotIndex: 1
|
14
|
+
// },
|
15
|
+
// {
|
16
|
+
// slotIndex: 2
|
17
|
+
// }
|
18
|
+
// ],
|
19
|
+
separateGrid: true,
|
19
20
|
container: {
|
20
21
|
rowAmount: 1,
|
21
22
|
columnAmount: 3,
|
@@ -5,20 +5,21 @@ export const DF_MULTI_GRID_4_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
|
|
5
5
|
chartType: 'multiGrid',
|
6
6
|
description: '4個Grid Slot',
|
7
7
|
data: {
|
8
|
-
gridList: [
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
],
|
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,
|
22
23
|
container: {
|
23
24
|
rowAmount: 2,
|
24
25
|
columnAmount: 2,
|
@@ -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
|
+
}
|
@@ -13,12 +13,13 @@ export const DF_MULTI_LINE_AREAS_2_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
|
|
13
13
|
}
|
14
14
|
},
|
15
15
|
{
|
16
|
-
slotIndex: 1,
|
16
|
+
// slotIndex: 1,
|
17
17
|
groupAxis: {
|
18
18
|
scalePadding: 0
|
19
19
|
}
|
20
20
|
}
|
21
21
|
],
|
22
|
+
separateGrid: true,
|
22
23
|
container: {
|
23
24
|
rowAmount: 1,
|
24
25
|
columnAmount: 2,
|
@@ -7,24 +7,25 @@ export const DF_MULTI_LINE_AREAS_3_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
|
|
7
7
|
data: {
|
8
8
|
gridList: [
|
9
9
|
{
|
10
|
-
slotIndex: 0,
|
10
|
+
// slotIndex: 0,
|
11
11
|
groupAxis: {
|
12
12
|
scalePadding: 0
|
13
13
|
}
|
14
14
|
},
|
15
15
|
{
|
16
|
-
slotIndex: 1,
|
16
|
+
// slotIndex: 1,
|
17
17
|
groupAxis: {
|
18
18
|
scalePadding: 0
|
19
19
|
}
|
20
20
|
},
|
21
21
|
{
|
22
|
-
slotIndex: 2,
|
22
|
+
// slotIndex: 2,
|
23
23
|
groupAxis: {
|
24
24
|
scalePadding: 0
|
25
25
|
}
|
26
26
|
}
|
27
27
|
],
|
28
|
+
separateGrid: true,
|
28
29
|
container: {
|
29
30
|
rowAmount: 1,
|
30
31
|
columnAmount: 3,
|
@@ -7,30 +7,31 @@ export const DF_MULTI_LINE_AREAS_4_GRID_SLOT: DataFormatterFile<'multiGrid'> = {
|
|
7
7
|
data: {
|
8
8
|
gridList: [
|
9
9
|
{
|
10
|
-
slotIndex: 0,
|
10
|
+
// slotIndex: 0,
|
11
11
|
groupAxis: {
|
12
12
|
scalePadding: 0
|
13
13
|
}
|
14
14
|
},
|
15
15
|
{
|
16
|
-
slotIndex: 1,
|
16
|
+
// slotIndex: 1,
|
17
17
|
groupAxis: {
|
18
18
|
scalePadding: 0
|
19
19
|
}
|
20
20
|
},
|
21
21
|
{
|
22
|
-
slotIndex: 2,
|
22
|
+
// slotIndex: 2,
|
23
23
|
groupAxis: {
|
24
24
|
scalePadding: 0
|
25
25
|
}
|
26
26
|
},
|
27
27
|
{
|
28
|
-
slotIndex: 3,
|
28
|
+
// slotIndex: 3,
|
29
29
|
groupAxis: {
|
30
30
|
scalePadding: 0
|
31
31
|
}
|
32
32
|
}
|
33
33
|
],
|
34
|
+
separateGrid: true,
|
34
35
|
container: {
|
35
36
|
rowAmount: 2,
|
36
37
|
columnAmount: 2,
|
@@ -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'
|
@@ -0,0 +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
|
+
}
|
11
|
+
}
|
@@ -0,0 +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
|
+
}
|
11
|
+
}
|
@@ -1 +1,7 @@
|
|
1
|
-
export
|
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_SUM_SERIES } from './DF_SERIES_SUM_SERIES'
|
5
|
+
export { DF_SERIES_SUM_SERIES_AND_DESC } from './DF_SERIES_SUM_SERIES_AND_DESC'
|
6
|
+
|
7
|
+
|
package/src/types.ts
CHANGED
@@ -2,7 +2,7 @@ import type {
|
|
2
2
|
ChartParamsPartial,
|
3
3
|
DataFormatterPartialTypeMap,
|
4
4
|
ChartType,
|
5
|
-
Preset } from '@orbcharts/core
|
5
|
+
Preset } from '@orbcharts/core'
|
6
6
|
// import * as core from '../../packages/orbcharts-core/src/index'
|
7
7
|
import * as chartParams from './chartParamsFiles'
|
8
8
|
import * as seriesDataFormatters from './seriesDataFormatterFiles'
|
package/tsconfig.json
CHANGED
@@ -9,6 +9,10 @@
|
|
9
9
|
"allowJs": true,
|
10
10
|
"moduleResolution": "node",
|
11
11
|
"allowSyntheticDefaultImports" : true,
|
12
|
-
"esModuleInterop" : true
|
12
|
+
"esModuleInterop" : true,
|
13
|
+
"paths":{
|
14
|
+
"@orbcharts/core": ["./../orbcharts-core/src"],
|
15
|
+
"@orbcharts/plugins-basic": ["./../orbcharts-plugins-basic/src"]
|
16
|
+
}
|
13
17
|
}
|
14
18
|
}
|
@@ -1,10 +0,0 @@
|
|
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
|
-
export { DF_LINE_AREAS_4_SERIES_SLOT } from './DF_LINE_AREAS_4_SERIES_SLOT';
|
@@ -1,6 +0,0 @@
|
|
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 +0,0 @@
|
|
1
|
-
export declare const temp: {};
|
/package/dist/{src → orbcharts-presets-basic/src}/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.d.ts
RENAMED
File without changes
|
File without changes
|
/package/dist/{src → orbcharts-presets-basic/src}/chartParamsFiles/CP_BOTTOM_LONG_PADDING.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/dist/{src → orbcharts-presets-basic/src}/chartParamsFiles/CP_BOTTOM_SLIGHT_PADDING.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
/package/dist/{src → orbcharts-presets-basic/src}/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.d.ts
RENAMED
File without changes
|
File without changes
|
/package/dist/{src → orbcharts-presets-basic/src}/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.d.ts
RENAMED
File without changes
|
/package/dist/{src → orbcharts-presets-basic/src}/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.d.ts
RENAMED
File without changes
|
/package/dist/{src → orbcharts-presets-basic/src}/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/Bars/PP_BARS_ROUND.d.ts
RENAMED
File without changes
|
/package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/Bars/PP_BARS_THIN.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
/package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/GridLegend/index.d.ts
RENAMED
File without changes
|
File without changes
|
/package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/GroupAxis/index.d.ts
RENAMED
File without changes
|
File without changes
|
/package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/LineAreas/index.d.ts
RENAMED
File without changes
|
/package/dist/{src → orbcharts-presets-basic/src}/gridPluginParamsFiles/Lines/PP_LINES_CURVE.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiBars/index.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiDots/index.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/dist/{src → orbcharts-presets-basic/src}/multiGridPluginParamsFiles/MultiLines/index.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/dist/{src → orbcharts-presets-basic/src}/seriesPluginParamsFiles/Bubbles/index.d.ts
RENAMED
File without changes
|
File without changes
|
/package/dist/{src → orbcharts-presets-basic/src}/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.d.ts
RENAMED
File without changes
|
/package/dist/{src → orbcharts-presets-basic/src}/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|