@univerjs-pro/sheets-chart 1.0.0-alpha.8 → 1.0.0-beta.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.
Files changed (112) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/types/chart-builder/{sheet-chart-builder-adapter.d.ts → sheet-chart-config-adapter.d.ts} +17 -8
  65. package/lib/types/chart-builder/types.d.ts +5 -1
  66. package/lib/types/chart-source/chart-source.d.ts +2 -0
  67. package/lib/types/chart-source/source-util.d.ts +5 -21
  68. package/lib/types/commands/chart-persisted-context.d.ts +3 -0
  69. package/lib/types/commands/commands/sheets-chart-update-config.command.d.ts +7 -3
  70. package/lib/types/commands/mutations/sheets-chart-update-config.mutation.d.ts +3 -3
  71. package/lib/types/common/util.d.ts +2 -0
  72. package/lib/types/config/config.d.ts +2 -2
  73. package/lib/types/facade/f-enum.d.ts +27 -0
  74. package/lib/types/facade/f-worksheet.d.ts +134 -0
  75. package/lib/types/facade/index.d.ts +3 -3
  76. package/lib/types/index.d.ts +8 -3
  77. package/lib/types/locale/en-US.d.ts +37 -2
  78. package/lib/types/plugin.d.ts +0 -1
  79. package/lib/types/services/chart-model.service.d.ts +13 -14
  80. package/lib/types/services/sheet-chart-range-watcher.d.ts +5 -5
  81. package/lib/types/services/sheets-chart.service.d.ts +7 -5
  82. package/lib/umd/facade.js +1 -1
  83. package/lib/umd/index.js +1 -1
  84. package/lib/umd/locale/ar-SA.js +1 -1
  85. package/lib/umd/locale/ca-ES.js +1 -1
  86. package/lib/umd/locale/de-DE.js +1 -1
  87. package/lib/umd/locale/en-US.js +1 -1
  88. package/lib/umd/locale/es-ES.js +1 -1
  89. package/lib/umd/locale/fa-IR.js +1 -1
  90. package/lib/umd/locale/fr-FR.js +1 -1
  91. package/lib/umd/locale/id-ID.js +1 -1
  92. package/lib/umd/locale/it-IT.js +1 -1
  93. package/lib/umd/locale/ja-JP.js +1 -1
  94. package/lib/umd/locale/ko-KR.js +1 -1
  95. package/lib/umd/locale/pl-PL.js +1 -1
  96. package/lib/umd/locale/pt-BR.js +1 -1
  97. package/lib/umd/locale/ru-RU.js +1 -1
  98. package/lib/umd/locale/sk-SK.js +1 -1
  99. package/lib/umd/locale/vi-VN.js +1 -1
  100. package/lib/umd/locale/zh-CN.js +1 -1
  101. package/lib/umd/locale/zh-HK.js +1 -1
  102. package/lib/umd/locale/zh-TW.js +1 -1
  103. package/package.json +10 -9
  104. package/lib/types/chart-builder/index.d.ts +0 -10
  105. package/lib/types/chart-builder/sheet-chart-builder.d.ts +0 -17
  106. package/lib/types/chart-builder/sheet-chart-create-spec.d.ts +0 -6
  107. package/lib/types/facade/chart/f-sheet-chart-builder.d.ts +0 -83
  108. package/lib/types/facade/chart/f-sheet-charts.d.ts +0 -100
  109. package/lib/types/facade/chart/index.d.ts +0 -2
  110. package/lib/types/facade/chart/sheet-chart-command-adapter.d.ts +0 -13
  111. package/lib/types/facade/f-worksheet-charts.d.ts +0 -12
  112. package/lib/types/models/chart-model.d.ts +0 -22
