@orbcharts/presets-basic 3.0.0-alpha.15 → 3.0.0-alpha.17
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 +329 -456
- package/dist/orbcharts-presets-basic.umd.js +1 -1
- package/dist/src/chartParamsFiles/CP_LONG_PADDING.d.ts +3 -0
- package/dist/{orbcharts-presets-basic/src → src}/chartParamsFiles/index.d.ts +1 -0
- package/dist/src/gridDataFormatterFiles/DF_GRID_SEPARATE_SERIES.d.ts +3 -0
- package/dist/src/gridDataFormatterFiles/DF_LINE_AREAS_SEPARATE_SERIES.d.ts +3 -0
- package/dist/src/gridDataFormatterFiles/index.d.ts +6 -0
- package/dist/src/index.d.ts +44 -1
- package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_SEPARATE_GRID.d.ts +3 -0
- package/dist/src/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_SEPARATE_GRID.d.ts +3 -0
- package/dist/src/multiGridDataFormatterFiles/index.d.ts +2 -0
- package/dist/src/seriesDataFormatterFiles/DF_SERIES_DESC.d.ts +3 -0
- package/dist/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES.d.ts +3 -0
- package/dist/src/seriesDataFormatterFiles/DF_SERIES_SEPARATE_SERIES_AND_DESC.d.ts +3 -0
- package/dist/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES.d.ts +3 -0
- package/dist/src/seriesDataFormatterFiles/DF_SERIES_SUM_SERIES_AND_DESC.d.ts +3 -0
- package/dist/src/seriesDataFormatterFiles/index.d.ts +5 -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_LONG_PADDING.ts +14 -0
- 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 -11
- 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_DIVERGING_SCALE.ts +14 -14
- package/src/gridDataFormatterFiles/DF_GRID_NONE_GROUP_SCALE_PADDING.ts +13 -13
- package/src/gridDataFormatterFiles/DF_GRID_SEPARATE_SERIES.ts +17 -0
- 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 +20 -0
- package/src/gridDataFormatterFiles/index.ts +12 -10
- 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 +356 -290
- 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_SEPARATE_GRID.ts +22 -0
- 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 +28 -0
- package/src/multiGridDataFormatterFiles/index.ts +8 -6
- 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/index.ts +3 -3
- 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/index.ts +8 -8
- 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/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 -17
- package/tsconfig.prod.json +13 -13
- package/vite.config.js +44 -44
- package/dist/orbcharts-presets-basic/src/gridDataFormatterFiles/index.d.ts +0 -10
- package/dist/orbcharts-presets-basic/src/index.d.ts +0 -43
- package/dist/orbcharts-presets-basic/src/multiGridDataFormatterFiles/index.d.ts +0 -6
- package/dist/orbcharts-presets-basic/src/treeDataFormatterFiles/index.d.ts +0 -1
- /package/dist/{orbcharts-presets-basic/src → src}/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/chartParamsFiles/CP_BOTTOM_LONG_PADDING.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/chartParamsFiles/CP_BOTTOM_PADDING.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/chartParamsFiles/CP_BOTTOM_SLIGHT_PADDING.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/chartParamsFiles/CP_LEFT_PADDING.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/chartParamsFiles/CP_RIGHT_PADDING.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/createPreset.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS_AND_NONE_GROUP_SCALE_PADDING.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridDataFormatterFiles/DF_GRID_DIVERGING_SCALE.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridDataFormatterFiles/DF_GRID_NONE_GROUP_SCALE_PADDING.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridDataFormatterFiles/DF_LINE_AREAS_2_SERIES_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridDataFormatterFiles/DF_LINE_AREAS_3_SERIES_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridDataFormatterFiles/DF_LINE_AREAS_4_SERIES_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridPluginParamsFiles/Bars/PP_BARS_ROUND.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridPluginParamsFiles/Bars/PP_BARS_THIN.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridPluginParamsFiles/Bars/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridPluginParamsFiles/Dots/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridPluginParamsFiles/GridLegend/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridPluginParamsFiles/GroupAxis/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridPluginParamsFiles/LineAreas/PP_LINE_AREAS_CURVE.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridPluginParamsFiles/LineAreas/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridPluginParamsFiles/Lines/PP_LINES_CURVE.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridPluginParamsFiles/Lines/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/gridPluginParamsFiles/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_2_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_3_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridDataFormatterFiles/DF_MULTI_LINE_AREAS_4_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiBarStack/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiBars/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiBarsTriangle/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_2_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_3_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiDots/PP_MULTI_DOTS_4_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiDots/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiGridLegend/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiGroupAxis/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_2_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_3_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_4_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiLineAreas/PP_MULTI_LINE_AREAS_CURVE.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiLineAreas/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiLines/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/MultiValueAxis/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiGridPluginParamsFiles/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiValueDataFormatterFiles/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/multiValuePluginParamsFiles/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/relationshipDataFormatterFiles/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/relationshipPluginParamsFiles/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/seriesPluginParamsFiles/Bubbles/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/seriesPluginParamsFiles/Pie/PP_PIE_BLACK_STROKE.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/seriesPluginParamsFiles/Pie/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/seriesPluginParamsFiles/PieLabels/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/seriesPluginParamsFiles/SeriesLegend/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/seriesPluginParamsFiles/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src/seriesDataFormatterFiles → src/treeDataFormatterFiles}/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/treePluginParamsFiles/TreeLegend/PP_TREE_LEGEND_BOTTOM.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/treePluginParamsFiles/TreeLegend/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/treePluginParamsFiles/index.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/src → src}/types.d.ts +0 -0
- /package/dist/{orbcharts-presets-basic/vite.config.d.ts → vite.config.d.ts} +0 -0
@@ -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'
|
@@ -1,9 +1,9 @@
|
|
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'
|
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
9
|
export * from './MultiValueAxis'
|
@@ -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
|
+
|
@@ -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
|
-
bubbleScaleType: '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
|
+
bubbleScaleType: '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'
|
@@ -1,13 +1,13 @@
|
|
1
|
-
import type { PluginParamsFile } from '../../types'
|
2
|
-
import type { PieLabelsParams } from '@orbcharts/plugins-basic'
|
3
|
-
|
4
|
-
export const PP_PIE_LABELS_HALF_ANGLE: PluginParamsFile<PieLabelsParams> = {
|
5
|
-
id: 'PP_PIE_LABELS_HALF_ANGLE',
|
6
|
-
chartType: 'series',
|
7
|
-
pluginName: 'PieLabels',
|
8
|
-
description: '半圓甜甜圈資料標籤',
|
9
|
-
data: {
|
10
|
-
startAngle: - Math.PI / 2,
|
11
|
-
endAngle: Math.PI / 2,
|
12
|
-
}
|
13
|
-
}
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { PieLabelsParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_PIE_LABELS_HALF_ANGLE: PluginParamsFile<PieLabelsParams> = {
|
5
|
+
id: 'PP_PIE_LABELS_HALF_ANGLE',
|
6
|
+
chartType: 'series',
|
7
|
+
pluginName: 'PieLabels',
|
8
|
+
description: '半圓甜甜圈資料標籤',
|
9
|
+
data: {
|
10
|
+
startAngle: - Math.PI / 2,
|
11
|
+
endAngle: Math.PI / 2,
|
12
|
+
}
|
13
|
+
}
|
@@ -1,13 +1,13 @@
|
|
1
|
-
import type { PluginParamsFile } from '../../types'
|
2
|
-
import type { PieLabelsParams } from '@orbcharts/plugins-basic'
|
3
|
-
|
4
|
-
export const PP_PIE_LABELS_INNER: PluginParamsFile<PieLabelsParams> = {
|
5
|
-
id: 'PP_PIE_LABELS_INNER',
|
6
|
-
chartType: 'series',
|
7
|
-
pluginName: 'PieLabels',
|
8
|
-
description: '圖內資料標籤',
|
9
|
-
data: {
|
10
|
-
"labelCentroid": 1.3,
|
11
|
-
"labelColorType": "primary"
|
12
|
-
}
|
13
|
-
}
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { PieLabelsParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_PIE_LABELS_INNER: PluginParamsFile<PieLabelsParams> = {
|
5
|
+
id: 'PP_PIE_LABELS_INNER',
|
6
|
+
chartType: 'series',
|
7
|
+
pluginName: 'PieLabels',
|
8
|
+
description: '圖內資料標籤',
|
9
|
+
data: {
|
10
|
+
"labelCentroid": 1.3,
|
11
|
+
"labelColorType": "primary"
|
12
|
+
}
|
13
|
+
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export { PP_PIE_LABELS_HALF_ANGLE } from './PP_PIE_LABELS_HALF_ANGLE'
|
1
|
+
export { PP_PIE_LABELS_HALF_ANGLE } from './PP_PIE_LABELS_HALF_ANGLE'
|
2
2
|
export { PP_PIE_LABELS_INNER } from './PP_PIE_LABELS_INNER'
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import type { PluginParamsFile } from '../../types'
|
2
|
-
import type { SeriesLegendParams } from '@orbcharts/plugins-basic'
|
3
|
-
|
4
|
-
export const PP_SERIES_LEGEND_ROUND: PluginParamsFile<SeriesLegendParams> = {
|
5
|
-
id: 'PP_SERIES_LEGEND_BOTTOM',
|
6
|
-
chartType: 'series',
|
7
|
-
pluginName: 'SeriesLegend',
|
8
|
-
description: '圓型圖例列點',
|
9
|
-
data: {
|
10
|
-
listRectRadius: 7
|
11
|
-
}
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { SeriesLegendParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_SERIES_LEGEND_ROUND: PluginParamsFile<SeriesLegendParams> = {
|
5
|
+
id: 'PP_SERIES_LEGEND_BOTTOM',
|
6
|
+
chartType: 'series',
|
7
|
+
pluginName: 'SeriesLegend',
|
8
|
+
description: '圓型圖例列點',
|
9
|
+
data: {
|
10
|
+
listRectRadius: 7
|
11
|
+
}
|
12
12
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export * from './Bubbles'
|
2
|
-
export * from './Pie'
|
3
|
-
export * from './PieLabels'
|
1
|
+
export * from './Bubbles'
|
2
|
+
export * from './Pie'
|
3
|
+
export * from './PieLabels'
|
4
4
|
export * from './SeriesLegend'
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import type { PluginParamsFile } from '../../types'
|
2
|
-
import type { TreeLegendParams } from '@orbcharts/plugins-basic'
|
3
|
-
|
4
|
-
export const PP_TREE_LEGEND_BOTTOM: PluginParamsFile<TreeLegendParams> = {
|
5
|
-
id: 'PP_TREE_LEGEND_BOTTOM',
|
6
|
-
chartType: 'tree',
|
7
|
-
pluginName: 'TreeLegend',
|
8
|
-
description: '底部圖例',
|
9
|
-
data: {
|
10
|
-
position: 'bottom',
|
11
|
-
justify: 'center',
|
12
|
-
padding: 14,
|
13
|
-
}
|
1
|
+
import type { PluginParamsFile } from '../../types'
|
2
|
+
import type { TreeLegendParams } from '@orbcharts/plugins-basic'
|
3
|
+
|
4
|
+
export const PP_TREE_LEGEND_BOTTOM: PluginParamsFile<TreeLegendParams> = {
|
5
|
+
id: 'PP_TREE_LEGEND_BOTTOM',
|
6
|
+
chartType: 'tree',
|
7
|
+
pluginName: 'TreeLegend',
|
8
|
+
description: '底部圖例',
|
9
|
+
data: {
|
10
|
+
position: 'bottom',
|
11
|
+
justify: 'center',
|
12
|
+
padding: 14,
|
13
|
+
}
|
14
14
|
}
|
package/src/types.ts
CHANGED
@@ -1,61 +1,61 @@
|
|
1
|
-
import type {
|
2
|
-
ChartParamsPartial,
|
3
|
-
DataFormatterPartialTypeMap,
|
4
|
-
ChartType,
|
5
|
-
Preset } from '@orbcharts/core'
|
6
|
-
// import * as core from '../../packages/orbcharts-core/src/index'
|
7
|
-
import * as chartParams from './chartParamsFiles'
|
8
|
-
import * as seriesDataFormatters from './seriesDataFormatterFiles'
|
9
|
-
import * as seriesPluginParams from './seriesPluginParamsFiles'
|
10
|
-
import * as gridDataFormatters from './gridDataFormatterFiles'
|
11
|
-
import * as gridPluginParams from './gridPluginParamsFiles'
|
12
|
-
import * as multiGridDataFormatters from './multiGridDataFormatterFiles'
|
13
|
-
import * as multiGridPluginParams from './multiGridPluginParamsFiles'
|
14
|
-
import * as multiValueDataFormatters from './multiValueDataFormatterFiles'
|
15
|
-
import * as multiValuePluginParams from './multiValuePluginParamsFiles'
|
16
|
-
import * as relationshipDataFormatters from './relationshipDataFormatterFiles'
|
17
|
-
import * as relationshipPluginParams from './relationshipPluginParamsFiles'
|
18
|
-
import * as treeDataFormatters from './treeDataFormatterFiles'
|
19
|
-
import * as treePluginParams from './treePluginParamsFiles'
|
20
|
-
|
21
|
-
type DeepPartial<T> = Partial<{ [P in keyof T]: DeepPartial<T[P]> }>
|
22
|
-
|
23
|
-
export interface ChartParamsFile {
|
24
|
-
id: string
|
25
|
-
description: string
|
26
|
-
data: ChartParamsPartial
|
27
|
-
}
|
28
|
-
|
29
|
-
export interface DataFormatterFile<T extends ChartType> {
|
30
|
-
id: string
|
31
|
-
chartType: T
|
32
|
-
description: string
|
33
|
-
data: DataFormatterPartialTypeMap<T>
|
34
|
-
}
|
35
|
-
|
36
|
-
export interface PluginParamsFile<PluginParams> {
|
37
|
-
id: string
|
38
|
-
chartType: ChartType
|
39
|
-
pluginName: string
|
40
|
-
description: string
|
41
|
-
data: DeepPartial<PluginParams>
|
42
|
-
}
|
43
|
-
|
44
|
-
export interface PresetFile<T extends ChartType> {
|
45
|
-
chartParamsId?: keyof typeof chartParams
|
46
|
-
dataFormatterId?: T extends 'series' ? keyof typeof seriesDataFormatters
|
47
|
-
: T extends 'grid' ? keyof typeof gridDataFormatters
|
48
|
-
: T extends 'multiGrid' ? keyof typeof multiGridDataFormatters
|
49
|
-
: T extends 'multiValue' ? keyof typeof multiValueDataFormatters
|
50
|
-
: T extends 'relationship' ? keyof typeof relationshipDataFormatters
|
51
|
-
: T extends 'tree' ? keyof typeof treeDataFormatters
|
52
|
-
: undefined
|
53
|
-
allPluginParamsIds?: T extends 'series' ? (keyof typeof seriesPluginParams)[]
|
54
|
-
: T extends 'grid' ? (keyof typeof gridPluginParams)[]
|
55
|
-
: T extends 'multiGrid' ? (keyof typeof multiGridPluginParams)[]
|
56
|
-
: T extends 'multiValue' ? (keyof typeof multiValuePluginParams)[]
|
57
|
-
: T extends 'relationship' ? (keyof typeof relationshipPluginParams)[]
|
58
|
-
: T extends 'tree' ? (keyof typeof treePluginParams)[]
|
59
|
-
: undefined,
|
60
|
-
description: string
|
61
|
-
}
|
1
|
+
import type {
|
2
|
+
ChartParamsPartial,
|
3
|
+
DataFormatterPartialTypeMap,
|
4
|
+
ChartType,
|
5
|
+
Preset } from '@orbcharts/core'
|
6
|
+
// import * as core from '../../packages/orbcharts-core/src/index'
|
7
|
+
import * as chartParams from './chartParamsFiles'
|
8
|
+
import * as seriesDataFormatters from './seriesDataFormatterFiles'
|
9
|
+
import * as seriesPluginParams from './seriesPluginParamsFiles'
|
10
|
+
import * as gridDataFormatters from './gridDataFormatterFiles'
|
11
|
+
import * as gridPluginParams from './gridPluginParamsFiles'
|
12
|
+
import * as multiGridDataFormatters from './multiGridDataFormatterFiles'
|
13
|
+
import * as multiGridPluginParams from './multiGridPluginParamsFiles'
|
14
|
+
import * as multiValueDataFormatters from './multiValueDataFormatterFiles'
|
15
|
+
import * as multiValuePluginParams from './multiValuePluginParamsFiles'
|
16
|
+
import * as relationshipDataFormatters from './relationshipDataFormatterFiles'
|
17
|
+
import * as relationshipPluginParams from './relationshipPluginParamsFiles'
|
18
|
+
import * as treeDataFormatters from './treeDataFormatterFiles'
|
19
|
+
import * as treePluginParams from './treePluginParamsFiles'
|
20
|
+
|
21
|
+
type DeepPartial<T> = Partial<{ [P in keyof T]: DeepPartial<T[P]> }>
|
22
|
+
|
23
|
+
export interface ChartParamsFile {
|
24
|
+
id: string
|
25
|
+
description: string
|
26
|
+
data: ChartParamsPartial
|
27
|
+
}
|
28
|
+
|
29
|
+
export interface DataFormatterFile<T extends ChartType> {
|
30
|
+
id: string
|
31
|
+
chartType: T
|
32
|
+
description: string
|
33
|
+
data: DataFormatterPartialTypeMap<T>
|
34
|
+
}
|
35
|
+
|
36
|
+
export interface PluginParamsFile<PluginParams> {
|
37
|
+
id: string
|
38
|
+
chartType: ChartType
|
39
|
+
pluginName: string
|
40
|
+
description: string
|
41
|
+
data: DeepPartial<PluginParams>
|
42
|
+
}
|
43
|
+
|
44
|
+
export interface PresetFile<T extends ChartType> {
|
45
|
+
chartParamsId?: keyof typeof chartParams
|
46
|
+
dataFormatterId?: T extends 'series' ? keyof typeof seriesDataFormatters
|
47
|
+
: T extends 'grid' ? keyof typeof gridDataFormatters
|
48
|
+
: T extends 'multiGrid' ? keyof typeof multiGridDataFormatters
|
49
|
+
: T extends 'multiValue' ? keyof typeof multiValueDataFormatters
|
50
|
+
: T extends 'relationship' ? keyof typeof relationshipDataFormatters
|
51
|
+
: T extends 'tree' ? keyof typeof treeDataFormatters
|
52
|
+
: undefined
|
53
|
+
allPluginParamsIds?: T extends 'series' ? (keyof typeof seriesPluginParams)[]
|
54
|
+
: T extends 'grid' ? (keyof typeof gridPluginParams)[]
|
55
|
+
: T extends 'multiGrid' ? (keyof typeof multiGridPluginParams)[]
|
56
|
+
: T extends 'multiValue' ? (keyof typeof multiValuePluginParams)[]
|
57
|
+
: T extends 'relationship' ? (keyof typeof relationshipPluginParams)[]
|
58
|
+
: T extends 'tree' ? (keyof typeof treePluginParams)[]
|
59
|
+
: undefined,
|
60
|
+
description: string
|
61
|
+
}
|
package/tsconfig.dev.json
CHANGED
@@ -1,18 +1,18 @@
|
|
1
|
-
{
|
2
|
-
"compilerOptions": {
|
3
|
-
"outDir": "./dist/",
|
4
|
-
"sourceMap": true,
|
5
|
-
"noImplicitAny": true,
|
6
|
-
"module": "es6",
|
7
|
-
"target": "es5",
|
8
|
-
"jsx": "react",
|
9
|
-
"allowJs": true,
|
10
|
-
"moduleResolution": "node",
|
11
|
-
"allowSyntheticDefaultImports" : true,
|
12
|
-
"esModuleInterop" : true,
|
13
|
-
"paths":{
|
14
|
-
"@orbcharts/core": ["./../orbcharts-core/src"],
|
15
|
-
"@orbcharts/plugins-basic": ["./../orbcharts-plugins-basic/src"]
|
16
|
-
}
|
17
|
-
}
|
1
|
+
{
|
2
|
+
"compilerOptions": {
|
3
|
+
"outDir": "./dist/",
|
4
|
+
"sourceMap": true,
|
5
|
+
"noImplicitAny": true,
|
6
|
+
"module": "es6",
|
7
|
+
"target": "es5",
|
8
|
+
"jsx": "react",
|
9
|
+
"allowJs": true,
|
10
|
+
"moduleResolution": "node",
|
11
|
+
"allowSyntheticDefaultImports" : true,
|
12
|
+
"esModuleInterop" : true,
|
13
|
+
"paths":{
|
14
|
+
"@orbcharts/core": ["./../orbcharts-core/src"],
|
15
|
+
"@orbcharts/plugins-basic": ["./../orbcharts-plugins-basic/src"]
|
16
|
+
}
|
17
|
+
}
|
18
18
|
}
|
package/tsconfig.json
CHANGED
@@ -1,18 +1,14 @@
|
|
1
|
-
{
|
2
|
-
"compilerOptions": {
|
3
|
-
"outDir": "./dist/",
|
4
|
-
"sourceMap": true,
|
5
|
-
"noImplicitAny": true,
|
6
|
-
"module": "es6",
|
7
|
-
"target": "es5",
|
8
|
-
"jsx": "react",
|
9
|
-
"allowJs": true,
|
10
|
-
"moduleResolution": "node",
|
11
|
-
"allowSyntheticDefaultImports" : true,
|
12
|
-
"esModuleInterop" : true,
|
13
|
-
|
14
|
-
"@orbcharts/core": ["./../orbcharts-core/src"],
|
15
|
-
"@orbcharts/plugins-basic": ["./../orbcharts-plugins-basic/src"]
|
16
|
-
}
|
17
|
-
}
|
1
|
+
{
|
2
|
+
"compilerOptions": {
|
3
|
+
"outDir": "./dist/",
|
4
|
+
"sourceMap": true,
|
5
|
+
"noImplicitAny": true,
|
6
|
+
"module": "es6",
|
7
|
+
"target": "es5",
|
8
|
+
"jsx": "react",
|
9
|
+
"allowJs": true,
|
10
|
+
"moduleResolution": "node",
|
11
|
+
"allowSyntheticDefaultImports" : true,
|
12
|
+
"esModuleInterop" : true,
|
13
|
+
}
|
18
14
|
}
|
package/tsconfig.prod.json
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
{
|
2
|
-
"compilerOptions": {
|
3
|
-
"outDir": "./dist/",
|
4
|
-
"sourceMap": true,
|
5
|
-
"noImplicitAny": true,
|
6
|
-
"module": "es6",
|
7
|
-
"target": "es5",
|
8
|
-
"jsx": "react",
|
9
|
-
"allowJs": true,
|
10
|
-
"moduleResolution": "node",
|
11
|
-
"allowSyntheticDefaultImports" : true,
|
12
|
-
"esModuleInterop" : true
|
13
|
-
}
|
1
|
+
{
|
2
|
+
"compilerOptions": {
|
3
|
+
"outDir": "./dist/",
|
4
|
+
"sourceMap": true,
|
5
|
+
"noImplicitAny": true,
|
6
|
+
"module": "es6",
|
7
|
+
"target": "es5",
|
8
|
+
"jsx": "react",
|
9
|
+
"allowJs": true,
|
10
|
+
"moduleResolution": "node",
|
11
|
+
"allowSyntheticDefaultImports" : true,
|
12
|
+
"esModuleInterop" : true
|
13
|
+
}
|
14
14
|
}
|