@univerjs-pro/engine-chart 1.0.4 → 1.1.0
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-3d/adapters/appearance.d.ts +4 -0
- package/lib/types/chart-3d/adapters/axes.d.ts +21 -0
- package/lib/types/chart-3d/adapters/category-axis.d.ts +4 -0
- package/lib/types/chart-3d/adapters/echarts-adapter.d.ts +10 -0
- package/lib/types/chart-3d/adapters/echarts-time-scale.d.ts +9 -0
- package/lib/types/chart-3d/adapters/element-events.d.ts +3 -0
- package/lib/types/chart-3d/adapters/export-image.d.ts +2 -0
- package/lib/types/chart-3d/adapters/input-adapter.d.ts +11 -0
- package/lib/types/chart-3d/adapters/lighting.d.ts +4 -0
- package/lib/types/chart-3d/adapters/line-style.d.ts +2 -0
- package/lib/types/chart-3d/adapters/pie-labels.d.ts +7 -0
- package/lib/types/chart-3d/adapters/projection-data-label.d.ts +59 -0
- package/lib/types/chart-3d/adapters/projection-frame-image.d.ts +16 -0
- package/lib/types/chart-3d/adapters/render-input.d.ts +3 -0
- package/lib/types/chart-3d/adapters/render-instance.d.ts +32 -0
- package/lib/types/chart-3d/adapters/transform.d.ts +3 -0
- package/lib/types/chart-3d/adapters/types.d.ts +38 -0
- package/lib/types/chart-3d/adapters/webgl-renderer.d.ts +20 -0
- package/lib/types/chart-3d/chart-3d-extension.d.ts +6 -0
- package/lib/types/chart-3d/core/geometry.d.ts +39 -0
- package/lib/types/chart-3d/core/policy.d.ts +31 -0
- package/lib/types/chart-3d/core/projection.d.ts +23 -0
- package/lib/types/chart-3d/core/scene.d.ts +57 -0
- package/lib/types/chart-3d/core/types.d.ts +74 -0
- package/lib/types/chart-3d/index.d.ts +1 -0
- package/lib/types/chart-3d/view-defaults.d.ts +3 -0
- package/lib/types/chart-3d/webgl/draw-data.d.ts +6 -0
- package/lib/types/chart-3d/webgl/draw-queue.d.ts +10 -0
- package/lib/types/chart-3d/webgl/gradient.d.ts +3 -0
- package/lib/types/chart-3d/webgl/line-segments.d.ts +8 -0
- package/lib/types/chart-3d/webgl/program.d.ts +16 -0
- package/lib/types/chart-3d/webgl/renderer.d.ts +19 -0
- package/lib/types/chart-3d/webgl/stroke.d.ts +13 -0
- package/lib/types/chart-3d/webgl/types.d.ts +71 -0
- package/lib/types/chart-builder/chart-types.d.ts +22 -4
- package/lib/types/chart-builder/configuration/chart-config-group.d.ts +2 -0
- package/lib/types/chart-builder/configuration/three-d.d.ts +7 -0
- package/lib/types/chart-builder/conversion/chart-model-fields.d.ts +8 -0
- package/lib/types/chart-builder/conversion/describe-chart-model.d.ts +119 -7
- package/lib/types/config/config.d.ts +1 -1
- package/lib/types/enum.d.ts +13 -0
- package/lib/types/facade/builders/f-area-three-d-chart-builder.d.ts +6 -0
- package/lib/types/facade/builders/f-column-three-d-chart-builder.d.ts +6 -0
- package/lib/types/facade/builders/f-line-three-d-chart-builder.d.ts +6 -0
- package/lib/types/facade/builders/f-pie-three-d-chart-builder.d.ts +15 -0
- package/lib/types/facade/chart-builder-type-map.d.ts +15 -0
- package/lib/types/facade/create-chart-builder.d.ts +2 -1
- package/lib/types/facade/f-axis-chart-builder.d.ts +42 -7
- package/lib/types/facade/f-axis-three-d-chart-builder.d.ts +37 -0
- package/lib/types/facade/f-three-d-chart-builder.d.ts +30 -0
- package/lib/types/index.d.ts +13 -70
- package/lib/types/locale/en-US.d.ts +7 -0
- package/lib/types/models/chart-model/chart-model.d.ts +359 -22
- package/lib/types/models/chart-render/axes/axis-placement.d.ts +2 -0
- package/lib/types/models/chart-render/axes/chart-axis-scale.d.ts +14 -0
- package/lib/types/models/chart-render/axes/log-axis-data.d.ts +4 -0
- package/lib/types/models/chart-render/axes/log-axis-ticks.d.ts +5 -0
- package/lib/types/models/chart-render/axes/log-bar-layout.d.ts +3 -0
- package/lib/types/models/chart-render/axes/value-axis-scale.d.ts +13 -0
- package/lib/types/models/chart-render/converter/calendar-date-axis.d.ts +1 -1
- package/lib/types/models/chart-render/converter/render-spec-operators/empty-style-operator.d.ts +2 -0
- package/lib/types/models/chart-render/converter/render-spec-operators/legend-style.operator.d.ts +11 -1
- package/lib/types/models/chart-render/converter/render-spec-operators/log-axis-scale.d.ts +7 -0
- package/lib/types/models/chart-render/converter/render-spec-operators/series-style-operator/series-fill-pattern.d.ts +15 -0
- package/lib/types/models/chart-render/converter/render-spec-operators/tools.d.ts +3 -1
- package/lib/types/models/chart-render/converter/render-spec-operators/watermark.operator.d.ts +2 -0
- package/lib/types/models/chart-render/echart-render-model/base-chart-render-instance.d.ts +1 -1
- package/lib/types/models/chart-render/echart-render-model/chart-dimension-render-instance.d.ts +28 -0
- package/lib/types/models/chart-render/echart-render-model/dom-chart-instance.d.ts +1 -0
- package/lib/types/models/chart-render/echart-render-model/echart-render-engine.d.ts +7 -1
- package/lib/types/models/chart-render/echart-render-model/echart-render-model.d.ts +23 -10
- package/lib/types/models/chart-render/echart-render-model/echarts-render-hooks.d.ts +7 -0
- package/lib/types/models/chart-render/echart-render-model/index.d.ts +0 -1
- package/lib/types/models/chart-render/format/chart-label-content.d.ts +3 -0
- package/lib/types/models/common/chart-locale-texts.d.ts +7 -0
- package/lib/types/models/common/constants/default-chart-style.d.ts +5 -4
- package/lib/types/models/common/theme/build-in-theme/theme-util.d.ts +3 -1
- package/lib/types/types.d.ts +57 -16
- package/lib/types/util.d.ts +1 -1
- package/lib/types/{models/chart-render/converter/converters/word-cloud-converter.d.ts → wordcloud/adapters/chart-spec-adapter.d.ts} +1 -1
- package/lib/types/{wordcloud-chart/adapters/echarts/install.d.ts → wordcloud/adapters/echarts-adapter.d.ts} +3 -3
- package/lib/types/{wordcloud-chart/adapters/echarts → wordcloud}/chart-view.d.ts +2 -2
- package/lib/types/{wordcloud-chart → wordcloud}/core/collision/box-shape-engine.d.ts +1 -1
- package/lib/types/wordcloud/echarts-api.d.ts +3 -0
- package/lib/types/{wordcloud-chart/adapters/echarts → wordcloud}/echarts-options.d.ts +1 -1
- package/lib/types/wordcloud/index.d.ts +16 -0
- package/lib/types/{wordcloud-chart/adapters/echarts → wordcloud}/layout-register.d.ts +2 -2
- package/lib/types/{wordcloud-chart/adapters/echarts → wordcloud}/layout.d.ts +2 -2
- package/lib/types/wordcloud/register-word-cloud-rendering.d.ts +4 -0
- package/lib/types/wordcloud/render-resources.d.ts +2 -0
- package/lib/types/{word-cloud-resource → wordcloud/resources}/word-cloud-shape-resource.d.ts +1 -1
- package/lib/types/{wordcloud-chart/adapters/echarts → wordcloud}/runtime-cache.d.ts +4 -1
- package/lib/types/{wordcloud-chart/adapters/echarts → wordcloud}/series-model.d.ts +2 -2
- package/lib/types/{wordcloud-chart/adapters/echarts → wordcloud}/text-measurer.d.ts +1 -1
- package/lib/types/wordcloud/word-cloud-extension.d.ts +16 -0
- package/lib/types/{wordcloud-chart/adapters/echarts → wordcloud}/words.d.ts +2 -2
- 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 +6 -6
- /package/lib/types/{wordcloud-chart → wordcloud}/canvas.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/collision/bitset-board.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/collision/engine.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/collision/failure-cache.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/collision/footprint.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/collision/glyph-shape-engine.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/collision/grid.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/candidates.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/font-scale.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/layout-config.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/layout.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/phases.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/place-word.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/placement-stats.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/placement-types.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/placement-word-manager.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/rotation.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/runtime-mask.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/search-plan.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/word-prepare.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/word-shrink.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/random/seed.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/shape/built-in-shapes.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/shape/shape-mask.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/shape/shape-profile.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/shape/sprite-shape.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/text/formatter.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/text/measure.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/text/normalize.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/text/sprite.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/types/layout.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/defaults.d.ts +0 -0
- /package/lib/types/{wordcloud-chart/adapters/echarts → wordcloud}/render-config.d.ts +0 -0
- /package/lib/types/{word-cloud-resource → wordcloud/resources}/word-cloud-resource-config.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/types.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/word-cloud-render-config.d.ts +0 -0
package/lib/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x36fa02=_0x35ad;function _0x3228(){const _0x126dcb=['Rad\x20OHLC','49273lVRknh','Otvorenie','90ADEiZQ','3441383lbeMIX','Lúčový\x20hierarchický\x20graf\x20vyžaduje\x20aspoň\x20jedno\x20pole\x20hierarchie\x20a\x20jedno\x20číselné\x20pole\x20hodnoty.','Negatívne','Zdrojové\x20dáta\x20pre\x20graf\x20vzťahov\x20sú\x20ko-slovná\x20matica\x20s\x20dodatočným\x20typovým\x20stĺpcom\x20v\x20druhom\x20stĺpci','Frekvencia','Ukazovateľový\x20graf\x20vyžaduje\x20jedno\x20pole\x20menovky\x20a\x20presne\x20jedno\x20pole\x20hodnoty.','Konfigurácia\x20chordového\x20diagramu\x20je\x20neplatná.\x20Skontrolujte\x20uhly,\x20polomery,\x20nepriehľadnosť\x20a\x20veľkosti.','Ukazovateľový\x20graf\x20vyžaduje\x20aspoň\x20jednu\x20konečnú\x20číselnú\x20hodnotu.','Počet\x20vzťahov','Vlastná\x20hodnota','Slovo','Minimum','Iné','Neplatná\x20konfigurácia\x203D\x20grafu.','Sankeyho\x20graf\x20nemôže\x20obsahovať\x20cyklické\x20údaje','110sbHpCm','Séria\x20{0}','Stromová\x20mapa\x20vyžaduje\x20aspoň\x20jedno\x20pole\x20hierarchie\x20a\x20jedno\x20číselné\x20pole\x20hodnoty.','Medzisúčet','Hlavička\x20zdroja\x20údajov\x20grafu\x20je\x20neplatná.','440ebnaIR','Prvý\x20kvartil','Pridajte\x20sériu\x20a\x20začnite\x20vizualizovať\x20údaje','Chordový\x20diagram\x20vyžaduje\x20aspoň\x20jeden\x20vzťah\x20s\x20kladnou\x20váhou\x20medzi\x20dvoma\x20rôznymi\x20uzlami.','52062IWiBEl','121615RSpQLk','Rad\x20HLC','Kumulatívne\x20percento','Chordový\x20diagram\x20vyžaduje\x20rozdielne\x20polia\x20Zdroj\x20a\x20Cieľ\x20a\x20voliteľné\x20samostatné\x20pole\x20Hodnota.','Táto\x20logaritmická\x20os\x20nemá\x20kladné\x20hodnoty.','Logaritmické\x20osi\x20nie\x20sú\x20dostupné\x20pre\x20100\x20%\x20skladané\x20grafy.\x20Prepnite\x20na\x20lineárnu\x20mierku.','279621kVvaIr','4865ALpXhB','Priradená\x20hodnota','24MhPrKY','Dátum','52cJxzQv','Položky','Zopakovať\x20vykreslenie','21345hiWniL','3D\x20vykresľovanie\x20nie\x20je\x20dostupné.\x20Údaje\x20grafu\x20sú\x20zachované.','156cXQDfK','Tretí\x20kvartil','Kategória','Pozitívne'];_0x3228=function(){return _0x126dcb;};return _0x3228();}(function(_0x39668b,_0x304923){const _0x27f5a7=_0x35ad,_0x50c2b4=_0x39668b();while(!![]){try{const _0x2135ba=-parseInt(_0x27f5a7(0x184))/0x1*(-parseInt(_0x27f5a7(0x188))/0x2)+-parseInt(_0x27f5a7(0x18b))/0x3*(-parseInt(_0x27f5a7(0x18d))/0x4)+-parseInt(_0x27f5a7(0x194))/0x5*(-parseInt(_0x27f5a7(0x1ad))/0x6)+-parseInt(_0x27f5a7(0x192))/0x7*(parseInt(_0x27f5a7(0x1a9))/0x8)+-parseInt(_0x27f5a7(0x183))/0x9*(-parseInt(_0x27f5a7(0x1a4))/0xa)+-parseInt(_0x27f5a7(0x195))/0xb+-parseInt(_0x27f5a7(0x186))/0xc*(-parseInt(_0x27f5a7(0x1ae))/0xd);if(_0x2135ba===_0x304923)break;else _0x50c2b4['push'](_0x50c2b4['shift']());}catch(_0x20df71){_0x50c2b4['push'](_0x50c2b4['shift']());}}}(_0x3228,0x35dd8));function _0x35ad(_0x1846f5,_0x5a44e6){_0x1846f5=_0x1846f5-0x182;const _0x3228bb=_0x3228();let _0x35ad7d=_0x3228bb[_0x1846f5];return _0x35ad7d;}const e={'engine-chart':{'projectionInvalid':_0x36fa02(0x1a2),'projectionUnavailable':_0x36fa02(0x18c),'projectionRetry':_0x36fa02(0x18a),'projectionPngOnly':'3D\x20grafy\x20podporujú\x20iba\x20export\x20PNG.','logUnsupported':'Logaritmická\x20mierka\x20tu\x20nie\x20je\x20dostupná.\x20Prepnite\x20na\x20lineárnu\x20mierku.','logNoPositive':_0x36fa02(0x1b2),'logPercent':_0x36fa02(0x182),'invalidSourceHeader':_0x36fa02(0x1a8),'seriesDefaultName':_0x36fa02(0x1a5),'blank':'(Prázdne)','boxplotMin':_0x36fa02(0x1a0),'boxplotQ1':_0x36fa02(0x1aa),'boxplotMedian':'Medián','boxplotQ3':_0x36fa02(0x18e),'boxplotMax':'Maximum','bubbleEmptyTips':'Bublinový\x20graf\x20vyžaduje\x20aspoň\x202\x20stĺpce:\x20os\x20X,\x20os\x20Y','cloudWord':_0x36fa02(0x19f),'cloudFrequency':_0x36fa02(0x199),'msgEmptyTips':_0x36fa02(0x1ab),'msgSankeyCircularTips':_0x36fa02(0x1a3),'paretoLineName':_0x36fa02(0x1b0),'pieAggregateOther':_0x36fa02(0x1a1),'pieAggregateMembers':_0x36fa02(0x189),'relationEmptyTips':_0x36fa02(0x198),'waterfallPositive':_0x36fa02(0x190),'waterfallNegative':_0x36fa02(0x197),'waterfallSubtotal':_0x36fa02(0x1a7),'candlestickSeries':_0x36fa02(0x191),'candlestickHlcSeries':_0x36fa02(0x1af),'candlestickCategory':_0x36fa02(0x18f),'candlestickDate':_0x36fa02(0x187),'candlestickOpen':_0x36fa02(0x193),'candlestickHigh':'Maximum','candlestickLow':'Minimum','candlestickClose':'Zatvorenie','histogramFrequency':_0x36fa02(0x199),'treemapEmptyTips':_0x36fa02(0x1a6),'treemapOwnValue':'Vlastná\x20hodnota','treemapChildren':'Podradené\x20prvky','sunburstEmptyTips':_0x36fa02(0x196),'sunburstOwnValue':_0x36fa02(0x19e),'sunburstChildren':'Podradené\x20prvky','gaugeEmptyTips':_0x36fa02(0x19c),'gaugeInvalidMapping':_0x36fa02(0x19a),'gaugeInvalidConfig':'Konfigurácia\x20ukazovateľového\x20grafu\x20je\x20neplatná.\x20Skontrolujte\x20mierku,\x20rozsahy,\x20pomery\x20a\x20veľkosti.','chordEmptyTips':_0x36fa02(0x1ac),'chordInvalidMapping':_0x36fa02(0x1b1),'chordInvalidConfig':_0x36fa02(0x19b),'chordCount':_0x36fa02(0x19d),'chordAssociatedValue':_0x36fa02(0x185)}};export{e as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x52eb40=_0x3e7a;(function(_0x1d3c4a,_0x2f4e78){const _0x1f5127=_0x3e7a,_0x524d42=_0x1d3c4a();while(!![]){try{const _0x14e180=parseInt(_0x1f5127(0xc2))/0x1+parseInt(_0x1f5127(0xbd))/0x2+-parseInt(_0x1f5127(0xc3))/0x3+parseInt(_0x1f5127(0xac))/0x4+-parseInt(_0x1f5127(0xc1))/0x5+-parseInt(_0x1f5127(0xb9))/0x6*(parseInt(_0x1f5127(0xc5))/0x7)+parseInt(_0x1f5127(0xae))/0x8*(parseInt(_0x1f5127(0xab))/0x9);if(_0x14e180===_0x2f4e78)break;else _0x524d42['push'](_0x524d42['shift']());}catch(_0x1c9886){_0x524d42['push'](_0x524d42['shift']());}}}(_0x140a,0x2d4ba));function _0x140a(){const _0x36040e=['Giá\x20trị\x20riêng','55741JTuxVB','Tỷ\x20lệ\x20tích\x20lũy','Thành\x20phần','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ố.','Phần\x20tử\x20con','Giá\x20trị\x20âm','Không\x20có\x20dữ\x20liệu\x20để\x20hiển\x20thị.','Trục\x20logarit\x20này\x20không\x20có\x20giá\x20trị\x20dương.','Phần\x20tư\x20thứ\x20nhất','Ngày','Biểu\x20đồ\x203D\x20chỉ\x20hỗ\x20trợ\x20xuất\x20PNG.','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đồ\x20bong\x20bóng\x20yêu\x20cầu\x20ít\x20nhất\x202\x20cột:\x20trục\x20X,\x20trục\x20Y','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.','117YuRbvr','243028rkRICV','Trung\x20vị','239408MJFIRW','Thử\x20kết\x20xuất\x20lại','Không\x20thể\x20kết\x20xuất\x203D.\x20Dữ\x20liệu\x20biểu\x20đồ\x20được\x20giữ\x20nguyên.','Thang\x20logarit\x20không\x20khả\x20dụng\x20ở\x20đây.\x20Chuyển\x20sang\x20thang\x20tuyến\x20tính\x20để\x20hiển\x20thị.','Giá\x20thấp\x20nhất','Tần\x20suất','Giá\x20mở\x20cửa','Chuỗi\x20HLC','Giá\x20trị\x20lớn\x20nhất','Phần\x20tư\x20thứ\x20ba','Chuỗi\x20OHLC','42NiTqbp','Giá\x20đóng\x20cửa','Giá\x20trị\x20nhỏ\x20nhất','Tổng\x20phụ','484622VzNVsl','Khác','Biểu\x20đồ\x20xếp\x20chồng\x20100%\x20chưa\x20hỗ\x20trợ\x20trục\x20logarit.\x20Hãy\x20chuyển\x20sang\x20tuyến\x20tính.','Số\x20lượng\x20mối\x20quan\x20hệ','1543165ZaUEOy','69429dbAZpQ','634893KXnYAQ'];_0x140a=function(){return _0x36040e;};return _0x140a();}function _0x3e7a(_0x197245,_0x6c1430){_0x197245=_0x197245-0xa9;const _0x140aef=_0x140a();let _0x3e7ab5=_0x140aef[_0x197245];return _0x3e7ab5;}const e={'engine-chart':{'projectionInvalid':'Cấu\x20hình\x20biểu\x20đồ\x203D\x20không\x20hợp\x20lệ.','projectionUnavailable':_0x52eb40(0xb0),'projectionRetry':_0x52eb40(0xaf),'projectionPngOnly':_0x52eb40(0xcf),'logUnsupported':_0x52eb40(0xb1),'logNoPositive':_0x52eb40(0xcc),'logPercent':_0x52eb40(0xbf),'invalidSourceHeader':'Tiêu\x20đề\x20nguồn\x20dữ\x20liệu\x20biểu\x20đồ\x20không\x20hợp\x20lệ.','seriesDefaultName':'Loạt\x20{0}','blank':'(Trống)','boxplotMin':_0x52eb40(0xbb),'boxplotQ1':_0x52eb40(0xcd),'boxplotMedian':_0x52eb40(0xad),'boxplotQ3':_0x52eb40(0xb7),'boxplotMax':_0x52eb40(0xb6),'bubbleEmptyTips':_0x52eb40(0xa9),'cloudWord':'Từ','cloudFrequency':_0x52eb40(0xb3),'msgEmptyTips':_0x52eb40(0xcb),'msgSankeyCircularTips':'Biểu\x20đồ\x20Sankey\x20không\x20thể\x20chứa\x20dữ\x20liệu\x20vòng\x20lặp','paretoLineName':_0x52eb40(0xc6),'pieAggregateOther':_0x52eb40(0xbe),'pieAggregateMembers':_0x52eb40(0xc7),'relationEmptyTips':'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','waterfallPositive':'Giá\x20trị\x20dương','waterfallNegative':_0x52eb40(0xca),'waterfallSubtotal':_0x52eb40(0xbc),'candlestickSeries':_0x52eb40(0xb8),'candlestickHlcSeries':_0x52eb40(0xb5),'candlestickCategory':'Danh\x20mục','candlestickDate':_0x52eb40(0xce),'candlestickOpen':_0x52eb40(0xb4),'candlestickHigh':'Giá\x20cao\x20nhất','candlestickLow':_0x52eb40(0xb2),'candlestickClose':_0x52eb40(0xba),'histogramFrequency':_0x52eb40(0xb3),'treemapEmptyTips':_0x52eb40(0xc8),'treemapOwnValue':_0x52eb40(0xc4),'treemapChildren':_0x52eb40(0xc9),'sunburstEmptyTips':'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ố.','sunburstOwnValue':'Giá\x20trị\x20riêng','sunburstChildren':_0x52eb40(0xc9),'gaugeEmptyTips':'Biểu\x20đồ\x20đồng\x20hồ\x20cần\x20ít\x20nhất\x20một\x20giá\x20trị\x20số\x20hữu\x20hạn.','gaugeInvalidMapping':_0x52eb40(0xd0),'gaugeInvalidConfig':'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.','chordEmptyTips':_0x52eb40(0xaa),'chordInvalidMapping':'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.','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':_0x52eb40(0xc0),'chordAssociatedValue':'Giá\x20trị\x20liên\x20kết'}};export{e as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x535447=_0x3a0e;function _0x12b5(){const _0x5d2262=['5448864ZFPoxr','886361gqYkTb','仪表图配置无效,请检查刻度范围、分段区间、比例和尺寸。','此图表或坐标轴不支持对数刻度。切换为线性以恢复绘制。','请先添加系列开始数据可视化','最小值','28074lFpxdo','关系图数据源为额外添加类型列在第二列的共词矩阵','HLC\x20系列','弦图需要不同的来源字段和目标字段,并可选一个与二者不同的数值字段。','464379PaycKv','仪表图至少需要一个有限数值。','OHLC\x20系列','三维图表仅支持\x20PNG\x20导出。','系列\x20{0}','自身值','1155AxzHrM','1741430FekXoQ','最大值','关联值','3666664NdDMOV','旭日图至少需要一个层级字段和一个数值字段。','累积占比','关系计数','桑基图不能包含循环数据','161915rdtAbn','图表数据源标题配置无效。','弦图配置无效,请检查角度、半径、不透明度和尺寸。','第三四分位数'];_0x12b5=function(){return _0x5d2262;};return _0x12b5();}(function(_0x295c7e,_0x34321d){const _0x45bf22=_0x3a0e,_0x52ca2e=_0x295c7e();while(!![]){try{const _0x4b762f=-parseInt(_0x45bf22(0xf6))/0x1+-parseInt(_0x45bf22(0xe9))/0x2+-parseInt(_0x45bf22(0xff))/0x3+parseInt(_0x45bf22(0xec))/0x4+parseInt(_0x45bf22(0xf1))/0x5+-parseInt(_0x45bf22(0xfb))/0x6*(-parseInt(_0x45bf22(0xe8))/0x7)+parseInt(_0x45bf22(0xf5))/0x8;if(_0x4b762f===_0x34321d)break;else _0x52ca2e['push'](_0x52ca2e['shift']());}catch(_0x98d224){_0x52ca2e['push'](_0x52ca2e['shift']());}}}(_0x12b5,0x77b53));const e={'engine-chart':{'projectionInvalid':'三维图表配置无效。','projectionUnavailable':'三维渲染不可用,图表数据已保留。','projectionRetry':'重试渲染','projectionPngOnly':_0x535447(0x102),'logUnsupported':_0x535447(0xf8),'logNoPositive':'此对数轴没有正数数据。','logPercent':'百分比堆积暂不支持对数轴,请切换为线性以显示。','invalidSourceHeader':_0x535447(0xf2),'seriesDefaultName':_0x535447(0xe6),'blank':'(空)','boxplotMin':_0x535447(0xfa),'boxplotQ1':'第一四分位数','boxplotMedian':'中位数','boxplotQ3':_0x535447(0xf4),'boxplotMax':_0x535447(0xea),'bubbleEmptyTips':'气泡图至少需要2列,X轴、Y轴。','cloudWord':'词语','cloudFrequency':'频率','msgEmptyTips':_0x535447(0xf9),'msgSankeyCircularTips':_0x535447(0xf0),'paretoLineName':_0x535447(0xee),'pieAggregateOther':'其他','pieAggregateMembers':'成员数','relationEmptyTips':_0x535447(0xfc),'waterfallPositive':'正值','waterfallNegative':'负值','waterfallSubtotal':'小计','candlestickSeries':_0x535447(0x101),'candlestickHlcSeries':_0x535447(0xfd),'candlestickCategory':'类别','candlestickDate':'日期','candlestickOpen':'开盘','candlestickHigh':'最高','candlestickLow':'最低','candlestickClose':'收盘','histogramFrequency':'频数','treemapEmptyTips':'矩形树图至少需要一个层级字段和一个数值字段。','treemapOwnValue':_0x535447(0xe7),'treemapChildren':'子项','sunburstEmptyTips':_0x535447(0xed),'sunburstOwnValue':_0x535447(0xe7),'sunburstChildren':'子项','gaugeEmptyTips':_0x535447(0x100),'gaugeInvalidMapping':'仪表图需要一个标签字段且只能有一个数值字段。','gaugeInvalidConfig':_0x535447(0xf7),'chordEmptyTips':'弦图至少需要两个不同节点之间的一条正权重关系。','chordInvalidMapping':_0x535447(0xfe),'chordInvalidConfig':_0x535447(0xf3),'chordCount':_0x535447(0xef),'chordAssociatedValue':_0x535447(0xeb)}};function _0x3a0e(_0x510daa,_0x1067b1){_0x510daa=_0x510daa-0xe6;const _0x12b567=_0x12b5();let _0x3a0eb9=_0x12b567[_0x510daa];return _0x3a0eb9;}export{e as default};
|
package/lib/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1033c1=_0x162d;(function(_0x2cd491,_0x293d97){const _0x5eb8b1=_0x162d,_0x5923d6=_0x2cd491();while(!![]){try{const _0x3bd6ca=parseInt(_0x5eb8b1(0x84))/0x1*(parseInt(_0x5eb8b1(0x9e))/0x2)+parseInt(_0x5eb8b1(0x9d))/0x3+-parseInt(_0x5eb8b1(0x89))/0x4+-parseInt(_0x5eb8b1(0x93))/0x5*(parseInt(_0x5eb8b1(0x99))/0x6)+-parseInt(_0x5eb8b1(0xa0))/0x7+parseInt(_0x5eb8b1(0x83))/0x8*(-parseInt(_0x5eb8b1(0x81))/0x9)+parseInt(_0x5eb8b1(0x94))/0xa*(parseInt(_0x5eb8b1(0xa7))/0xb);if(_0x3bd6ca===_0x293d97)break;else _0x5923d6['push'](_0x5923d6['shift']());}catch(_0x469464){_0x5923d6['push'](_0x5923d6['shift']());}}}(_0x24ae,0xab715));const e={'engine-chart':{'projectionInvalid':'三維圖表設定無效。','projectionUnavailable':_0x1033c1(0xa5),'projectionRetry':_0x1033c1(0xa6),'projectionPngOnly':'三維圖表僅支援\x20PNG\x20匯出。','logUnsupported':_0x1033c1(0x92),'logNoPositive':_0x1033c1(0xa4),'logPercent':'百分比堆積暫不支援對數軸,請切換為線性以顯示。','invalidSourceHeader':_0x1033c1(0x9f),'seriesDefaultName':'系列\x20{0}','blank':_0x1033c1(0x8a),'boxplotMin':_0x1033c1(0x87),'boxplotQ1':'第一四分位數','boxplotMedian':_0x1033c1(0x8c),'boxplotQ3':_0x1033c1(0x80),'boxplotMax':_0x1033c1(0x95),'bubbleEmptyTips':_0x1033c1(0x9a),'cloudWord':'詞','cloudFrequency':'頻率','msgEmptyTips':'請先添加系列開始數據可視化','msgSankeyCircularTips':_0x1033c1(0x9c),'paretoLineName':_0x1033c1(0x91),'pieAggregateOther':'其他','pieAggregateMembers':'成員','relationEmptyTips':_0x1033c1(0x8b),'waterfallPositive':'正值','waterfallNegative':'負值','waterfallSubtotal':'小計','candlestickSeries':_0x1033c1(0xa1),'candlestickHlcSeries':_0x1033c1(0xa3),'candlestickCategory':'類別','candlestickDate':'日期','candlestickOpen':_0x1033c1(0x86),'candlestickHigh':_0x1033c1(0x8d),'candlestickLow':_0x1033c1(0x96),'candlestickClose':_0x1033c1(0x98),'histogramFrequency':'頻數','treemapEmptyTips':_0x1033c1(0x8f),'treemapOwnValue':_0x1033c1(0x88),'treemapChildren':'子項','sunburstEmptyTips':_0x1033c1(0x8e),'sunburstOwnValue':_0x1033c1(0x88),'sunburstChildren':'子項','gaugeEmptyTips':_0x1033c1(0x90),'gaugeInvalidMapping':'儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','gaugeInvalidConfig':_0x1033c1(0xa2),'chordEmptyTips':_0x1033c1(0x85),'chordInvalidMapping':_0x1033c1(0x97),'chordInvalidConfig':'弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','chordCount':_0x1033c1(0x9b),'chordAssociatedValue':_0x1033c1(0x82)}};function _0x24ae(){const _0x15ab48=['18dAELkO','弦圖至少需要兩個不同節點之間的一條正權重關係。','開盤價','最小值','自身值','2945776CJNTFS','(空)','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','中位數','最高價','旭日圖至少需要一個階層欄位和一個數值欄位。','矩形樹圖至少需要一個階層欄位和一個數值欄位。','儀表圖至少需要一個有限數值。','累積占比','此圖表或座標軸不支援對數刻度。切換為線性以恢復繪製。','12335PoDZii','16558180cUhKoK','最大值','最低價','弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','收盤價','2466pEHCWI','氣泡圖至少需要2欄,X軸、Y軸。','關係數','桑基圖不能包含循環數據','2334717paJuoq','34962nhXRWc','圖表資料來源標題設定無效。','8568035bkIMKi','OHLC\x20數列','儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。','HLC\x20數列','此對數軸沒有正數資料。','三維渲染無法使用,圖表資料已保留。','重試渲染','22FAZOfX','第三四分位數','18ZrQHsN','關聯值','2911672bwWVFj'];_0x24ae=function(){return _0x15ab48;};return _0x24ae();}function _0x162d(_0x2037e0,_0x1556b3){_0x2037e0=_0x2037e0-0x80;const _0x24ae77=_0x24ae();let _0x162de3=_0x24ae77[_0x2037e0];return _0x162de3;}export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x32274d=_0x1f1e;(function(_0x3a5751,_0x37eaf0){const _0x1f9a66=_0x1f1e,_0x6a47ff=_0x3a5751();while(!![]){try{const _0x5cfb46=parseInt(_0x1f9a66(0xf3))/0x1+-parseInt(_0x1f9a66(0xfa))/0x2+-parseInt(_0x1f9a66(0xec))/0x3+parseInt(_0x1f9a66(0xe3))/0x4+-parseInt(_0x1f9a66(0xea))/0x5+-parseInt(_0x1f9a66(0xe0))/0x6+-parseInt(_0x1f9a66(0xef))/0x7*(-parseInt(_0x1f9a66(0xe6))/0x8);if(_0x5cfb46===_0x37eaf0)break;else _0x6a47ff['push'](_0x6a47ff['shift']());}catch(_0x526054){_0x6a47ff['push'](_0x6a47ff['shift']());}}}(_0x23ff,0x72ed6));const e={'engine-chart':{'projectionInvalid':_0x32274d(0xf4),'projectionUnavailable':_0x32274d(0xe7),'projectionRetry':_0x32274d(0xdf),'projectionPngOnly':_0x32274d(0xe4),'logUnsupported':_0x32274d(0xff),'logNoPositive':_0x32274d(0xe2),'logPercent':_0x32274d(0xfd),'invalidSourceHeader':_0x32274d(0xe1),'seriesDefaultName':'系列\x20{0}','blank':_0x32274d(0xf0),'boxplotMin':_0x32274d(0xee),'boxplotQ1':_0x32274d(0xf6),'boxplotMedian':_0x32274d(0xdd),'boxplotQ3':_0x32274d(0xfc),'boxplotMax':_0x32274d(0xfb),'bubbleEmptyTips':_0x32274d(0xed),'cloudWord':'詞','cloudFrequency':'頻率','msgEmptyTips':'請先添加系列開始數據可視化','msgSankeyCircularTips':_0x32274d(0xe8),'paretoLineName':_0x32274d(0xde),'pieAggregateOther':'其他','pieAggregateMembers':'成員','relationEmptyTips':_0x32274d(0xf1),'waterfallPositive':'正值','waterfallNegative':'負值','waterfallSubtotal':'小計','candlestickSeries':_0x32274d(0xf9),'candlestickHlcSeries':_0x32274d(0x100),'candlestickCategory':'類別','candlestickDate':'日期','candlestickOpen':'開盤價','candlestickHigh':_0x32274d(0xeb),'candlestickLow':'最低價','candlestickClose':'收盤價','histogramFrequency':'頻數','treemapEmptyTips':'矩形樹圖至少需要一個階層欄位和一個數值欄位。','treemapOwnValue':_0x32274d(0x101),'treemapChildren':'子項','sunburstEmptyTips':_0x32274d(0xf5),'sunburstOwnValue':_0x32274d(0x101),'sunburstChildren':'子項','gaugeEmptyTips':_0x32274d(0xfe),'gaugeInvalidMapping':_0x32274d(0xf2),'gaugeInvalidConfig':_0x32274d(0xe5),'chordEmptyTips':_0x32274d(0xf7),'chordInvalidMapping':_0x32274d(0xf8),'chordInvalidConfig':'弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','chordCount':_0x32274d(0xe9),'chordAssociatedValue':'關聯值'}};function _0x1f1e(_0x21f796,_0xa49895){_0x21f796=_0x21f796-0xdd;const _0x23ffcd=_0x23ff();let _0x1f1ef8=_0x23ffcd[_0x21f796];return _0x1f1ef8;}export{e as default};function _0x23ff(){const _0x905e1b=['最小值','91987FHSHdo','(空)','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','499549HfOFJF','三維圖表設定無效。','旭日圖至少需要一個階層欄位和一個數值欄位。','第一四分位數','弦圖至少需要兩個不同節點之間的一條正權重關係。','弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','OHLC\x20數列','1123062gSsnWM','最大值','第三四分位數','百分比堆積暫不支援對數軸,請切換為線性以顯示。','儀表圖至少需要一個有限數值。','此圖表或座標軸不支援對數刻度。切換為線性以恢復繪製。','HLC\x20數列','自身值','中位數','累積占比','重試算繪','508926MzFlAW','圖表資料來源標題設定無效。','此對數軸沒有正數資料。','1614516sAQxxV','三維圖表僅支援\x20PNG\x20匯出。','儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。','568NwrXsI','三維算繪無法使用,圖表資料已保留。','桑基圖不能包含循環數據','關係數','804490dpsTRA','最高價','1674591vNvQDi','氣泡圖至少需要2欄,X軸、Y軸。'];_0x23ff=function(){return _0x905e1b;};return _0x23ff();}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IFace3 } from '../core/geometry';
|
|
2
|
+
import type { IProjectionChartInput } from '../core/types';
|
|
3
|
+
import type { IWebGLAppearance } from '../webgl/types';
|
|
4
|
+
export declare function getFaceAppearance(input: IProjectionChartInput, face: IFace3): IWebGLAppearance;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { GraphicComponentOption } from 'echarts';
|
|
2
|
+
import type { IChartSnapshot } from '../../types';
|
|
3
|
+
import type { IFace3, IVector3 } from '../core/geometry';
|
|
4
|
+
import type { ISceneAxis, ISceneLine } from '../core/scene';
|
|
5
|
+
import type { IProjectionChartInput } from '../core/types';
|
|
6
|
+
import { buildScene } from '../core/scene';
|
|
7
|
+
/** Screen-width lines share data BSP; plot topology and label anchors share the same world scene. */
|
|
8
|
+
export declare function buildDecoratedScene(input: IProjectionChartInput<IChartSnapshot>, color: string, floorColor: string): {
|
|
9
|
+
axes: ISceneAxis[];
|
|
10
|
+
faces: IFace3[];
|
|
11
|
+
lines: ISceneLine[];
|
|
12
|
+
labels?: readonly import("../core/scene").ISceneLabel[];
|
|
13
|
+
edges?: readonly import("../core/geometry").ISurfaceEdge[];
|
|
14
|
+
floor?: readonly IVector3[];
|
|
15
|
+
percentages?: readonly import("../core/scene").IScenePercentage[];
|
|
16
|
+
bounds: {
|
|
17
|
+
readonly min: IVector3;
|
|
18
|
+
readonly max: IVector3;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export declare function buildAxisLabels(input: IProjectionChartInput<IChartSnapshot>, scene: ReturnType<typeof buildScene>, color: string, left: number, top: number): GraphicComponentOption[];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IProjectionCategoryAxisLayout, IProjectionChartInput } from '../core/types';
|
|
2
|
+
import './echarts-time-scale';
|
|
3
|
+
/** Sheet chart categories already contain timestamps; only persisted axis bounds contain serial days. */
|
|
4
|
+
export declare function createCategoryAxisLayout(input: Omit<IProjectionChartInput, 'scene'>): IProjectionCategoryAxisLayout | undefined;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IDisposable } from '@univerjs/core';
|
|
2
|
+
import type { ChartElementEventHandler } from '../../types';
|
|
3
|
+
import type { IProjectionRenderSession, IProjectionSessionOptions } from './types';
|
|
4
|
+
export declare function createProjectionRenderSession(element: HTMLElement, options: IProjectionSessionOptions): IProjectionRenderSession;
|
|
5
|
+
/** Internal product capture boundary; not part of the playground package exports. */
|
|
6
|
+
export declare function captureProjectionSessionPng(session: IProjectionRenderSession, pixelRatio: number): Promise<string>;
|
|
7
|
+
/** Internal product capture path; the public session contract remains backend-neutral. */
|
|
8
|
+
export declare function captureProjectionSessionCanvas(session: IProjectionRenderSession, pixelRatio: number): HTMLCanvasElement;
|
|
9
|
+
export declare function observeProjectionElements(session: IProjectionRenderSession, listener: ChartElementEventHandler): IDisposable;
|
|
10
|
+
export declare function setProjectionElementEditMode(session: IProjectionRenderSession, enabled: boolean): void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare module 'echarts/lib/scale/Time.js' {
|
|
2
|
+
const TimeScale: typeof import('echarts/types/src/scale/Time.js').default;
|
|
3
|
+
export default TimeScale;
|
|
4
|
+
export const calcNiceForTimeScale: typeof import('echarts/types/src/scale/Time.js').calcNiceForTimeScale;
|
|
5
|
+
}
|
|
6
|
+
declare module 'echarts/lib/core/locale.js' {
|
|
7
|
+
const getLocaleModel: typeof import('echarts/types/src/core/locale.js').getLocaleModel;
|
|
8
|
+
const SYSTEM_LANG: typeof import('echarts/types/src/core/locale.js').SYSTEM_LANG;
|
|
9
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ECharts } from 'echarts';
|
|
2
|
+
import type { ChartElementEventType, IChartConfig, IChartElementEvent } from '../../types';
|
|
3
|
+
export declare function createProjectionElementEvent(type: ChartElementEventType, source: unknown, config: IChartConfig, instance?: ECharts): IChartElementEvent;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import type { IChartRenderModelImageExportInput, IChartRenderModelImageExportOptions, IChartRenderModelImageExportResult } from '../../types';
|
|
2
|
+
export declare function exportProjectionImage(input: IChartRenderModelImageExportInput, options: IChartRenderModelImageExportOptions | undefined, addWatermark: boolean): Promise<IChartRenderModelImageExportResult>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ChartStyle, IChartSnapshot } from '../../types';
|
|
2
|
+
import type { IProjectionChartInput, IProjectionDiagnostic, ProjectionReadonly } from '../core/types';
|
|
3
|
+
export interface INormalizedProjectionSnapshot {
|
|
4
|
+
readonly snapshot: ProjectionReadonly<IChartSnapshot>;
|
|
5
|
+
readonly diagnostics: readonly IProjectionDiagnostic[];
|
|
6
|
+
}
|
|
7
|
+
export declare function normalizeProjectionSnapshot(snapshot: ProjectionReadonly<IChartSnapshot>, style?: ProjectionReadonly<ChartStyle> | undefined): INormalizedProjectionSnapshot;
|
|
8
|
+
export declare function createProjectionInput(source: Omit<IProjectionChartInput<IChartSnapshot>, 'scene'>): {
|
|
9
|
+
input: IProjectionChartInput<IChartSnapshot>;
|
|
10
|
+
diagnostics: readonly IProjectionDiagnostic[];
|
|
11
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IFace3 } from '../core/geometry';
|
|
2
|
+
/** Pie geometry already includes slice rotation; camera shear must not alter surface lighting. */
|
|
3
|
+
export declare function getPieSurfaceShade(face: IFace3): number;
|
|
4
|
+
export declare function getSolidSurfaceShade(face: IFace3): number;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface IPieOutsideLabel {
|
|
2
|
+
readonly x: number;
|
|
3
|
+
readonly y: number;
|
|
4
|
+
readonly height: number;
|
|
5
|
+
}
|
|
6
|
+
/** Keep each side in angular order; displacement changes labels, never slice geometry. */
|
|
7
|
+
export declare function arrangePieLabels(labels: readonly IPieOutsideLabel[], centerX: number, top: number, bottom: number): number[];
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { ChartRuntimeStyle, IChartDataSeries } from '../../types';
|
|
2
|
+
export declare function getProjectionDataLabel(style: ChartRuntimeStyle, source: IChartDataSeries | undefined, pie: boolean): {
|
|
3
|
+
contentType?: number | undefined;
|
|
4
|
+
position?: import("../..").PieLabelPosition | undefined;
|
|
5
|
+
format?: string | undefined;
|
|
6
|
+
pointFormats?: {
|
|
7
|
+
[x: number]: string | undefined;
|
|
8
|
+
} | undefined;
|
|
9
|
+
eastAsiaFontFamily?: string | undefined;
|
|
10
|
+
bold?: boolean | undefined;
|
|
11
|
+
italic?: boolean | undefined;
|
|
12
|
+
fontSize?: number | undefined;
|
|
13
|
+
color?: string | undefined;
|
|
14
|
+
visible?: boolean | undefined;
|
|
15
|
+
rotate?: number | undefined;
|
|
16
|
+
family?: string | undefined;
|
|
17
|
+
backgroundColor?: (import("../..").ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
18
|
+
strikethrough?: boolean | undefined;
|
|
19
|
+
underline?: boolean | undefined;
|
|
20
|
+
padAngle?: boolean | undefined;
|
|
21
|
+
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
22
|
+
showMaxLabel?: boolean | undefined;
|
|
23
|
+
showMinLabel?: boolean | undefined;
|
|
24
|
+
autoRotate?: boolean | undefined;
|
|
25
|
+
} | {
|
|
26
|
+
contentType?: number | undefined;
|
|
27
|
+
position?: import("../..").SeriesLabelPosition | undefined;
|
|
28
|
+
format?: string;
|
|
29
|
+
pointFormats?: {
|
|
30
|
+
[x: number]: string | undefined;
|
|
31
|
+
} | undefined;
|
|
32
|
+
customValues?: {
|
|
33
|
+
[x: number]: string | undefined;
|
|
34
|
+
} | undefined;
|
|
35
|
+
showLabelLine?: boolean;
|
|
36
|
+
labelLineStyle?: {
|
|
37
|
+
width?: number | undefined;
|
|
38
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
39
|
+
opacity?: number | undefined;
|
|
40
|
+
} | undefined;
|
|
41
|
+
visible?: boolean | undefined;
|
|
42
|
+
content?: string | undefined;
|
|
43
|
+
fontSize?: number | undefined;
|
|
44
|
+
color?: string | undefined;
|
|
45
|
+
backgroundColor?: import("../..").ChartColor | import("../../types").IChartLabelPattern;
|
|
46
|
+
align?: import("../..").LabelAlignEnum | undefined;
|
|
47
|
+
bold?: boolean | undefined;
|
|
48
|
+
family?: string | undefined;
|
|
49
|
+
eastAsiaFontFamily?: string;
|
|
50
|
+
strikethrough?: boolean | undefined;
|
|
51
|
+
italic?: boolean | undefined;
|
|
52
|
+
underline?: boolean | undefined;
|
|
53
|
+
padAngle?: boolean | undefined;
|
|
54
|
+
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
55
|
+
showMaxLabel?: boolean;
|
|
56
|
+
showMinLabel?: boolean;
|
|
57
|
+
rotate?: number;
|
|
58
|
+
autoRotate?: boolean;
|
|
59
|
+
} | undefined;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface IProjectionFrameImage {
|
|
2
|
+
width: number;
|
|
3
|
+
height: number;
|
|
4
|
+
pixelRatio: number;
|
|
5
|
+
background: string;
|
|
6
|
+
geometry: HTMLCanvasElement;
|
|
7
|
+
decoration: HTMLCanvasElement;
|
|
8
|
+
plot: {
|
|
9
|
+
left: number;
|
|
10
|
+
top: number;
|
|
11
|
+
width: number;
|
|
12
|
+
height: number;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export declare function composeProjectionFrameImage(frame: IProjectionFrameImage): HTMLCanvasElement;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { IDisposable } from '@univerjs/core';
|
|
2
|
+
import type { ChartElementEventHandler, ChartElementEventType, IChartHost, IChartRenderInput, IChartRenderInstance, IChartRenderInstanceCreateContext } from '../../types';
|
|
3
|
+
import { Disposable } from '@univerjs/core';
|
|
4
|
+
import { ChartRenderMode } from '../../types';
|
|
5
|
+
export declare class ProjectionChartInstance extends Disposable implements IChartRenderInstance {
|
|
6
|
+
readonly mode: ChartRenderMode;
|
|
7
|
+
private readonly _context;
|
|
8
|
+
private readonly _addWatermark;
|
|
9
|
+
private _host?;
|
|
10
|
+
private _session?;
|
|
11
|
+
private _mount?;
|
|
12
|
+
private _input?;
|
|
13
|
+
private _image?;
|
|
14
|
+
private _frame?;
|
|
15
|
+
private _version;
|
|
16
|
+
private _status?;
|
|
17
|
+
private _contextEvents?;
|
|
18
|
+
private _elementEvents?;
|
|
19
|
+
private _editing;
|
|
20
|
+
private _closed;
|
|
21
|
+
private readonly _listeners;
|
|
22
|
+
constructor(mode: ChartRenderMode, _context?: IChartRenderInstanceCreateContext, _addWatermark?: () => boolean);
|
|
23
|
+
bind(host: IChartHost): void;
|
|
24
|
+
render(input: IChartRenderInput): Promise<void>;
|
|
25
|
+
private _showUnavailable;
|
|
26
|
+
private _clearSession;
|
|
27
|
+
exportImg(): Promise<string | undefined>;
|
|
28
|
+
resize(): void;
|
|
29
|
+
on(type: ChartElementEventType, handler: ChartElementEventHandler): IDisposable;
|
|
30
|
+
setElementEditMode(enabled: boolean): void;
|
|
31
|
+
dispose(): void;
|
|
32
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ISceneProjection } from '../core/projection';
|
|
2
|
+
/** Lift the shared camera fit to a homogeneous transform; GPU receives original world vertices. */
|
|
3
|
+
export declare function createClipMatrix(projection: ISceneProjection, width: number, height: number): Float32Array;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { ChartRuntimeStyle, IChartConfig, IChartSnapshot } from '../../types';
|
|
2
|
+
import type { IProjectionDiagnostic, IProjectionSemanticTarget } from '../core/types';
|
|
3
|
+
export interface IProjectionUpdate {
|
|
4
|
+
snapshot: IChartSnapshot;
|
|
5
|
+
config: IChartConfig;
|
|
6
|
+
style: ChartRuntimeStyle;
|
|
7
|
+
title: string;
|
|
8
|
+
emptyText: string;
|
|
9
|
+
invalidText: string;
|
|
10
|
+
foreground: string;
|
|
11
|
+
background: string;
|
|
12
|
+
axes: boolean;
|
|
13
|
+
labels: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface IProjectionEvent {
|
|
16
|
+
type: 'hover' | 'select' | 'legend';
|
|
17
|
+
target?: IProjectionSemanticTarget;
|
|
18
|
+
value?: unknown;
|
|
19
|
+
selected?: Record<string, boolean>;
|
|
20
|
+
}
|
|
21
|
+
export interface IProjectionInteractionState {
|
|
22
|
+
readonly hover?: IProjectionSemanticTarget;
|
|
23
|
+
readonly selection?: IProjectionSemanticTarget;
|
|
24
|
+
}
|
|
25
|
+
export interface IProjectionRenderSession {
|
|
26
|
+
readonly diagnostics: readonly IProjectionDiagnostic[];
|
|
27
|
+
update(input: IProjectionUpdate): void;
|
|
28
|
+
resize(width: number, height: number): void;
|
|
29
|
+
/** Host state replaces current interaction without echoing a user event. */
|
|
30
|
+
setInteraction(state: IProjectionInteractionState): void;
|
|
31
|
+
clearSelection(): void;
|
|
32
|
+
dispose(): void;
|
|
33
|
+
}
|
|
34
|
+
export interface IProjectionSessionOptions {
|
|
35
|
+
readonly backend: 'webgl';
|
|
36
|
+
readonly onEvent?: (event: IProjectionEvent) => void;
|
|
37
|
+
readonly onDispose?: () => void;
|
|
38
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { IScene3, ISceneLine } from '../core/scene';
|
|
2
|
+
import type { IProjectionChartInput, IProjectionSemanticTarget } from '../core/types';
|
|
3
|
+
import { Disposable } from '@univerjs/core';
|
|
4
|
+
/** Adapts the chart scene to WebGL; the host still owns ECharts text and interaction. */
|
|
5
|
+
export declare class WebGLSceneRenderer extends Disposable {
|
|
6
|
+
readonly canvas: HTMLCanvasElement;
|
|
7
|
+
private readonly _renderer;
|
|
8
|
+
private _closed;
|
|
9
|
+
private _items;
|
|
10
|
+
private _matrix?;
|
|
11
|
+
private _ratio;
|
|
12
|
+
private _hitLines;
|
|
13
|
+
get hitLines(): readonly ISceneLine[];
|
|
14
|
+
constructor(host: HTMLElement);
|
|
15
|
+
clear(): void;
|
|
16
|
+
setEmphasis(targets: readonly IProjectionSemanticTarget[]): void;
|
|
17
|
+
render(input: IProjectionChartInput, scene: IScene3, left: number, top: number, foreground: string): void;
|
|
18
|
+
captureCanvas(pixelRatio: number): HTMLCanvasElement;
|
|
19
|
+
dispose(): void;
|
|
20
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { IChartImageExporter, IChartInstanceFactory, IChartRenderExtension } from '../models/chart-render/echart-render-model/echart-render-model';
|
|
2
|
+
export declare class Chart3DExtension implements IChartRenderExtension {
|
|
3
|
+
readonly name = "chart-3d";
|
|
4
|
+
readonly instanceFactory: IChartInstanceFactory;
|
|
5
|
+
readonly imageExporter: IChartImageExporter;
|
|
6
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { IProjectionSemanticTarget, ProjectionDecoration } from './types';
|
|
2
|
+
/** Shared relative tolerance: layout is normalized to a unit-sized chart before camera transformation. */
|
|
3
|
+
export declare const GEOMETRY_EPSILON = 1e-9;
|
|
4
|
+
export interface IVector3 {
|
|
5
|
+
readonly x: number;
|
|
6
|
+
readonly y: number;
|
|
7
|
+
readonly z: number;
|
|
8
|
+
}
|
|
9
|
+
export interface IFace3 {
|
|
10
|
+
/** Frame-local provenance retained through BSP splits; never persisted. */
|
|
11
|
+
readonly sourceFace?: number;
|
|
12
|
+
readonly decoration?: ProjectionDecoration;
|
|
13
|
+
readonly vertices: readonly IVector3[];
|
|
14
|
+
readonly target?: IProjectionSemanticTarget;
|
|
15
|
+
readonly fill?: string;
|
|
16
|
+
readonly shade?: number;
|
|
17
|
+
/** Faces in one solid with the same group tessellate a smooth surface, not a physical crease. */
|
|
18
|
+
readonly surfaceGroup?: number;
|
|
19
|
+
}
|
|
20
|
+
export interface ISurfaceEdge {
|
|
21
|
+
/** Smooth surface adjacencies become borders only where camera-facing orientation changes. */
|
|
22
|
+
readonly kind: 'boundary' | 'silhouette';
|
|
23
|
+
readonly start: IVector3;
|
|
24
|
+
readonly end: IVector3;
|
|
25
|
+
/** Original adjacent faces retain style and hit ownership independently of the outline topology. */
|
|
26
|
+
readonly faces: readonly IFace3[];
|
|
27
|
+
}
|
|
28
|
+
export declare function subtract(a: IVector3, b: IVector3): IVector3;
|
|
29
|
+
export declare function dot(a: IVector3, b: IVector3): number;
|
|
30
|
+
export declare function cross(a: IVector3, b: IVector3): IVector3;
|
|
31
|
+
export declare function interpolate(a: IVector3, b: IVector3, t: number): IVector3;
|
|
32
|
+
export declare function normalOf(vertices: readonly IVector3[]): IVector3;
|
|
33
|
+
export declare function clipDepth(faces: readonly IFace3[], near: number, far: number): IFace3[];
|
|
34
|
+
/** BSP resolves intersections and visibility cycles geometrically, across all series, before painter traversal. */
|
|
35
|
+
export declare function orderFaces(faces: readonly IFace3[], eye: IVector3): IFace3[];
|
|
36
|
+
/** A single solid may have semantic cells; only coincident, oppositely oriented faces are internal. */
|
|
37
|
+
export declare function removeInternalFaces(faces: readonly IFace3[]): IFace3[];
|
|
38
|
+
/** Extract each physical boundary once within a solid, excluding coplanar subdivisions and smooth facets. */
|
|
39
|
+
export declare function buildSurfaceEdges(faces: readonly IFace3[]): ISurfaceEdge[];
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/** Renderer-owned defaults in normalized world units; not an Excel camera calibration. */
|
|
2
|
+
export declare const PROJECTION_POLICY: {
|
|
3
|
+
readonly rotX: 20;
|
|
4
|
+
readonly rotY: 30;
|
|
5
|
+
readonly perspective: 30;
|
|
6
|
+
readonly heightPercent: 100;
|
|
7
|
+
readonly automaticValueHeightRatio: 0.75;
|
|
8
|
+
readonly depthPercent: 100;
|
|
9
|
+
readonly gapWidth: 150;
|
|
10
|
+
readonly gapDepth: 150;
|
|
11
|
+
readonly plotDepth: 0.6;
|
|
12
|
+
readonly lineDepthPerCategoryPitch: 0.8;
|
|
13
|
+
readonly pieLabelRadius: 0.6;
|
|
14
|
+
readonly pieThickness: 0.2;
|
|
15
|
+
readonly lineThickness: 0.006;
|
|
16
|
+
readonly curveErrorPixels: 0.5;
|
|
17
|
+
readonly curveProjectionBound: 8;
|
|
18
|
+
readonly viewportInset: 0.06;
|
|
19
|
+
readonly cameraRadiusMultiple: 3;
|
|
20
|
+
readonly nearRadiusMultiple: 0.05;
|
|
21
|
+
readonly farRadiusMultiple: 8;
|
|
22
|
+
readonly ambientLight: 0.55;
|
|
23
|
+
readonly diffuseLight: 0.45;
|
|
24
|
+
readonly light: {
|
|
25
|
+
readonly x: -1;
|
|
26
|
+
readonly y: 2;
|
|
27
|
+
readonly z: -3;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export declare const DEGREES_TO_RADIANS: number;
|
|
31
|
+
export declare const PERCENT_SCALE = 100;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { IFace3, IVector3 } from './geometry';
|
|
2
|
+
import type { IScene3, ISceneLine } from './scene';
|
|
3
|
+
import type { IProjectionChartInput, IProjectionFrame, IProjectionPoint, IProjectionPrimitive } from './types';
|
|
4
|
+
export interface ISceneProjection {
|
|
5
|
+
readonly near: number;
|
|
6
|
+
readonly far: number;
|
|
7
|
+
readonly perspective: boolean;
|
|
8
|
+
readonly eye: IVector3;
|
|
9
|
+
readonly toCamera: (world: IVector3) => IVector3;
|
|
10
|
+
readonly projectCamera: (camera: IVector3) => IProjectionPoint;
|
|
11
|
+
/** Axis/label adapters must use this same transform; undefined means outside the depth clip volume. */
|
|
12
|
+
readonly projectWorld: (world: IVector3) => IProjectionPoint | undefined;
|
|
13
|
+
}
|
|
14
|
+
/** Shared plot fitting and anchor transform; labels reserve their own insets before passing the viewport. */
|
|
15
|
+
export declare function createSceneProjection(input: IProjectionChartInput, scene: IScene3): ISceneProjection;
|
|
16
|
+
/** Remove artificial cut edges only when no intervening projected face can change painter visibility. */
|
|
17
|
+
export declare function projectOrderedFaces(faces: readonly IFace3[], projection: ISceneProjection): IProjectionPrimitive[];
|
|
18
|
+
export interface IProjectionFrameOptions {
|
|
19
|
+
/** Picking may omit transparent fills while retaining the original scene fitting. */
|
|
20
|
+
readonly includeFace?: (face: IFace3) => boolean;
|
|
21
|
+
readonly lines?: readonly ISceneLine[];
|
|
22
|
+
}
|
|
23
|
+
export declare function buildProjectionFrame(input: IProjectionChartInput, scene: IScene3, options?: IProjectionFrameOptions): IProjectionFrame;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { IAxisOptions } from '../../types';
|
|
2
|
+
import type { IFace3, ISurfaceEdge, IVector3 } from './geometry';
|
|
3
|
+
import type { IProjectionChartInput, IProjectionSemanticTarget, ProjectionDecoration } from './types';
|
|
4
|
+
export interface ISceneAxis {
|
|
5
|
+
readonly kind: 'category' | 'value' | 'depth';
|
|
6
|
+
readonly start: IVector3;
|
|
7
|
+
readonly end: IVector3;
|
|
8
|
+
readonly stops: readonly {
|
|
9
|
+
readonly point: IVector3;
|
|
10
|
+
readonly value: number;
|
|
11
|
+
readonly label?: string;
|
|
12
|
+
}[];
|
|
13
|
+
}
|
|
14
|
+
export interface IScenePercentage {
|
|
15
|
+
readonly target: IProjectionSemanticTarget;
|
|
16
|
+
readonly percentage: number;
|
|
17
|
+
}
|
|
18
|
+
export interface ISceneLine {
|
|
19
|
+
readonly start: IVector3;
|
|
20
|
+
readonly end: IVector3;
|
|
21
|
+
readonly color: string;
|
|
22
|
+
readonly width: number;
|
|
23
|
+
readonly dashPattern?: readonly number[];
|
|
24
|
+
readonly decoration?: ProjectionDecoration;
|
|
25
|
+
readonly target?: IProjectionSemanticTarget;
|
|
26
|
+
}
|
|
27
|
+
export interface ISceneLabel {
|
|
28
|
+
readonly target: IProjectionSemanticTarget;
|
|
29
|
+
readonly inside: IVector3;
|
|
30
|
+
readonly end: IVector3;
|
|
31
|
+
readonly base: IVector3;
|
|
32
|
+
}
|
|
33
|
+
export interface IScene3 {
|
|
34
|
+
readonly labels?: readonly ISceneLabel[];
|
|
35
|
+
readonly edges?: readonly ISurfaceEdge[];
|
|
36
|
+
readonly lines?: readonly ISceneLine[];
|
|
37
|
+
readonly floor?: readonly IVector3[];
|
|
38
|
+
readonly percentages?: readonly IScenePercentage[];
|
|
39
|
+
readonly axes?: readonly ISceneAxis[];
|
|
40
|
+
readonly faces: readonly IFace3[];
|
|
41
|
+
readonly bounds: {
|
|
42
|
+
readonly min: IVector3;
|
|
43
|
+
readonly max: IVector3;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export interface IProjectionSceneServices {
|
|
47
|
+
createValueAxisScale(extent: readonly [number, number], options: Readonly<Pick<IAxisOptions, 'min' | 'max' | 'majorUnit' | 'autoScale'>>, context: {
|
|
48
|
+
readonly horizontal: boolean;
|
|
49
|
+
readonly percentStacked: boolean;
|
|
50
|
+
readonly threeDimensional: boolean;
|
|
51
|
+
}): {
|
|
52
|
+
readonly min: number;
|
|
53
|
+
readonly max: number;
|
|
54
|
+
readonly ticks: readonly number[];
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
export declare function buildScene(input: IProjectionChartInput, createValueAxisScale: IProjectionSceneServices['createValueAxisScale']): IScene3;
|