@univerjs-pro/engine-chart 0.6.10-experimental.20250424-9e348ed → 0.6.10-experimental.20250427-89a0949
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/enum.d.ts +22 -1
- package/lib/types/index.d.ts +1 -1
- package/lib/types/model/chart-model.d.ts +834 -0
- package/lib/types/model/constants/default-chart-style.d.ts +6 -1
- package/lib/types/model/mode-converter/converters/tools.d.ts +10 -0
- package/lib/types/model/mode-converter/converters/waterfall-chart-converter.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/series-style-operator/waterfall-series-style-operator.d.ts +3 -0
- package/lib/types/model/mode-converter/render-spec-operators/tools.d.ts +11 -0
- package/lib/types/types.d.ts +26 -2
- package/lib/umd/index.js +1 -1
- package/package.json +2 -2
package/lib/types/enum.d.ts
CHANGED
|
@@ -68,7 +68,9 @@ export declare enum ChartTypeBits {
|
|
|
68
68
|
/** Bubble chart */
|
|
69
69
|
Bubble = 2048,
|
|
70
70
|
/** Relationship diagram */
|
|
71
|
-
Relation = 4096
|
|
71
|
+
Relation = 4096,
|
|
72
|
+
/** Waterfall chart */
|
|
73
|
+
Waterfall = 8192
|
|
72
74
|
}
|
|
73
75
|
export declare enum CategoryType {
|
|
74
76
|
Linear = "Linear",
|
|
@@ -359,3 +361,22 @@ export declare enum ChartSourceDataTypeEnum {
|
|
|
359
361
|
Date = 4,
|
|
360
362
|
Null = 5
|
|
361
363
|
}
|
|
364
|
+
/**
|
|
365
|
+
* The enumeration of the waterfall chart stack type.
|
|
366
|
+
*/
|
|
367
|
+
export declare enum WaterfallStackTypeEnum {
|
|
368
|
+
/**
|
|
369
|
+
* The difference series will one by one put on the top of the previous series.
|
|
370
|
+
*/
|
|
371
|
+
Arrangement = "arrangement",
|
|
372
|
+
/**
|
|
373
|
+
* The difference series show in same position, and the value will be stacked.
|
|
374
|
+
*/
|
|
375
|
+
Stacked = "stacked"
|
|
376
|
+
}
|
|
377
|
+
export declare enum WaterfallSeriesTypeEnum {
|
|
378
|
+
base = 2,
|
|
379
|
+
positive = 4,
|
|
380
|
+
negative = 8,
|
|
381
|
+
subtotal = 16
|
|
382
|
+
}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export { ChartThemeService, registerChartThemeService } from './model/chart-them
|
|
|
11
11
|
export { registerWordCloudChartMakImageService, WordCloudMuskImageService } from './model/word-cloud-musk-image.service';
|
|
12
12
|
export { defaultChartConfig, themeColors } from './model/constants/default-chart-style';
|
|
13
13
|
export { getThemeProps } from './model/constants/build-in-theme';
|
|
14
|
-
export { AreaLineStyle, AxisAlignEnum, AxisValueType, CategoryType, ChartAttributeBits, ChartBorderDashType, ChartSourceDataTypeEnum, ChartTrendlineType, ChartTypeBits, DataOrientation, InvalidValueType, IRuntimeAxisPosition, IRuntimeAxisPriority, LabelAlignEnum, LabelContentType, LegendPositionEnum, LinePointShape, PieLabelPosition, RadarShape, RelationChartLayoutEnum, SelectModeEnum, SeriesLabelPosition, StackType, TextAlign, TextVerticalAlign, TitlePositionEnum, WordCloudShapeEnum, } from './enum';
|
|
14
|
+
export { AreaLineStyle, AxisAlignEnum, AxisValueType, CategoryType, ChartAttributeBits, ChartBorderDashType, ChartSourceDataTypeEnum, ChartTrendlineType, ChartTypeBits, DataOrientation, InvalidValueType, IRuntimeAxisPosition, IRuntimeAxisPriority, LabelAlignEnum, LabelContentType, LegendPositionEnum, LinePointShape, PieLabelPosition, RadarShape, RelationChartLayoutEnum, SelectModeEnum, SeriesLabelPosition, StackType, TextAlign, TextVerticalAlign, TitlePositionEnum, WaterfallSeriesTypeEnum, WaterfallStackTypeEnum, WordCloudShapeEnum, } from './enum';
|
|
15
15
|
export { chartBitsUtils, chartTypeCanUseTrendLine } from './util';
|
|
16
16
|
export type { ChartDataSourceValue, ChartDataSourceValues, ChartStyle, DeepPartial, IAllSeriesStyle, IAxisOptions, IChartConfig, IChartContext, IChartData, IChartDataAggregation, IChartDataCategory, IChartDataSeries, IChartHostRect, IChartInstance, IChartRenderModel, IChartSnapshot, IChartStyle, IGridLineStyle, ILabelStyle, ILegendStyle, IPieLabelStyle, IPointStyle, IRelationForceOptions, IRuntimeAxis, ISeriesLabelStyle, ISeriesStyle, ITrendLine, RightYAxisOptions, } from './types';
|
|
17
17
|
export { EChartRenderModel } from './model/echart-render-model';
|