@univerjs-pro/engine-chart 1.0.0-rc.0 → 1.0.1
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/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/chart-builder/chart-types.d.ts +10 -1
- package/lib/types/chart-builder/configuration/chart-config-group.d.ts +1 -0
- package/lib/types/chart-builder/conversion/chart-context-patch.d.ts +5 -2
- package/lib/types/chart-builder/conversion/chart-model-fields.d.ts +5 -0
- package/lib/types/chart-builder/conversion/describe-chart-model.d.ts +1030 -16
- package/lib/types/chart-text-measure-canvas.d.ts +1 -0
- package/lib/types/enum.d.ts +11 -1
- package/lib/types/facade/builders/f-scatter-chart-builder.d.ts +24 -0
- package/lib/types/facade/f-chart-builder-base.d.ts +22 -0
- package/lib/types/facade/f-chart.d.ts +22 -0
- package/lib/types/index.d.ts +3 -3
- package/lib/types/models/chart-context/chart-field-selection.d.ts +3 -7
- package/lib/types/models/chart-data/build-chart-data.d.ts +1 -1
- package/lib/types/models/chart-model/chart-model.d.ts +3093 -48
- package/lib/types/models/chart-render/axes/axis-placement.d.ts +19 -0
- package/lib/types/models/chart-render/chart-field-button-layout.d.ts +51 -0
- package/lib/types/models/chart-render/converter/calendar-date-axis.d.ts +7 -0
- package/lib/types/models/chart-render/converter/render-spec-operators/date-axis-label-layout.d.ts +5 -0
- package/lib/types/models/chart-render/converter/render-spec-operators/error-bars.operator.d.ts +3 -0
- package/lib/types/models/chart-render/converter/render-spec-operators/grid-operator.d.ts +3 -0
- package/lib/types/models/chart-render/converter/render-spec-operators/legend-size.d.ts +24 -1
- package/lib/types/models/chart-render/converter/render-spec-operators/multi-level-category-axis-layout.d.ts +2 -1
- package/lib/types/models/chart-render/converter/render-spec-operators/pie-auto-label-layout.d.ts +4 -0
- package/lib/types/models/chart-render/converter/render-spec-operators/title-size.d.ts +10 -0
- package/lib/types/models/chart-render/converter/render-spec-operators/tool-tip-operator.d.ts +2 -0
- package/lib/types/models/chart-render/converter/render-spec-operators/tools.d.ts +6 -3
- package/lib/types/models/chart-render/converter/render-spec-operators/value-axis-scale.d.ts +9 -0
- package/lib/types/models/chart-render/echart-render-model/echart-render-engine.d.ts +1 -0
- package/lib/types/models/chart-render/format/pie-data-label.d.ts +9 -0
- package/lib/types/models/chart-render/style/chart-runtime-style.d.ts +2 -1
- package/lib/types/models/common/constants/default-chart-style.d.ts +2 -1
- package/lib/types/types.d.ts +142 -11
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +7 -7
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x395090=_0x14f6;(function(_0x1e1ec2,_0x493c58){const _0x57c699=_0x14f6,_0x3ef274=_0x1e1ec2();while(!![]){try{const _0x539d49=parseInt(_0x57c699(0x11d))/0x1+parseInt(_0x57c699(0x12e))/0x2+parseInt(_0x57c699(0x121))/0x3*(-parseInt(_0x57c699(0x13d))/0x4)+parseInt(_0x57c699(0x133))/0x5+-parseInt(_0x57c699(0x131))/0x6*(parseInt(_0x57c699(0x128))/0x7)+parseInt(_0x57c699(0x13a))/0x8*(parseInt(_0x57c699(0x13c))/0x9)+parseInt(_0x57c699(0x12a))/0xa*(parseInt(_0x57c699(0x13f))/0xb);if(_0x539d49===_0x493c58)break;else _0x3ef274['push'](_0x3ef274['shift']());}catch(_0x5efb43){_0x3ef274['push'](_0x3ef274['shift']());}}}(_0x394a,0x8834a));function _0x14f6(_0x4eb881,_0x17ae13){_0x4eb881=_0x4eb881-0x11d;const _0x394afb=_0x394a();let _0x14f697=_0x394afb[_0x4eb881];return _0x14f697;}const e={'engine-chart':{'invalidSourceHeader':_0x395090(0x123),'seriesDefaultName':_0x395090(0x126),'blank':_0x395090(0x144),'boxplotMin':_0x395090(0x125),'boxplotQ1':_0x395090(0x12b),'boxplotMedian':_0x395090(0x120),'boxplotQ3':_0x395090(0x13e),'boxplotMax':_0x395090(0x124),'bubbleEmptyTips':_0x395090(0x130),'cloudWord':'Từ','cloudFrequency':_0x395090(0x137),'msgEmptyTips':_0x395090(0x129),'msgSankeyCircularTips':'Biểu\x20đồ\x20Sankey\x20không\x20thể\x20chứa\x20dữ\x20liệu\x20vòng\x20lặp','paretoLineName':'Tỷ\x20lệ\x20tích\x20lũy','pieAggregateOther':_0x395090(0x127),'pieAggregateMembers':_0x395090(0x140),'relationEmptyTips':_0x395090(0x139),'waterfallPositive':_0x395090(0x134),'waterfallNegative':_0x395090(0x11f),'waterfallSubtotal':_0x395090(0x141),'candlestickSeries':'Chuỗi\x20OHLC','candlestickHlcSeries':_0x395090(0x11e),'candlestickCategory':'Danh\x20mục','candlestickDate':'Ngày','candlestickOpen':'Giá\x20mở\x20cửa','candlestickHigh':_0x395090(0x138),'candlestickLow':_0x395090(0x122),'candlestickClose':_0x395090(0x12c),'histogramFrequency':_0x395090(0x137),'treemapEmptyTips':_0x395090(0x132),'treemapOwnValue':_0x395090(0x142),'treemapChildren':'Phần\x20tử\x20con','sunburstEmptyTips':_0x395090(0x146),'sunburstOwnValue':_0x395090(0x142),'sunburstChildren':_0x395090(0x13b),'gaugeEmptyTips':_0x395090(0x143),'gaugeInvalidMapping':_0x395090(0x135),'gaugeInvalidConfig':_0x395090(0x145),'chordEmptyTips':_0x395090(0x12f),'chordInvalidMapping':_0x395090(0x136),'chordInvalidConfig':'Cấu\x20hình\x20biểu\x20đồ\x20dây\x20cung\x20không\x20hợp\x20lệ.\x20Hãy\x20kiểm\x20tra\x20góc,\x20bán\x20kính,\x20độ\x20mờ\x20và\x20kích\x20thước.','chordCount':_0x395090(0x12d),'chordAssociatedValue':'Giá\x20trị\x20liên\x20kết'}};export{e as default};function _0x394a(){const _0x53c4e1=['Biểu\x20đồ\x20dây\x20cung\x20cần\x20ít\x20nhất\x20một\x20quan\x20hệ\x20có\x20trọng\x20số\x20dương\x20giữa\x20hai\x20nút\x20khác\x20nhau.','Biểu\x20đồ\x20bong\x20bóng\x20yêu\x20cầu\x20ít\x20nhất\x202\x20cột:\x20trục\x20X,\x20trục\x20Y','54VKAHmA','Biểu\x20đồ\x20cây\x20cần\x20ít\x20nhất\x20một\x20trường\x20phân\x20cấp\x20và\x20một\x20trường\x20giá\x20trị\x20số.','939060CxLvYK','Giá\x20trị\x20dương','Biểu\x20đồ\x20đồng\x20hồ\x20cần\x20một\x20trường\x20nhãn\x20và\x20đúng\x20một\x20trường\x20giá\x20trị.','Biểu\x20đồ\x20dây\x20cung\x20cần\x20các\x20trường\x20Nguồn\x20và\x20Đích\x20khác\x20nhau\x20cùng\x20một\x20trường\x20Giá\x20trị\x20khác\x20biệt\x20không\x20bắt\x20buộc.','Tần\x20suất','Giá\x20cao\x20nhất','Nguồn\x20dữ\x20liệu\x20cho\x20biểu\x20đồ\x20quan\x20hệ\x20là\x20ma\x20trận\x20đồng\x20từ\x20với\x20cột\x20loại\x20bổ\x20sung\x20ở\x20cột\x20thứ\x20hai','536bBARtY','Phần\x20tử\x20con','21717RSmVhj','12NaDBNq','Phần\x20tư\x20thứ\x20ba','11ArPoYd','Thành\x20phần','Tổng\x20phụ','Giá\x20trị\x20riêng','Biểu\x20đồ\x20đồng\x20hồ\x20cần\x20ít\x20nhất\x20một\x20giá\x20trị\x20số\x20hữu\x20hạn.','(Trống)','Cấu\x20hình\x20biểu\x20đồ\x20đồng\x20hồ\x20không\x20hợp\x20lệ.\x20Hãy\x20kiểm\x20tra\x20thang\x20đo,\x20phạm\x20vi,\x20tỷ\x20lệ\x20và\x20kích\x20thước.','Biểu\x20đồ\x20sunburst\x20cần\x20ít\x20nhất\x20một\x20trường\x20phân\x20cấp\x20và\x20một\x20trường\x20giá\x20trị\x20số.','106179ZYwySa','Chuỗi\x20HLC','Giá\x20trị\x20âm','Trung\x20vị','943224WTLFDv','Giá\x20thấp\x20nhất','Tiêu\x20đề\x20nguồn\x20dữ\x20liệu\x20biểu\x20đồ\x20không\x20hợp\x20lệ.','Giá\x20trị\x20lớn\x20nhất','Giá\x20trị\x20nhỏ\x20nhất','Loạt\x20{0}','Khác','813491TcbGZG','Không\x20có\x20dữ\x20liệu\x20để\x20hiển\x20thị.','13234810gYoJLN','Phần\x20tư\x20thứ\x20nhất','Giá\x20đóng\x20cửa','Số\x20lượng\x20mối\x20quan\x20hệ','1535792yyjJzO'];_0x394a=function(){return _0x53c4e1;};return _0x394a();}
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x20ec(_0x11254b,_0x367b6e){_0x11254b=_0x11254b-0x137;const _0xac584c=_0xac58();let _0x20ec9=_0xac584c[_0x11254b];return _0x20ec9;}const _0x164780=_0x20ec;(function(_0x559ec9,_0x36de88){const _0x1bee0a=_0x20ec,_0x48d1b5=_0x559ec9();while(!![]){try{const _0x21cd2e=parseInt(_0x1bee0a(0x13d))/0x1+-parseInt(_0x1bee0a(0x147))/0x2*(-parseInt(_0x1bee0a(0x141))/0x3)+parseInt(_0x1bee0a(0x13e))/0x4+-parseInt(_0x1bee0a(0x14a))/0x5*(-parseInt(_0x1bee0a(0x14d))/0x6)+-parseInt(_0x1bee0a(0x150))/0x7+-parseInt(_0x1bee0a(0x148))/0x8*(parseInt(_0x1bee0a(0x140))/0x9)+parseInt(_0x1bee0a(0x14f))/0xa;if(_0x21cd2e===_0x36de88)break;else _0x48d1b5['push'](_0x48d1b5['shift']());}catch(_0x404f12){_0x48d1b5['push'](_0x48d1b5['shift']());}}}(_0xac58,0xb9945));const e={'engine-chart':{'invalidSourceHeader':'图表数据源标题配置无效。','seriesDefaultName':'系列\x20{0}','blank':_0x164780(0x149),'boxplotMin':_0x164780(0x14e),'boxplotQ1':_0x164780(0x153),'boxplotMedian':_0x164780(0x14c),'boxplotQ3':_0x164780(0x14b),'boxplotMax':_0x164780(0x146),'bubbleEmptyTips':_0x164780(0x142),'cloudWord':'词语','cloudFrequency':'频率','msgEmptyTips':_0x164780(0x138),'msgSankeyCircularTips':'桑基图不能包含循环数据','paretoLineName':'累积占比','pieAggregateOther':'其他','pieAggregateMembers':_0x164780(0x13b),'relationEmptyTips':_0x164780(0x143),'waterfallPositive':'正值','waterfallNegative':'负值','waterfallSubtotal':'小计','candlestickSeries':'OHLC\x20系列','candlestickHlcSeries':_0x164780(0x145),'candlestickCategory':'类别','candlestickDate':'日期','candlestickOpen':'开盘','candlestickHigh':'最高','candlestickLow':'最低','candlestickClose':'收盘','histogramFrequency':'频数','treemapEmptyTips':'矩形树图至少需要一个层级字段和一个数值字段。','treemapOwnValue':_0x164780(0x139),'treemapChildren':'子项','sunburstEmptyTips':'旭日图至少需要一个层级字段和一个数值字段。','sunburstOwnValue':_0x164780(0x139),'sunburstChildren':'子项','gaugeEmptyTips':_0x164780(0x144),'gaugeInvalidMapping':_0x164780(0x137),'gaugeInvalidConfig':_0x164780(0x13f),'chordEmptyTips':_0x164780(0x13a),'chordInvalidMapping':_0x164780(0x152),'chordInvalidConfig':_0x164780(0x151),'chordCount':_0x164780(0x154),'chordAssociatedValue':_0x164780(0x13c)}};function _0xac58(){const _0x54e3ea=['第三四分位数','中位数','138gaieoC','最小值','19806420DHGUch','5952310DyGPFE','弦图配置无效,请检查角度、半径、不透明度和尺寸。','弦图需要不同的来源字段和目标字段,并可选一个与二者不同的数值字段。','第一四分位数','关系计数','仪表图需要一个标签字段且只能有一个数值字段。','请先添加系列开始数据可视化','自身值','弦图至少需要两个不同节点之间的一条正权重关系。','成员数','关联值','302404MWgCsU','1036164rCLUko','仪表图配置无效,请检查刻度范围、分段区间、比例和尺寸。','351IrgzFo','9yNrhUo','气泡图至少需要2列,X轴、Y轴。','关系图数据源为额外添加类型列在第二列的共词矩阵','仪表图至少需要一个有限数值。','HLC\x20系列','最大值','127326ggrMsH','269264sgfUQX','(空)','41315JViGae'];_0xac58=function(){return _0x54e3ea;};return _0xac58();}export{e as default};
|
package/lib/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4a84(_0x68264,_0x2db312){_0x68264=_0x68264-0x194;const _0x220dc3=_0x220d();let _0x4a84ee=_0x220dc3[_0x68264];return _0x4a84ee;}const _0x1dcaf7=_0x4a84;(function(_0x52f63f,_0x55a4eb){const _0x32f630=_0x4a84,_0x3099ed=_0x52f63f();while(!![]){try{const _0x53ac69=parseInt(_0x32f630(0x1b2))/0x1*(parseInt(_0x32f630(0x1ad))/0x2)+parseInt(_0x32f630(0x198))/0x3*(-parseInt(_0x32f630(0x1ab))/0x4)+parseInt(_0x32f630(0x199))/0x5+parseInt(_0x32f630(0x197))/0x6*(-parseInt(_0x32f630(0x1a6))/0x7)+parseInt(_0x32f630(0x1b0))/0x8+parseInt(_0x32f630(0x1a2))/0x9+-parseInt(_0x32f630(0x19c))/0xa*(parseInt(_0x32f630(0x19d))/0xb);if(_0x53ac69===_0x55a4eb)break;else _0x3099ed['push'](_0x3099ed['shift']());}catch(_0x27b851){_0x3099ed['push'](_0x3099ed['shift']());}}}(_0x220d,0x698f2));const e={'engine-chart':{'invalidSourceHeader':'圖表資料來源標題設定無效。','seriesDefaultName':_0x1dcaf7(0x19a),'blank':_0x1dcaf7(0x1a1),'boxplotMin':_0x1dcaf7(0x194),'boxplotQ1':_0x1dcaf7(0x1a0),'boxplotMedian':_0x1dcaf7(0x1aa),'boxplotQ3':'第三四分位數','boxplotMax':_0x1dcaf7(0x195),'bubbleEmptyTips':'氣泡圖至少需要2欄,X軸、Y軸。','cloudWord':'詞','cloudFrequency':'頻率','msgEmptyTips':'請先添加系列開始數據可視化','msgSankeyCircularTips':'桑基圖不能包含循環數據','paretoLineName':'累積占比','pieAggregateOther':'其他','pieAggregateMembers':'成員','relationEmptyTips':'關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','waterfallPositive':'正值','waterfallNegative':'負值','waterfallSubtotal':'小計','candlestickSeries':_0x1dcaf7(0x19f),'candlestickHlcSeries':_0x1dcaf7(0x1ac),'candlestickCategory':'類別','candlestickDate':'日期','candlestickOpen':_0x1dcaf7(0x1b4),'candlestickHigh':_0x1dcaf7(0x196),'candlestickLow':_0x1dcaf7(0x1a8),'candlestickClose':_0x1dcaf7(0x1b1),'histogramFrequency':'頻數','treemapEmptyTips':'矩形樹圖至少需要一個階層欄位和一個數值欄位。','treemapOwnValue':_0x1dcaf7(0x1a5),'treemapChildren':'子項','sunburstEmptyTips':_0x1dcaf7(0x1af),'sunburstOwnValue':_0x1dcaf7(0x1a5),'sunburstChildren':'子項','gaugeEmptyTips':_0x1dcaf7(0x19b),'gaugeInvalidMapping':_0x1dcaf7(0x1a7),'gaugeInvalidConfig':_0x1dcaf7(0x19e),'chordEmptyTips':_0x1dcaf7(0x1ae),'chordInvalidMapping':_0x1dcaf7(0x1a4),'chordInvalidConfig':_0x1dcaf7(0x1a3),'chordCount':_0x1dcaf7(0x1b3),'chordAssociatedValue':_0x1dcaf7(0x1a9)}};function _0x220d(){const _0x3e0ab3=['OHLC\x20數列','第一四分位數','(空)','7605387ZXFvDp','弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','自身值','226093fYfBvi','儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','最低價','關聯值','中位數','4apwSql','HLC\x20數列','2bbWCNM','弦圖至少需要兩個不同節點之間的一條正權重關係。','旭日圖至少需要一個階層欄位和一個數值欄位。','2184888HtFOzr','收盤價','529441OXjfSL','關係數','開盤價','最小值','最大值','最高價','18KqtkIO','812847kDKTWS','4102455yTKVDn','系列\x20{0}','儀表圖至少需要一個有限數值。','8339350LmRCuV','22XXvsSM','儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。'];_0x220d=function(){return _0x3e0ab3;};return _0x220d();}export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xe482ed=_0x2771;(function(_0x22c3bf,_0x270c5f){const _0xcff2b7=_0x2771,_0x457361=_0x22c3bf();while(!![]){try{const _0x2a1318=parseInt(_0xcff2b7(0x1ba))/0x1*(parseInt(_0xcff2b7(0x1d2))/0x2)+parseInt(_0xcff2b7(0x1d7))/0x3+parseInt(_0xcff2b7(0x1c1))/0x4*(-parseInt(_0xcff2b7(0x1d4))/0x5)+-parseInt(_0xcff2b7(0x1d3))/0x6+-parseInt(_0xcff2b7(0x1d0))/0x7*(-parseInt(_0xcff2b7(0x1b8))/0x8)+parseInt(_0xcff2b7(0x1c9))/0x9*(-parseInt(_0xcff2b7(0x1ce))/0xa)+-parseInt(_0xcff2b7(0x1d1))/0xb;if(_0x2a1318===_0x270c5f)break;else _0x457361['push'](_0x457361['shift']());}catch(_0x3cd09b){_0x457361['push'](_0x457361['shift']());}}}(_0x5922,0xd97ea));const e={'engine-chart':{'invalidSourceHeader':_0xe482ed(0x1c6),'seriesDefaultName':_0xe482ed(0x1cf),'blank':'(空)','boxplotMin':_0xe482ed(0x1bb),'boxplotQ1':_0xe482ed(0x1ca),'boxplotMedian':'中位數','boxplotQ3':'第三四分位數','boxplotMax':'最大值','bubbleEmptyTips':_0xe482ed(0x1c5),'cloudWord':'詞','cloudFrequency':'頻率','msgEmptyTips':'請先添加系列開始數據可視化','msgSankeyCircularTips':_0xe482ed(0x1be),'paretoLineName':_0xe482ed(0x1c0),'pieAggregateOther':'其他','pieAggregateMembers':'成員','relationEmptyTips':'關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','waterfallPositive':'正值','waterfallNegative':'負值','waterfallSubtotal':'小計','candlestickSeries':_0xe482ed(0x1cc),'candlestickHlcSeries':_0xe482ed(0x1c8),'candlestickCategory':'類別','candlestickDate':'日期','candlestickOpen':_0xe482ed(0x1bc),'candlestickHigh':'最高價','candlestickLow':_0xe482ed(0x1d6),'candlestickClose':_0xe482ed(0x1c3),'histogramFrequency':'頻數','treemapEmptyTips':_0xe482ed(0x1c7),'treemapOwnValue':_0xe482ed(0x1c2),'treemapChildren':'子項','sunburstEmptyTips':_0xe482ed(0x1b7),'sunburstOwnValue':_0xe482ed(0x1c2),'sunburstChildren':'子項','gaugeEmptyTips':_0xe482ed(0x1c4),'gaugeInvalidMapping':_0xe482ed(0x1d5),'gaugeInvalidConfig':_0xe482ed(0x1bf),'chordEmptyTips':_0xe482ed(0x1bd),'chordInvalidMapping':_0xe482ed(0x1b9),'chordInvalidConfig':_0xe482ed(0x1cd),'chordCount':_0xe482ed(0x1b6),'chordAssociatedValue':_0xe482ed(0x1cb)}};function _0x5922(){const _0x41ae66=['收盤價','儀表圖至少需要一個有限數值。','氣泡圖至少需要2欄,X軸、Y軸。','圖表資料來源標題設定無效。','矩形樹圖至少需要一個階層欄位和一個數值欄位。','HLC\x20數列','1600173xqYstz','第一四分位數','關聯值','OHLC\x20數列','弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','50rZqkxo','系列\x20{0}','136990UMSvAJ','5635971yFCxuH','8RgdQyY','854838HqzAsi','5XbPoJg','儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','最低價','2172132jWHjUD','關係數','旭日圖至少需要一個階層欄位和一個數值欄位。','472jTLQpm','弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','386833dGQzUR','最小值','開盤價','弦圖至少需要兩個不同節點之間的一條正權重關係。','桑基圖不能包含循環數據','儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。','累積占比','3965316NAmjwU','自身值'];_0x5922=function(){return _0x41ae66;};return _0x5922();}function _0x2771(_0x866e73,_0x31aa19){_0x866e73=_0x866e73-0x1b6;const _0x592237=_0x5922();let _0x277198=_0x592237[_0x866e73];return _0x277198;}export{e as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IChartTopNSpec } from '../chart-data-aggregation';
|
|
2
|
-
import type { AreaLineStyle, AxisAlignEnum, BarShape, ChartAxisDimension, ChartBorderDashType, ChartMarkLineLabelPosition, ChartSemanticAxis, ChartTrendlineType, ChartWaterfallPointRole, InvalidValueType, IRuntimeAxisPosition, LabelAlignEnum, LabelContentType, LegendPositionEnum, LinePointShape, PieLabelPosition, RadarShape, RelationChartLayoutEnum, SelectModeEnum, SeriesLabelPosition, TitlePositionEnum, WaterfallStackTypeEnum, WordCloudShapeEnum } from '../enum';
|
|
2
|
+
import type { AreaLineStyle, AxisAlignEnum, BarShape, ChartAxisDimension, ChartBorderDashType, ChartMarkLineLabelPosition, ChartSemanticAxis, ChartTrendlineType, ChartWaterfallPointRole, InvalidValueType, IRuntimeAxisPosition, LabelAlignEnum, LabelContentType, LegendPositionEnum, LinePointShape, PieLabelPosition, RadarShape, RelationChartLayoutEnum, ScatterLineType, SelectModeEnum, SeriesLabelPosition, TitlePositionEnum, WaterfallStackTypeEnum, WordCloudShapeEnum } from '../enum';
|
|
3
3
|
import type { DeepNullish, IChartCandlestickMappingSpec, IChartCandlestickSpec, IChartChordMappingSpec, IChartChordSpec, IChartGaugeSpec, IChartHistogramSpec, IChartSunburstSpec, IChartTreemapSpec, IChartValueLabelSpec } from '../types';
|
|
4
4
|
import type { ChartColor } from './chart-color';
|
|
5
5
|
/** Canonical semantic chart type names exposed by the chart facade. */
|
|
@@ -174,6 +174,7 @@ export type ChartSeriesSelector = {
|
|
|
174
174
|
name: string;
|
|
175
175
|
};
|
|
176
176
|
export interface IChartSeriesBorderSpec {
|
|
177
|
+
visible?: boolean;
|
|
177
178
|
color?: string;
|
|
178
179
|
width?: number;
|
|
179
180
|
opacity?: number;
|
|
@@ -196,6 +197,7 @@ export interface IChartHeatmapLabelSpec extends IChartFontSpec, IChartValueLabel
|
|
|
196
197
|
position?: SeriesLabelPosition;
|
|
197
198
|
}
|
|
198
199
|
export interface IChartSeriesStyleSpec {
|
|
200
|
+
scatterLine?: ScatterLineType;
|
|
199
201
|
color?: ChartColor;
|
|
200
202
|
fillOpacity?: number;
|
|
201
203
|
border?: IChartSeriesBorderSpec;
|
|
@@ -205,6 +207,7 @@ export interface IChartSeriesStyleSpec {
|
|
|
205
207
|
}
|
|
206
208
|
/** Style fields accepted by fill-capable chart data points. */
|
|
207
209
|
export interface IChartSeriesDataPointStyleSpec {
|
|
210
|
+
border?: IChartSeriesBorderSpec;
|
|
208
211
|
shape?: LinePointShape;
|
|
209
212
|
size?: number;
|
|
210
213
|
color?: ChartColor;
|
|
@@ -236,6 +239,8 @@ export interface IChartSolidSeriesPatch extends Omit<IChartLineSeriesPatch, keyo
|
|
|
236
239
|
}
|
|
237
240
|
export interface IChartTrendlineSpec {
|
|
238
241
|
selector: ChartSeriesSelector;
|
|
242
|
+
/** Stable source identity used to preserve the binding when field indexes move. */
|
|
243
|
+
seriesId?: string;
|
|
239
244
|
type: ChartTrendlineType;
|
|
240
245
|
name?: string;
|
|
241
246
|
color?: string;
|
|
@@ -298,6 +303,8 @@ export interface IChartEdgeMappingSpec {
|
|
|
298
303
|
valueIndex?: number;
|
|
299
304
|
}
|
|
300
305
|
export interface IChartMappingSpec {
|
|
306
|
+
/** Dataset value-field index to ordered category fields. Omitted series inherit the shared category. */
|
|
307
|
+
seriesToCategory?: Record<number, number[]>;
|
|
301
308
|
categoryIndex?: number;
|
|
302
309
|
/** Ordered category fields used by a multi-level category axis. */
|
|
303
310
|
categoryIndexes?: number[];
|
|
@@ -521,6 +528,8 @@ export interface IChartWaterfallConnectorStyleSpec {
|
|
|
521
528
|
dashType?: ChartBorderDashType;
|
|
522
529
|
}
|
|
523
530
|
interface IChartSemanticConfig {
|
|
531
|
+
/** Whether Sheet charts exclude hidden source data; omitted preserves the historical default. */
|
|
532
|
+
plotVisibleOnly?: boolean;
|
|
524
533
|
type?: ChartTypeString;
|
|
525
534
|
autoGradientFill?: boolean;
|
|
526
535
|
title?: ChartTitleSpec;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import type { DeepNullish, IChartContext } from '../../types';
|
|
2
|
-
/**
|
|
3
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Returns canonical snapshot fields. Supplying the current context applies a historical
|
|
4
|
+
* incremental patch first, so old field names and null deletions are decoded before merging.
|
|
5
|
+
*/
|
|
6
|
+
export declare function canonicalizeChartContext(value: unknown, currentContext?: IChartContext): IChartContext;
|
|
4
7
|
/** Internal Pending boundary used before a command payload is created. */
|
|
5
8
|
export declare function applyPendingChartContext(current: IChartContext | undefined, value: DeepNullish<IChartContext>): IChartContext;
|
|
@@ -38,13 +38,16 @@ export declare enum ChartStyleField {
|
|
|
38
38
|
YAxis = "yAxis"
|
|
39
39
|
}
|
|
40
40
|
export declare enum ChartContextField {
|
|
41
|
+
PlotVisibleOnly = "plotVisibleOnly",
|
|
41
42
|
CategoryIndexes = "categoryIndexes",
|
|
43
|
+
SeriesToCategory = "seriesToCategory",
|
|
42
44
|
Histogram = "histogram",
|
|
43
45
|
MultiLevelCategoryAxis = "multiLevelCategoryAxis",
|
|
44
46
|
SeriesIndexes = "seriesIndexes",
|
|
45
47
|
UseDateAxis = "useDateAxis"
|
|
46
48
|
}
|
|
47
49
|
export declare enum ChartMappingField {
|
|
50
|
+
SeriesToCategory = "seriesToCategory",
|
|
48
51
|
Bubble = "bubble",
|
|
49
52
|
Candlestick = "candlestick",
|
|
50
53
|
CategoryIndex = "categoryIndex",
|
|
@@ -111,10 +114,12 @@ export declare enum ChartSeriesSelectorField {
|
|
|
111
114
|
Selector = "selector"
|
|
112
115
|
}
|
|
113
116
|
export declare enum ChartSeriesStyleField {
|
|
117
|
+
ScatterLine = "scatterLine",
|
|
114
118
|
BorderColor = "border.color",
|
|
115
119
|
BorderDashType = "border.dashType",
|
|
116
120
|
BorderOpacity = "border.opacity",
|
|
117
121
|
BorderWidth = "border.width",
|
|
122
|
+
BorderVisible = "border.visible",
|
|
118
123
|
ChartType = "chartType",
|
|
119
124
|
Color = "color",
|
|
120
125
|
DataPoints = "dataPoints",
|