@@ -1 +1 @@
1
- function _0x5287(){var _0x4c3c28=['第三四分位数','671128PybwOp','关系图数据源为额外添加类型列在第二列的共词矩阵','最大值','类别\x20{0}','6490032kFWxqz','累积占比','Low','13052520ZUoasB','192150zoYdlS','请先添加系列开始数据可视化','229654WVopqF','Open','第一四分位数','中位数','(空)','Close','气泡图至少需要2列,X轴、Y轴。','function','OHLC','6FKXQCG','13623qrKrqx','5CpxsyB','836NnCsCj','6853924flQzGL','object','UniverProSheetsChartZhCN','系列\x20{0}','自身值','Category','297CkPTkE','桑基图不能包含循环数据','27DNUMXL'];_0x5287=function(){return _0x4c3c28;};return _0x5287();}function _0x3518(_0x56ed78,_0x85fbc8){_0x56ed78=_0x56ed78-0x1eb;var _0x528771=_0x5287();var _0x351847=_0x528771[_0x56ed78];return _0x351847;}(function(_0x3133bb,_0x311f38){var _0x117d8b=_0x3518,_0x283565=_0x3133bb();while(!![]){try{var _0x53e435=parseInt(_0x117d8b(0x1fe))/0x1*(parseInt(_0x117d8b(0x207))/0x2)+parseInt(_0x117d8b(0x208))/0x3*(-parseInt(_0x117d8b(0x20a))/0x4)+parseInt(_0x117d8b(0x209))/0x5*(parseInt(_0x117d8b(0x1f8))/0x6)+-parseInt(_0x117d8b(0x20b))/0x7+-parseInt(_0x117d8b(0x1f4))/0x8*(-parseInt(_0x117d8b(0x1f2))/0x9)+parseInt(_0x117d8b(0x1fc))/0xa*(-parseInt(_0x117d8b(0x1f0))/0xb)+parseInt(_0x117d8b(0x1fb))/0xc;if(_0x53e435===_0x311f38)break;else _0x283565['push'](_0x283565['shift']());}catch(_0x34064a){_0x283565['push'](_0x283565['shift']());}}}(_0x5287,0xa1de3),function(_0x4f3a99,_0xfb3299){var _0x46618d=_0x3518;typeof exports==_0x46618d(0x1eb)&&typeof module<'u'?module['exports']=_0xfb3299():typeof define==_0x46618d(0x205)&&define['amd']?define([],_0xfb3299):(_0x4f3a99=typeof globalThis<'u'?globalThis:_0x4f3a99||self,_0x4f3a99[_0x46618d(0x1ec)]=_0xfb3299());}(this,function(){var _0x799771=_0x3518;return{'sheets-chart':{'category':'类别','series':'系列','seriesDefaultName':_0x799771(0x1ed),'categoryDefaultName':_0x799771(0x1f7),'blank':_0x799771(0x202),'msg':{'emptyTips':_0x799771(0x1fd),'sankeyCircularTips':_0x799771(0x1f1)},'bubble':{'emptyTips':_0x799771(0x204)},'relation':{'emptyTips':_0x799771(0x1f5)},'cloud':{'word':'词语','frequency':'频率'},'waterfall':{'positive':'正值','negative':'负值','subtotal':'小计'},'pareto':{'lineName':_0x799771(0x1f9)},'candlestick':{'series':_0x799771(0x206),'category':_0x799771(0x1ef),'open':_0x799771(0x1ff),'high':'High','low':_0x799771(0x1fa),'close':_0x799771(0x203)},'boxplot':{'min':'最小值','q1':_0x799771(0x200),'median':_0x799771(0x201),'q3':_0x799771(0x1f3),'max':_0x799771(0x1f6)},'histogram':{'frequency':'频数'},'treemap':{'hierarchy':'层级','value':'','ownValue':_0x799771(0x1ee),'children':'子项'}}};}));
1
+ function _0x198f(_0x1e611d,_0x4d2045){_0x1e611d=_0x1e611d-0x92;var _0x41e36b=_0x41e3();var _0x198feb=_0x41e36b[_0x1e611d];return _0x198feb;}function _0x41e3(){var _0x248424=['自身值','220956dDWgsC','exports','弦图配置无效,请检查角度、半径、不透明度和尺寸。','1011312SSOVlR','类别\x20{0}','第三四分位数','69187QQblgn','成员数','桑基图不能包含循环数据','最小值','207maYudi','Value','仪表图至少需要一个有限数值。','第一四分位数','气泡图至少需要2列,X轴、Y轴。','function','所选图表字段已不可用。','关联值','矩形树图至少需要一个层级字段和一个数值字段。','弦图至少需要两个不同节点之间的一条正权重关系。','UniverProSheetsChartZhCN','OHLC\x20系列','29230dKfWCp','916XqWFub','累积占比','所选字段无法构成此图表所需的有效数据结构。','数值字段','层级字段','2AVowMi','3135QlHFPF','此图表类型没有字段使用规则。','中位数','弦图需要不同的来源字段和目标字段,并可选一个与二者不同的数值字段。','676515IUHvxp','amd','object','此图表需要更多标签字段。','系列\x20{0}','仪表图需要一个标签字段且只能有一个数值字段。','关系图数据源为额外添加类型列在第二列的共词矩阵','136713UtoxVN','所选值字段不包含数值数据。'];_0x41e3=function(){return _0x248424;};return _0x41e3();}(function(_0x2a8322,_0x4f54f8){var _0x465433=_0x198f,_0x38ae40=_0x2a8322();while(!![]){try{var _0x237ea5=-parseInt(_0x465433(0x94))/0x1+parseInt(_0x465433(0xaa))/0x2*(-parseInt(_0x465433(0xb6))/0x3)+-parseInt(_0x465433(0xa5))/0x4*(-parseInt(_0x465433(0xab))/0x5)+-parseInt(_0x465433(0xb9))/0x6+parseInt(_0x465433(0xaf))/0x7+parseInt(_0x465433(0xbc))/0x8+parseInt(_0x465433(0x98))/0x9*(-parseInt(_0x465433(0xa4))/0xa);if(_0x237ea5===_0x4f54f8)break;else _0x38ae40['push'](_0x38ae40['shift']());}catch(_0x12910b){_0x38ae40['push'](_0x38ae40['shift']());}}}(_0x41e3,0x24175),function(_0x33ef2e,_0xf59cd0){var _0x2b3fa5=_0x198f;typeof exports==_0x2b3fa5(0xb1)&&typeof module<'u'?module[_0x2b3fa5(0xba)]=_0xf59cd0():typeof define==_0x2b3fa5(0x9d)&&define[_0x2b3fa5(0xb0)]?define([],_0xf59cd0):(_0x33ef2e=typeof globalThis<'u'?globalThis:_0x33ef2e||self,_0x33ef2e[_0x2b3fa5(0xa2)]=_0xf59cd0());}(this,function(){var _0x511fb7=_0x198f;return{'sheets-chart':{'seriesDefaultName':_0x511fb7(0xb3),'categoryDefaultName':_0x511fb7(0x92),'blank':'()','msg':{'emptyTips':'请先添加系列开始数据可视化','sankeyCircularTips':_0x511fb7(0x96)},'bubble':{'emptyTips':_0x511fb7(0x9c)},'relation':{'emptyTips':_0x511fb7(0xb5)},'cloud':{'word':'词语','frequency':'频率'},'waterfall':{'positive':'正值','negative':'负值','subtotal':'小计'},'pareto':{'lineName':_0x511fb7(0xa6)},'boxplot':{'min':_0x511fb7(0x97),'q1':_0x511fb7(0x9b),'median':_0x511fb7(0xad),'q3':_0x511fb7(0x93),'max':'最大值'},'candlestick':{'series':_0x511fb7(0xa3),'category':'Category','open':'开盘','high':'最高','low':'最低','close':'收盘'},'histogram':{'frequency':'频数'},'pie':{'aggregateOther':'其他','aggregateMembers':_0x511fb7(0x95)},'treemap':{'hierarchy':_0x511fb7(0xa9),'value':_0x511fb7(0xa8),'ownValue':_0x511fb7(0xb8),'children':'子项','diagnostic':_0x511fb7(0xa0)},'sunburst':{'hierarchy':'层级','value':_0x511fb7(0x99),'ownValue':'自身值','children':'子项','diagnostic':'旭日图至少需要一个层级字段和一个数值字段。'},'gauge':{'label':'标签','value':'Value','emptyDiagnostic':_0x511fb7(0x9a),'mappingDiagnostic':_0x511fb7(0xb4),'configDiagnostic':'仪表图配置无效,请检查刻度范围、分段区间、比例和尺寸。'},'chord':{'emptyDiagnostic':_0x511fb7(0xa1),'mappingDiagnostic':_0x511fb7(0xae),'configDiagnostic':_0x511fb7(0xbb),'source':'来源','target':'目标','value':_0x511fb7(0x99),'count':'关系计数','associatedValue':_0x511fb7(0x9f)},'chartField':{'missingCategoryFields':_0x511fb7(0xb2),'missingSeriesFields':'此图表需要更多数值字段。','invalidFieldIndex':_0x511fb7(0x9e),'invalidValueFieldType':_0x511fb7(0xb7),'invalidDataStructure':_0x511fb7(0xa7),'unsupportedChartType':_0x511fb7(0xac)}}};}));
@@ -1 +1 @@
1
- function _0x43ca(_0x1564e1,_0x79773){_0x1564e1=_0x1564e1-0x65;var _0x56e21a=_0x56e2();var _0x43ca70=_0x56e21a[_0x1564e1];return _0x43ca70;}function _0x56e2(){var _0x29f972=['UniverProSheetsChartZhHK','最大值','4285259iGlZbC','object','503044LiFAyO','170KTAsYi','336834SpWjzt','3SUGpog','中位數','第三四分位數','(空)','115074qfLlrP','最小值','34540cnEiok','4AOYrXE','54778VrmIzR','類別\x20{0}','Open','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','Close','請先添加系列開始數據可視化','function','exports','amd','336MtGUaY','31576pIZUXB','桑基圖不能包含循環數據','OHLC'];_0x56e2=function(){return _0x29f972;};return _0x56e2();}(function(_0x453690,_0x26d2d4){var _0x17f32b=_0x43ca,_0x2ec958=_0x453690();while(!![]){try{var _0x1caa09=-parseInt(_0x17f32b(0x6d))/0x1*(-parseInt(_0x17f32b(0x6c))/0x2)+parseInt(_0x17f32b(0x65))/0x3*(parseInt(_0x17f32b(0x7e))/0x4)+parseInt(_0x17f32b(0x6b))/0x5+-parseInt(_0x17f32b(0x80))/0x6+-parseInt(_0x17f32b(0x76))/0x7*(parseInt(_0x17f32b(0x77))/0x8)+parseInt(_0x17f32b(0x69))/0x9*(-parseInt(_0x17f32b(0x7f))/0xa)+parseInt(_0x17f32b(0x7c))/0xb;if(_0x1caa09===_0x26d2d4)break;else _0x2ec958['push'](_0x2ec958['shift']());}catch(_0x4b7398){_0x2ec958['push'](_0x2ec958['shift']());}}}(_0x56e2,0x29385),function(_0x228d15,_0x2c818f){var _0xcd2c23=_0x43ca;typeof exports==_0xcd2c23(0x7d)&&typeof module<'u'?module[_0xcd2c23(0x74)]=_0x2c818f():typeof define==_0xcd2c23(0x73)&&define[_0xcd2c23(0x75)]?define([],_0x2c818f):(_0x228d15=typeof globalThis<'u'?globalThis:_0x228d15||self,_0x228d15[_0xcd2c23(0x7a)]=_0x2c818f());}(this,function(){var _0x2dd588=_0x43ca;return{'sheets-chart':{'category':'類別','series':'系列','seriesDefaultName':'系列\x20{0}','categoryDefaultName':_0x2dd588(0x6e),'blank':_0x2dd588(0x68),'msg':{'emptyTips':_0x2dd588(0x72),'sankeyCircularTips':_0x2dd588(0x78)},'bubble':{'emptyTips':'氣泡圖至少需要2欄,X軸、Y軸。'},'relation':{'emptyTips':_0x2dd588(0x70)},'cloud':{'word':'詞','frequency':'頻率'},'waterfall':{'positive':'正值','negative':'負值','subtotal':'小計'},'pareto':{'lineName':'累積占比'},'candlestick':{'series':_0x2dd588(0x79),'category':'Category','open':_0x2dd588(0x6f),'high':'High','low':'Low','close':_0x2dd588(0x71)},'boxplot':{'min':_0x2dd588(0x6a),'q1':'第一四分位數','median':_0x2dd588(0x66),'q3':_0x2dd588(0x67),'max':_0x2dd588(0x7b)},'histogram':{'frequency':'頻數'},'treemap':{'hierarchy':'層級','value':'','ownValue':'自身值','children':'子項'}}};}));
1
+ (function(_0x2125df,_0x13a042){var _0x5e1423=_0x35ab,_0x5410f2=_0x2125df();while(!![]){try{var _0x41fa10=parseInt(_0x5e1423(0xe8))/0x1*(parseInt(_0x5e1423(0xfa))/0x2)+-parseInt(_0x5e1423(0x106))/0x3+-parseInt(_0x5e1423(0x102))/0x4*(parseInt(_0x5e1423(0xe4))/0x5)+-parseInt(_0x5e1423(0xf5))/0x6+parseInt(_0x5e1423(0xec))/0x7+-parseInt(_0x5e1423(0xfc))/0x8*(parseInt(_0x5e1423(0x101))/0x9)+parseInt(_0x5e1423(0xfe))/0xa;if(_0x41fa10===_0x13a042)break;else _0x5410f2['push'](_0x5410f2['shift']());}catch(_0x5e9aa1){_0x5410f2['push'](_0x5410f2['shift']());}}}(_0x1790,0x8cdad),function(_0x50223e,_0x434cb2){var _0x1558f9=_0x35ab;typeof exports==_0x1558f9(0xf1)&&typeof module<'u'?module['exports']=_0x434cb2():typeof define==_0x1558f9(0x103)&&define[_0x1558f9(0xf8)]?define([],_0x434cb2):(_0x50223e=typeof globalThis<'u'?globalThis:_0x50223e||self,_0x50223e[_0x1558f9(0xef)]=_0x434cb2());}(this,function(){var _0x47939a=_0x35ab;return{'sheets-chart':{'seriesDefaultName':_0x47939a(0xf7),'categoryDefaultName':_0x47939a(0x105),'blank':_0x47939a(0x107),'msg':{'emptyTips':'請先添加系列開始數據可視化','sankeyCircularTips':_0x47939a(0x10a)},'bubble':{'emptyTips':_0x47939a(0xeb)},'relation':{'emptyTips':_0x47939a(0x10c)},'cloud':{'word':'詞','frequency':'頻率'},'waterfall':{'positive':'正值','negative':'負值','subtotal':'小計'},'pareto':{'lineName':'累積占比'},'boxplot':{'min':_0x47939a(0xf0),'q1':'第一四分位數','median':_0x47939a(0xf4),'q3':_0x47939a(0x109),'max':_0x47939a(0xf9)},'candlestick':{'series':_0x47939a(0x100),'category':'Category','open':_0x47939a(0xfd),'high':_0x47939a(0xe9),'low':_0x47939a(0x104),'close':_0x47939a(0xe6)},'histogram':{'frequency':'頻數'},'pie':{'aggregateOther':'其他','aggregateMembers':'成員'},'treemap':{'hierarchy':_0x47939a(0xee),'value':_0x47939a(0xfb),'ownValue':_0x47939a(0x108),'children':'子項','diagnostic':_0x47939a(0xe3)},'sunburst':{'hierarchy':'階層','value':_0x47939a(0xe5),'ownValue':_0x47939a(0x108),'children':'子項','diagnostic':_0x47939a(0xed)},'gauge':{'label':'標籤','value':_0x47939a(0xe5),'emptyDiagnostic':_0x47939a(0x10b),'mappingDiagnostic':'儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','configDiagnostic':'儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。'},'chord':{'emptyDiagnostic':_0x47939a(0xf2),'mappingDiagnostic':_0x47939a(0xf6),'configDiagnostic':_0x47939a(0xe7),'source':'來源','target':'目標','value':_0x47939a(0xe5),'count':'關係數','associatedValue':_0x47939a(0xff)},'chartField':{'missingCategoryFields':'此圖表需要更多標籤欄位。','missingSeriesFields':'此圖表需要更多數值欄位。','invalidFieldIndex':_0x47939a(0xea),'invalidValueFieldType':_0x47939a(0xf3),'invalidDataStructure':'所選欄位無法構成此圖表所需的有效資料結構。','unsupportedChartType':'此圖表類型沒有欄位使用規則。'}}};}));function _0x35ab(_0x3e5480,_0x3bd641){_0x3e5480=_0x3e5480-0xe3;var _0x179013=_0x1790();var _0x35ab2c=_0x179013[_0x3e5480];return _0x35ab2c;}function _0x1790(){var _0x416dfe=['92WiITzO','最高價','所選圖表欄位已無法使用。','氣泡圖至少需要2欄,X軸、Y軸。','4044306xeMrQb','旭日圖至少需要一個階層欄位和一個數值欄位。','階層欄位','UniverProSheetsChartZhHK','最小值','object','弦圖至少需要兩個不同節點之間的一條正權重關係。','所選數值欄位不包含數值資料。','中位數','4621680amsYlr','弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','系列\x20{0}','amd','最大值','8484hSkeGz','數值欄位','24FscpAg','開盤價','30778330QtpERy','關聯值','OHLC\x20數列','3277566Tjbixf','80XGHpxP','function','最低價','類別\x20{0}','2959056uqeMZc','(空)','自身值','第三四分位數','桑基圖不能包含循環數據','儀表圖至少需要一個有限數值。','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','矩形樹圖至少需要一個階層欄位和一個數值欄位。','154940QZZCJB','Value','收盤價','弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。'];_0x1790=function(){return _0x416dfe;};return _0x1790();}
@@ -1 +1 @@
1
- (function(_0x50e80c,_0x13e1d3){var _0x2f84f7=_0x3734,_0x22ae9b=_0x50e80c();while(!![]){try{var _0xafd2cc=parseInt(_0x2f84f7(0x121))/0x1+-parseInt(_0x2f84f7(0x126))/0x2*(-parseInt(_0x2f84f7(0x11a))/0x3)+parseInt(_0x2f84f7(0x117))/0x4+-parseInt(_0x2f84f7(0x123))/0x5*(-parseInt(_0x2f84f7(0x11c))/0x6)+parseInt(_0x2f84f7(0x115))/0x7*(-parseInt(_0x2f84f7(0x11f))/0x8)+parseInt(_0x2f84f7(0x118))/0x9*(-parseInt(_0x2f84f7(0x119))/0xa)+parseInt(_0x2f84f7(0x116))/0xb;if(_0xafd2cc===_0x13e1d3)break;else _0x22ae9b['push'](_0x22ae9b['shift']());}catch(_0x38ab27){_0x22ae9b['push'](_0x22ae9b['shift']());}}}(_0x7580,0x740ad),function(_0x3b9ffb,_0x5de131){var _0x3884f7=_0x3734;typeof exports==_0x3884f7(0x11d)&&typeof module<'u'?module[_0x3884f7(0x12a)]=_0x5de131():typeof define==_0x3884f7(0x125)&&define['amd']?define([],_0x5de131):(_0x3b9ffb=typeof globalThis<'u'?globalThis:_0x3b9ffb||self,_0x3b9ffb[_0x3884f7(0x11e)]=_0x5de131());}(this,function(){var _0x12e8e8=_0x3734;return{'sheets-chart':{'category':'類別','series':'系列','seriesDefaultName':'系列\x20{0}','categoryDefaultName':'類別\x20{0}','blank':_0x12e8e8(0x120),'msg':{'emptyTips':_0x12e8e8(0x113),'sankeyCircularTips':_0x12e8e8(0x12b)},'bubble':{'emptyTips':_0x12e8e8(0x122)},'relation':{'emptyTips':_0x12e8e8(0x128)},'cloud':{'word':'詞','frequency':'頻率'},'waterfall':{'positive':'正值','negative':'負值','subtotal':'小計'},'pareto':{'lineName':_0x12e8e8(0x129)},'candlestick':{'series':'OHLC','category':_0x12e8e8(0x114),'open':_0x12e8e8(0x11b),'high':_0x12e8e8(0x124),'low':'Low','close':'Close'},'boxplot':{'min':'最小值','q1':_0x12e8e8(0x127),'median':'中位數','q3':_0x12e8e8(0x112),'max':'最大值'},'histogram':{'frequency':'頻數'},'treemap':{'hierarchy':'層級','value':'','ownValue':'自身值','children':'子項'}}};}));function _0x3734(_0x56c7fa,_0x2f27fe){_0x56c7fa=_0x56c7fa-0x112;var _0x758071=_0x7580();var _0x3734f5=_0x758071[_0x56c7fa];return _0x3734f5;}function _0x7580(){var _0x48e567=['氣泡圖至少需要2欄,X軸、Y軸。','885JdjFkL','High','function','10NISeJo','第一四分位數','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','累積占比','exports','桑基圖不能包含循環數據','第三四分位數','請先添加系列開始數據可視化','Category','7000FMZbAZ','603966rGqYAx','343452ETaHHI','1503uoEpHq','47090jIlWPV','196827zxTVYj','Open','21396oNijrt','object','UniverProSheetsChartZhTW','248gACTXV','(空)','192716KFriSm'];_0x7580=function(){return _0x48e567;};return _0x7580();}
1
+ function _0x3ca0(_0x5b9e7b,_0x2e9c64){_0x5b9e7b=_0x5b9e7b-0x173;var _0x5bed8e=_0x5bed();var _0x3ca057=_0x5bed8e[_0x5b9e7b];return _0x3ca057;}(function(_0x334182,_0x1d0600){var _0x146379=_0x3ca0,_0x16e86f=_0x334182();while(!![]){try{var _0x150168=-parseInt(_0x146379(0x19d))/0x1+-parseInt(_0x146379(0x195))/0x2*(-parseInt(_0x146379(0x17d))/0x3)+-parseInt(_0x146379(0x186))/0x4*(parseInt(_0x146379(0x17c))/0x5)+-parseInt(_0x146379(0x180))/0x6*(-parseInt(_0x146379(0x187))/0x7)+parseInt(_0x146379(0x190))/0x8+-parseInt(_0x146379(0x18a))/0x9*(-parseInt(_0x146379(0x181))/0xa)+-parseInt(_0x146379(0x197))/0xb;if(_0x150168===_0x1d0600)break;else _0x16e86f['push'](_0x16e86f['shift']());}catch(_0x451769){_0x16e86f['push'](_0x16e86f['shift']());}}}(_0x5bed,0x298b5),function(_0x40e4fb,_0x1d2806){var _0x12d753=_0x3ca0;typeof exports==_0x12d753(0x18c)&&typeof module<'u'?module[_0x12d753(0x17b)]=_0x1d2806():typeof define==_0x12d753(0x194)&&define[_0x12d753(0x192)]?define([],_0x1d2806):(_0x40e4fb=typeof globalThis<'u'?globalThis:_0x40e4fb||self,_0x40e4fb[_0x12d753(0x193)]=_0x1d2806());}(this,function(){var _0x5e54a4=_0x3ca0;return{'sheets-chart':{'seriesDefaultName':'系列\x20{0}','categoryDefaultName':_0x5e54a4(0x19c),'blank':_0x5e54a4(0x184),'msg':{'emptyTips':_0x5e54a4(0x185),'sankeyCircularTips':_0x5e54a4(0x17e)},'bubble':{'emptyTips':_0x5e54a4(0x18b)},'relation':{'emptyTips':_0x5e54a4(0x18f)},'cloud':{'word':'詞','frequency':'頻率'},'waterfall':{'positive':'正值','negative':'負值','subtotal':'小計'},'pareto':{'lineName':_0x5e54a4(0x196)},'boxplot':{'min':_0x5e54a4(0x19a),'q1':_0x5e54a4(0x173),'median':_0x5e54a4(0x188),'q3':_0x5e54a4(0x179),'max':_0x5e54a4(0x174)},'candlestick':{'series':_0x5e54a4(0x189),'category':_0x5e54a4(0x17f),'open':_0x5e54a4(0x183),'high':'最高價','low':_0x5e54a4(0x18d),'close':'收盤價'},'histogram':{'frequency':'頻數'},'pie':{'aggregateOther':'其他','aggregateMembers':'成員'},'treemap':{'hierarchy':'階層欄位','value':_0x5e54a4(0x191),'ownValue':_0x5e54a4(0x182),'children':'子項','diagnostic':'矩形樹圖至少需要一個階層欄位和一個數值欄位。'},'sunburst':{'hierarchy':'階層','value':_0x5e54a4(0x177),'ownValue':_0x5e54a4(0x182),'children':'子項','diagnostic':_0x5e54a4(0x18e)},'gauge':{'label':'標籤','value':_0x5e54a4(0x177),'emptyDiagnostic':_0x5e54a4(0x198),'mappingDiagnostic':_0x5e54a4(0x19b),'configDiagnostic':'儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。'},'chord':{'emptyDiagnostic':'弦圖至少需要兩個不同節點之間的一條正權重關係。','mappingDiagnostic':'弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','configDiagnostic':'弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','source':'來源','target':'目標','value':_0x5e54a4(0x177),'count':_0x5e54a4(0x176),'associatedValue':'關聯值'},'chartField':{'missingCategoryFields':_0x5e54a4(0x17a),'missingSeriesFields':_0x5e54a4(0x199),'invalidFieldIndex':_0x5e54a4(0x175),'invalidValueFieldType':'選取的數值欄位不包含數值資料。','invalidDataStructure':_0x5e54a4(0x178),'unsupportedChartType':_0x5e54a4(0x19e)}}};}));function _0x5bed(){var _0x66f8c6=['object','最低價','旭日圖至少需要一個階層欄位和一個數值欄位。','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','2653256unYQGp','數值欄位','amd','UniverProSheetsChartZhTW','function','32KLVeWp','累積占比','2809686rjaypz','儀表圖至少需要一個有限數值。','這個圖表需要更多數值欄位。','最小值','儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','類別\x20{0}','142124sgEYDd','這個圖表類型沒有欄位使用規則。','第一四分位數','最大值','選取的圖表欄位已無法使用。','關係數','Value','選取的欄位無法構成這個圖表所需的有效資料結構。','第三四分位數','這個圖表需要更多標籤欄位。','exports','5QaatIi','264KUxepE','桑基圖不能包含循環數據','Category','14124VVDLDW','208680LBTIMe','自身值','開盤價','(空)','請先添加系列開始數據可視化','798784CUkdMh','609YxROXG','中位數','OHLC\x20數列','99AGHxIx','氣泡圖至少需要2欄,X軸、Y軸。'];_0x5bed=function(){return _0x66f8c6;};return _0x5bed();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/sheets-chart",
3
- "version": "1.0.0-alpha.8",
3
+ "version": "1.0.0-beta.1",
4
4
  "private": false,
5
5
  "description": "Chart model integration for Univer Sheets.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -66,19 +66,20 @@
66
66
  "rxjs": ">=7.0.0"
67
67
  },
68
68
  "dependencies": {
69
- "@univerjs-pro/engine-chart": "1.0.0-alpha.8",
70
- "@univerjs/engine-formula": "1.0.0-alpha.8",
71
- "@univerjs-pro/license": "1.0.0-alpha.8",
72
- "@univerjs/sheets": "1.0.0-alpha.8",
73
- "@univerjs/core": "1.0.0-alpha.8",
74
- "@univerjs/sheets-drawing": "1.0.0-alpha.8"
69
+ "@univerjs-pro/engine-chart": "1.0.0-beta.1",
70
+ "@univerjs-pro/license": "1.0.0-beta.1",
71
+ "@univerjs/core": "1.0.0-beta.1",
72
+ "@univerjs/engine-render": "1.0.0-beta.1",
73
+ "@univerjs/sheets-drawing": "1.0.0-beta.1",
74
+ "@univerjs/engine-formula": "1.0.0-beta.1",
75
+ "@univerjs/sheets": "1.0.0-beta.1"
75
76
  },
76
77
  "devDependencies": {
77
78
  "rxjs": "7.8.2",
78
79
  "typescript": "^6.0.3",
79
80
  "vitest": "^4.1.10",
80
- "@univerjs-infra/shared": "1.0.0-alpha.8",
81
- "@univerjs/drawing": "1.0.0-alpha.8"
81
+ "@univerjs-infra/shared": "1.0.0-beta.1",
82
+ "@univerjs/drawing": "1.0.0-beta.1"
82
83
  },
83
84
  "scripts": {
84
85
  "test": "vitest run",
@@ -1,10 +0,0 @@
1
- export { SheetChartBuilder } from './sheet-chart-builder';
2
- export { SheetChartBuilderAdapter } from './sheet-chart-builder-adapter';
3
- export type { ISheetChartBuilderAdapter, ISheetChartBuilderAdapterContext, ISheetChartHostPatch } from './sheet-chart-builder-adapter';
4
- export { toSheetChartCreateSpec } from './sheet-chart-create-spec';
5
- export type { ISheetChartDescriptionExtension } from './sheet-chart-description';
6
- export { buildLayoutDrawingPatch, describeLayout, getWorkbook, resolveInitialChartPosition } from './sheet-chart-layout';
7
- export type { ISheetChartLayoutContext } from './sheet-chart-layout';
8
- export { resolveSourceSeries, resolveSourceSpec } from './sheet-chart-source';
9
- export type { ISheetChartSourceContext } from './sheet-chart-source';
10
- export * from './types';
@@ -1,17 +0,0 @@
1
- import type { IChartDescription } from '@univerjs-pro/engine-chart';
2
- import type { ISheetChartBuilderAdapter } from './sheet-chart-builder-adapter';
3
- import type { ISheetChartDescriptionExtension } from './sheet-chart-description';
4
- import type { ChartSourceSpec, IChartLayoutPatch } from './types';
5
- import { ChartBuilder } from '@univerjs-pro/engine-chart';
6
- /** Maintains engine and Sheet-specific pending state for one chart. */
7
- export declare class SheetChartBuilder extends ChartBuilder<ISheetChartDescriptionExtension> {
8
- private _hostPending;
9
- constructor(id: string, baseline: IChartDescription & ISheetChartDescriptionExtension, adapter: ISheetChartBuilderAdapter);
10
- setSource(source: ChartSourceSpec): void;
11
- setLayout(patch: IChartLayoutPatch): void;
12
- getSource(): Readonly<ChartSourceSpec> | undefined;
13
- resolveData(): import("@univerjs-pro/engine-chart").IChartData;
14
- protected composeHostDescription(description: IChartDescription & ISheetChartDescriptionExtension): IChartDescription & ISheetChartDescriptionExtension;
15
- commit(): void;
16
- protected getDescriptionDataSetOverride(): import("@univerjs-pro/engine-chart").IUniverDataSet | undefined;
17
- }
@@ -1,6 +0,0 @@
1
- import type { ChartPendingConfig, IChartDescription } from '@univerjs-pro/engine-chart';
2
- import type { DeepReadonly } from '@univerjs/core';
3
- import type { ISheetChartDescriptionExtension } from './sheet-chart-description';
4
- import type { IChartCreateSpec } from './types';
5
- /** Converts a detached Sheet chart description into the canonical create input. */
6
- export declare function toSheetChartCreateSpec(description: IChartDescription & ISheetChartDescriptionExtension, pending: DeepReadonly<ChartPendingConfig>): IChartCreateSpec;
@@ -1,83 +0,0 @@
1
- import type { FChartBuilderBase, HostAnyChartBuilder, HostComposedChartBuilder, IChartBuilderTypeMap } from '@univerjs-pro/engine-chart/facade';
2
- import type { ChartAnchorSpec, ChartSourceSpec } from '@univerjs-pro/sheets-chart';
3
- export interface ISheetChartMethods {
4
- /**
5
- * Sets the source configuration and returns this builder for chaining.
6
- *
7
- * This method executes synchronously.
8
- *
9
- * @param source The host-owned chart source.
10
- * @returns This builder for chaining.
11
- * @example
12
- * ```ts
13
- * const worksheet = univerAPI.getActiveWorkbook().getActiveSheet();
14
- * const builder = worksheet.charts.create();
15
- * builder.setSource('A1:B8');
16
- * ```
17
- */
18
- setSource(source: ChartSourceSpec): ISheetChartMethods;
19
- /**
20
- * Returns the current source value.
21
- *
22
- * This method executes synchronously.
23
- *
24
- * @returns The current host-owned chart source, or `undefined` when no source has been set.
25
- * @example
26
- * ```ts
27
- * const worksheet = univerAPI.getActiveWorkbook().getActiveSheet();
28
- * const builder = worksheet.charts.create();
29
- * builder.getSource();
30
- * ```
31
- */
32
- getSource(): Readonly<ChartSourceSpec> | undefined;
33
- /**
34
- * Sets the position configuration and returns this builder for chaining.
35
- *
36
- * This method executes synchronously.
37
- *
38
- * @param anchor The document or cell anchor.
39
- * @returns This builder for chaining.
40
- * @example
41
- * ```ts
42
- * const worksheet = univerAPI.getActiveWorkbook().getActiveSheet();
43
- * const builder = worksheet.charts.create();
44
- * builder.setPosition('D2');
45
- * ```
46
- */
47
- setPosition(anchor: ChartAnchorSpec): ISheetChartMethods;
48
- /**
49
- * Sets the absolute position configuration and returns this builder for chaining.
50
- *
51
- * This method executes synchronously.
52
- *
53
- * @param x The horizontal position.
54
- * @param y The vertical position.
55
- * @returns This builder for chaining.
56
- * @example
57
- * ```ts
58
- * const worksheet = univerAPI.getActiveWorkbook().getActiveSheet();
59
- * const builder = worksheet.charts.create();
60
- * builder.setAbsolutePosition(80, 80);
61
- * ```
62
- */
63
- setAbsolutePosition(x: number, y: number): ISheetChartMethods;
64
- /**
65
- * Sets the size configuration and returns this builder for chaining.
66
- *
67
- * This method executes synchronously.
68
- *
69
- * @param width The width.
70
- * @param height The height.
71
- * @returns This builder for chaining.
72
- * @example
73
- * ```ts
74
- * const worksheet = univerAPI.getActiveWorkbook().getActiveSheet();
75
- * const builder = worksheet.charts.create();
76
- * builder.setSize(640, 360);
77
- * ```
78
- */
79
- setSize(width: number, height: number): ISheetChartMethods;
80
- }
81
- export type FSheetChartBuilder<TBuilder extends FChartBuilderBase = FChartBuilderBase> = HostComposedChartBuilder<TBuilder, ISheetChartMethods>;
82
- export type FSheetChartBuilderOf<T extends keyof IChartBuilderTypeMap> = FSheetChartBuilder<IChartBuilderTypeMap[T]>;
83
- export type FSheetAnyChartBuilder = HostAnyChartBuilder<ISheetChartMethods>;
@@ -1,100 +0,0 @@
1
- import type { IEchartTheme } from '@univerjs-pro/engine-chart';
2
- import type { IChartBuilderHostTypes } from '@univerjs-pro/engine-chart/facade';
3
- import type { FWorksheet } from '@univerjs/sheets/facade';
4
- import type { FSheetAnyChartBuilder, FSheetChartBuilder } from './f-sheet-chart-builder';
5
- import { FChartsBase } from '@univerjs-pro/engine-chart/facade';
6
- interface ISheetChartBuilderTypes extends IChartBuilderHostTypes {
7
- Initial: FSheetChartBuilder;
8
- Any: FSheetAnyChartBuilder;
9
- }
10
- export declare class FSheetCharts extends FChartsBase<ISheetChartBuilderTypes> {
11
- private readonly _worksheet;
12
- private readonly _commands;
13
- constructor(_worksheet: FWorksheet);
14
- /**
15
- * Creates a detached chart builder without mutating the host.
16
- *
17
- * This method executes synchronously.
18
- *
19
- * @returns A detached chart builder.
20
- * @example
21
- * ```ts
22
- * const charts = univerAPI.getActiveWorkbook().getActiveSheet().charts;
23
- * charts.create();
24
- * ```
25
- */
26
- create(): FSheetChartBuilder;
27
- /**
28
- * Inserts a detached chart builder into this host.
29
- *
30
- * This method completes asynchronously.
31
- *
32
- * @param builder The detached chart builder to insert.
33
- * @returns A promise that resolves to the inserted chart builder.
34
- * @example
35
- * ```ts
36
- * const charts = univerAPI.getActiveWorkbook().getActiveSheet().charts;
37
- * const builder = charts.create().setSource('A1:B8');
38
- * await charts.insert(builder);
39
- * ```
40
- */
41
- insert<T extends FSheetAnyChartBuilder>(builder: T): Promise<T>;
42
- /**
43
- * Returns a chart builder by its host-owned ID.
44
- *
45
- * This method executes synchronously.
46
- *
47
- * @param chartId The host-owned chart ID.
48
- * @returns The matching chart builder, or null when absent.
49
- * @example
50
- * ```ts
51
- * const charts = univerAPI.getActiveWorkbook().getActiveSheet().charts;
52
- * charts.get('chart-id');
53
- * ```
54
- */
55
- get(chartId: string): FSheetAnyChartBuilder | null;
56
- /**
57
- * Returns every chart builder owned by this host.
58
- *
59
- * This method executes synchronously.
60
- *
61
- * @returns All chart builders owned by this host.
62
- * @example
63
- * ```ts
64
- * const charts = univerAPI.getActiveWorkbook().getActiveSheet().charts;
65
- * charts.list();
66
- * ```
67
- */
68
- list(): FSheetAnyChartBuilder[];
69
- /**
70
- * Removes a chart from this host.
71
- *
72
- * This method completes asynchronously.
73
- *
74
- * @param builderOrId A builder from this host or its chart ID.
75
- * @returns A promise that resolves to `true` when the chart is removed, or `false` when it is absent.
76
- * @example
77
- * ```ts
78
- * const charts = univerAPI.getActiveWorkbook().getActiveSheet().charts;
79
- * await charts.remove('chart-id');
80
- * ```
81
- */
82
- remove(builderOrId: FSheetAnyChartBuilder | string): Promise<boolean>;
83
- /**
84
- * Registers a chart theme shared by every chart host in this Univer runtime.
85
- *
86
- * This method executes synchronously.
87
- *
88
- * @param name The stable registered name.
89
- * @param theme The ECharts theme definition.
90
- * Returns no value.
91
- * @example
92
- * ```ts
93
- * const charts = univerAPI.getActiveWorkbook().getActiveSheet().charts;
94
- * charts.registerTheme('brand', { color: ['#1677ff'] });
95
- * ```
96
- */
97
- registerTheme(name: string, theme: IEchartTheme): void;
98
- private _wrap;
99
- }
100
- export {};
@@ -1,2 +0,0 @@
1
- export type { FSheetAnyChartBuilder, FSheetChartBuilder, FSheetChartBuilderOf, ISheetChartMethods } from './f-sheet-chart-builder';
2
- export { FSheetCharts } from './f-sheet-charts';
@@ -1,13 +0,0 @@
1
- import type { IChartCreateSpec } from '@univerjs-pro/sheets-chart';
2
- import type { FWorksheet } from '@univerjs/sheets/facade';
3
- import { FChart } from '../f-chart';
4
- /** Owns the Sheet collection-to-command boundary. It is not part of the public facade. */
5
- export declare class SheetChartCommandAdapter {
6
- private readonly _worksheet;
7
- constructor(_worksheet: FWorksheet);
8
- create(spec: IChartCreateSpec): Promise<FChart>;
9
- get(chartId: string): FChart | null;
10
- list(): FChart[];
11
- remove(chartOrId: FChart | string): Promise<boolean>;
12
- private _sourceContext;
13
- }
@@ -1,12 +0,0 @@
1
- import { FWorksheet } from '@univerjs/sheets/facade';
2
- import { FSheetCharts } from './chart/f-sheet-charts';
3
- export interface IFWorksheetChartsMixin {
4
- readonly charts: FSheetCharts;
5
- }
6
- export declare class FWorksheetChartsMixin extends FWorksheet implements IFWorksheetChartsMixin {
7
- get charts(): FSheetCharts;
8
- }
9
- declare module '@univerjs/sheets/facade' {
10
- interface FWorksheet extends IFWorksheetChartsMixin {
11
- }
12
- }
@@ -1,22 +0,0 @@
1
- import type { ChartStyle, ChartTypeBits, IChartContext, IChartDataAggregation, IChartLocaleTexts } from '@univerjs-pro/engine-chart';
2
- import type { Injector } from '@univerjs/core';
3
- import type { ISheetChartDataSource } from './types';
4
- import { ChartModel } from '@univerjs-pro/engine-chart';
5
- import { LocaleService } from '@univerjs/core';
6
- export interface IChartModelInit {
7
- chartType?: ChartTypeBits;
8
- dataSource: ISheetChartDataSource;
9
- dataAggregation?: IChartDataAggregation;
10
- context?: Pick<IChartContext, 'categoryIndex' | 'hierarchyIndexes' | 'seriesIndexes' | 'transform' | 'candlestick' | 'histogram'>;
11
- style?: ChartStyle;
12
- localeTexts?: IChartLocaleTexts;
13
- }
14
- export declare function buildLocaleTexts(localeService: LocaleService): IChartLocaleTexts;
15
- export declare class SheetChartModel extends ChartModel {
16
- protected _dataSource: ISheetChartDataSource;
17
- get dataSource(): ISheetChartDataSource;
18
- replaceDataSource(dataSource: ISheetChartDataSource): void;
19
- constructor(id: string, options: IChartModelInit, _injector: Injector);
20
- _init(): void;
21
- dispose(): void;
22
- }