@geoscene/charts-components 5.0.19
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/LICENSE.md +18 -0
- package/README.md +15 -0
- package/dist/cdn/27RSUS44.js +499 -0
- package/dist/cdn/2ABIWUBP.js +168 -0
- package/dist/cdn/2FLUZ2DU.js +44 -0
- package/dist/cdn/2H7DJUUG.js +217 -0
- package/dist/cdn/2UIJDI4B.js +110 -0
- package/dist/cdn/2WSVTAF5.js +155 -0
- package/dist/cdn/2ZYMR3QH.js +469 -0
- package/dist/cdn/346SLSRB.js +117 -0
- package/dist/cdn/34GIQYIH.js +1000 -0
- package/dist/cdn/3DEMDCI6.js +176 -0
- package/dist/cdn/3PHU76K7.js +162 -0
- package/dist/cdn/3RSCQLEZ.js +376 -0
- package/dist/cdn/3SM7FV35.js +217 -0
- package/dist/cdn/3SYE47CU.js +157 -0
- package/dist/cdn/42A4L2UB.js +209 -0
- package/dist/cdn/43OZVJ43.js +10 -0
- package/dist/cdn/45AJBAFE.js +480 -0
- package/dist/cdn/4B3QBH5T.js +2440 -0
- package/dist/cdn/4HJDWMQ2.js +255 -0
- package/dist/cdn/4UCPYNHM.js +217 -0
- package/dist/cdn/4ZN5TLRY.js +206 -0
- package/dist/cdn/53MWUIM5.js +208 -0
- package/dist/cdn/5752NFTR.js +228 -0
- package/dist/cdn/5AWSZZXY.js +165 -0
- package/dist/cdn/5FBGXF7O.js +508 -0
- package/dist/cdn/5FW4PWIO.js +217 -0
- package/dist/cdn/5RNNVK4R.js +161 -0
- package/dist/cdn/6NZDPYGF.js +187 -0
- package/dist/cdn/6PBHDFIO.js +209 -0
- package/dist/cdn/7I5Y5NSS.js +82 -0
- package/dist/cdn/7IUSVOKT.js +119 -0
- package/dist/cdn/7XITED6J.js +216 -0
- package/dist/cdn/A6QBN7CC.js +45 -0
- package/dist/cdn/A7YNU2NS.js +34090 -0
- package/dist/cdn/AENRD2JF.js +174 -0
- package/dist/cdn/AHWBG4EN.js +170 -0
- package/dist/cdn/AQMOKQMS.js +97 -0
- package/dist/cdn/AULQDYOE.js +286 -0
- package/dist/cdn/BB25YSSU.js +273 -0
- package/dist/cdn/BBHUZEFF.js +217 -0
- package/dist/cdn/BY6OCNJ5.js +203 -0
- package/dist/cdn/BZA7GDEH.js +281 -0
- package/dist/cdn/CCRQK5DN.js +377 -0
- package/dist/cdn/CFQFRB3N.js +154 -0
- package/dist/cdn/CUT7ZZEN.js +211 -0
- package/dist/cdn/D24YASGK.js +241 -0
- package/dist/cdn/D4XT7ZCD.js +78 -0
- package/dist/cdn/D57WSEYW.js +65954 -0
- package/dist/cdn/D7VH5WCI.js +97 -0
- package/dist/cdn/DKENL7TV.js +72 -0
- package/dist/cdn/DP4BNWU2.js +442 -0
- package/dist/cdn/DPJE33GY.js +111 -0
- package/dist/cdn/DPXJFQDJ.js +34 -0
- package/dist/cdn/DVTRF3NE.js +498 -0
- package/dist/cdn/ED7V65WK.js +471 -0
- package/dist/cdn/EEARIV73.js +211 -0
- package/dist/cdn/EI4BBWXF.js +365 -0
- package/dist/cdn/EKW43NKP.js +211 -0
- package/dist/cdn/EKZC6UDI.js +219 -0
- package/dist/cdn/EQYSD2NX.js +217 -0
- package/dist/cdn/F335AJAZ.js +220 -0
- package/dist/cdn/FEJD2JHY.js +15 -0
- package/dist/cdn/FHOCRXYD.js +116 -0
- package/dist/cdn/FKGSMYFL.js +414 -0
- package/dist/cdn/FL37YOHH.js +217 -0
- package/dist/cdn/FPSTP5OC.js +392 -0
- package/dist/cdn/FVY5LUI2.js +157 -0
- package/dist/cdn/FWWJZ3MJ.js +209 -0
- package/dist/cdn/FZD6CNIZ.js +399 -0
- package/dist/cdn/G4MCRK6N.js +162 -0
- package/dist/cdn/GTW3ZY2Z.js +159 -0
- package/dist/cdn/GWOR7UVC.js +124624 -0
- package/dist/cdn/HAGP76HP.js +16 -0
- package/dist/cdn/HB4IRXAE.js +72 -0
- package/dist/cdn/HM3YITGN.js +217 -0
- package/dist/cdn/HOC24MW7.js +151 -0
- package/dist/cdn/HZC3QJTN.js +105 -0
- package/dist/cdn/IARNAL5N.js +14375 -0
- package/dist/cdn/IER7B77G.js +209 -0
- package/dist/cdn/IHRGRUHQ.js +130 -0
- package/dist/cdn/IJKPLGK6.js +141 -0
- package/dist/cdn/IJUDK7C2.js +209 -0
- package/dist/cdn/IMTYQFPL.js +36 -0
- package/dist/cdn/ISWZQ6CS.js +1163 -0
- package/dist/cdn/IUTE24ZY.js +13 -0
- package/dist/cdn/IYO5SQDL.js +99 -0
- package/dist/cdn/J436GCGB.js +217 -0
- package/dist/cdn/J7TZPMJS.js +55 -0
- package/dist/cdn/JADN2A6V.js +209 -0
- package/dist/cdn/JGALBLLO.js +30326 -0
- package/dist/cdn/JP64Q3GB.js +209 -0
- package/dist/cdn/JRIDQN35.js +215 -0
- package/dist/cdn/JRXMYWDW.js +135 -0
- package/dist/cdn/JS32MHPQ.js +217 -0
- package/dist/cdn/K3EUYISB.js +217 -0
- package/dist/cdn/K7DZU3S3.js +209 -0
- package/dist/cdn/KB7UF3HK.js +89 -0
- package/dist/cdn/KJHME2ZX.js +31 -0
- package/dist/cdn/KM2WGERQ.js +625 -0
- package/dist/cdn/KP4ZXQIA.js +104 -0
- package/dist/cdn/KPQTJ2HD.js +642 -0
- package/dist/cdn/KPZUTGHH.js +630 -0
- package/dist/cdn/KRZ433BT.js +2106 -0
- package/dist/cdn/KUVOINJC.js +81 -0
- package/dist/cdn/KYALHV7T.js +209 -0
- package/dist/cdn/KZCTMPJT.js +209 -0
- package/dist/cdn/L2JT5DRD.js +706 -0
- package/dist/cdn/LCDVPNSE.js +13 -0
- package/dist/cdn/LMCXUA7Q.js +10 -0
- package/dist/cdn/LN5565XO.js +52 -0
- package/dist/cdn/LZPEOYIX.js +98 -0
- package/dist/cdn/ML4GGRP6.js +570 -0
- package/dist/cdn/MMTB6DEH.js +209 -0
- package/dist/cdn/MSXA6BCJ.js +207 -0
- package/dist/cdn/NII7T2C6.js +179 -0
- package/dist/cdn/NKG4FLLR.js +165 -0
- package/dist/cdn/NSSG3EFV.js +48 -0
- package/dist/cdn/OBMBMKLH.js +327 -0
- package/dist/cdn/OIKTWYMH.js +157 -0
- package/dist/cdn/OR4HXHSY.js +41 -0
- package/dist/cdn/P4UNBBUE.js +82 -0
- package/dist/cdn/P5SSZWMH.js +309 -0
- package/dist/cdn/P6IDPIZS.js +211 -0
- package/dist/cdn/P7VOZE67.js +296 -0
- package/dist/cdn/PJRXBEGZ.js +178 -0
- package/dist/cdn/PNEIQAP5.js +217 -0
- package/dist/cdn/PWVXLHJ5.js +217 -0
- package/dist/cdn/QB7LODVK.js +684 -0
- package/dist/cdn/QEF5BUC3.js +10 -0
- package/dist/cdn/QFD6CUH6.js +30326 -0
- package/dist/cdn/QH6BI7FG.js +217 -0
- package/dist/cdn/QOI7NT7O.js +219 -0
- package/dist/cdn/QWWC6FN5.js +536 -0
- package/dist/cdn/QXU67LZR.js +155 -0
- package/dist/cdn/QYYAUYYC.js +112 -0
- package/dist/cdn/R6TDL23L.js +209 -0
- package/dist/cdn/RF5DZ4IV.js +191 -0
- package/dist/cdn/S4AW3T6V.js +224 -0
- package/dist/cdn/S565TLQY.js +196 -0
- package/dist/cdn/SMF5WZQN.js +209 -0
- package/dist/cdn/SON2ID5T.js +219 -0
- package/dist/cdn/SQV437VB.js +215 -0
- package/dist/cdn/T27VVYVB.js +157 -0
- package/dist/cdn/TAAITYOS.js +198 -0
- package/dist/cdn/TABYE4TB.js +217 -0
- package/dist/cdn/TB7WEW23.js +209 -0
- package/dist/cdn/TJ5UK25V.js +9 -0
- package/dist/cdn/TJ65PNGP.js +165 -0
- package/dist/cdn/TMANAKTG.js +591 -0
- package/dist/cdn/U4PUZ7GN.js +162 -0
- package/dist/cdn/U7SAWP3S.js +209 -0
- package/dist/cdn/UCCVQZDR.js +9 -0
- package/dist/cdn/UG7LOBJE.js +85 -0
- package/dist/cdn/UKOVO7VE.js +186 -0
- package/dist/cdn/ULFF36NB.js +178 -0
- package/dist/cdn/UNHONDOG.js +31 -0
- package/dist/cdn/UPIJ2RYA.js +219 -0
- package/dist/cdn/UTRIB3ZD.js +162 -0
- package/dist/cdn/V2OPADQU.js +696 -0
- package/dist/cdn/V3CSEWPF.js +487 -0
- package/dist/cdn/VAB3BCTX.js +133 -0
- package/dist/cdn/VE5YTXK3.js +226 -0
- package/dist/cdn/VGRQ5KGN.js +13 -0
- package/dist/cdn/VGRXIFGH.js +473 -0
- package/dist/cdn/VPNOON73.js +6242 -0
- package/dist/cdn/VQMZEOOE.js +711 -0
- package/dist/cdn/VTOYBMVV.js +230 -0
- package/dist/cdn/W2ZT3M5X.js +477 -0
- package/dist/cdn/WKARMQOX.js +416 -0
- package/dist/cdn/WSH74NNB.js +184 -0
- package/dist/cdn/X2UNNQPA.js +209 -0
- package/dist/cdn/X5VZ6AC5.js +209 -0
- package/dist/cdn/XFRW44O2.js +209 -0
- package/dist/cdn/XLDY6CTA.js +142 -0
- package/dist/cdn/XNEK46GJ.js +230 -0
- package/dist/cdn/XOBTD5MM.js +371 -0
- package/dist/cdn/XQXY7DRO.js +268 -0
- package/dist/cdn/XZG6TRNQ.js +163 -0
- package/dist/cdn/XZQIXM6A.js +157 -0
- package/dist/cdn/Y56PEINI.js +217 -0
- package/dist/cdn/Y5VXYUPT.js +217 -0
- package/dist/cdn/YEXVZE6D.js +173 -0
- package/dist/cdn/YIZBXVJZ.js +493 -0
- package/dist/cdn/YOQQ22ZG.js +209 -0
- package/dist/cdn/YYJQDF23.js +35 -0
- package/dist/cdn/Z7HL2BUP.js +283 -0
- package/dist/cdn/ZAGKTJNS.js +209 -0
- package/dist/cdn/ZBU6PQPJ.js +340 -0
- package/dist/cdn/ZEG4LDOE.js +198 -0
- package/dist/cdn/ZEPS5UGU.js +238 -0
- package/dist/cdn/ZLQXY2BV.js +35 -0
- package/dist/cdn/ZLRKGGOO.js +1414 -0
- package/dist/cdn/ZQY74JM4.js +135 -0
- package/dist/cdn/ZTNIHU2P.js +137 -0
- package/dist/cdn/assets/chart/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-action-bar/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-axes/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-axis/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-bar-chart-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-bar-chart-series-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-box-plot-data/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-box-plot-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-box-plot-series/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-box-plot-series-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-category-format/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-chart-rename-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-color-style/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-colors/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-create-flow/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-font-style/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-format/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-format-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-general/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-guide/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-guide-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-guides/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-guides-type-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-heat-chart-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-histogram-data/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-histogram-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-line-chart-data/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-line-chart-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-line-chart-series/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-line-chart-series-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-number-format/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-pie-chart-data/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-pie-chart-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-pie-chart-slices/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-pie-chart-slices-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-scatter-plot-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/styles/_common.scss +257 -0
- package/dist/cdn/assets/styles/_layout.scss +10 -0
- package/dist/cdn/assets/styles/resources.ts +7 -0
- package/dist/cdn/assets/styles/variables.scss +41 -0
- package/dist/cdn/index.js +256 -0
- package/dist/cdn/main.css +1 -0
- package/dist/chart-rendering/common/interfaces.d.ts +367 -0
- package/dist/chunks/action-bar-utils.js +206 -0
- package/dist/chunks/axis-lines-symbol.js +98 -0
- package/dist/chunks/axis-model-wrapper.js +37 -0
- package/dist/chunks/bar-chart-model.js +150 -0
- package/dist/chunks/bar-chart-series.js +41 -0
- package/dist/chunks/bg_BG.js +8 -0
- package/dist/chunks/bg_BG2.js +8 -0
- package/dist/chunks/box-plot-data.js +757 -0
- package/dist/chunks/box-plot-model.js +473 -0
- package/dist/chunks/chart-model.js +595 -0
- package/dist/chunks/chart-ui-utils.js +93 -0
- package/dist/chunks/chart-ui-utils2.js +232 -0
- package/dist/chunks/class-breaks.js +370 -0
- package/dist/chunks/combo-bar-line-chart-model.js +299 -0
- package/dist/chunks/common.js +106 -0
- package/dist/chunks/data-labels-symbol.js +42 -0
- package/dist/chunks/data.js +195 -0
- package/dist/chunks/default.js +16 -0
- package/dist/chunks/gauge-model.js +489 -0
- package/dist/chunks/generate-x-axis-title.js +98 -0
- package/dist/chunks/heat-chart-model.js +483 -0
- package/dist/chunks/histogram-data.js +196 -0
- package/dist/chunks/histogram-model.js +228 -0
- package/dist/chunks/index.js +23574 -0
- package/dist/chunks/index2.js +1099 -0
- package/dist/chunks/index3.js +279 -0
- package/dist/chunks/index4.js +98 -0
- package/dist/chunks/index5.js +76 -0
- package/dist/chunks/interfaces.js +123 -0
- package/dist/chunks/line-chart-model.js +134 -0
- package/dist/chunks/model-setter.js +162 -0
- package/dist/chunks/model-with-guides.js +330 -0
- package/dist/chunks/model-with-line-marker-styling.js +178 -0
- package/dist/chunks/model-with-tooltips.js +318 -0
- package/dist/chunks/model-with-x-guides.js +45 -0
- package/dist/chunks/model-with-y-guides.js +656 -0
- package/dist/chunks/negative-values-stacked-to-baseline.js +157 -0
- package/dist/chunks/pie-chart-data.js +473 -0
- package/dist/chunks/pie-chart-model.js +884 -0
- package/dist/chunks/popover-ui-utils.js +15 -0
- package/dist/chunks/radar-chart-model.js +157 -0
- package/dist/chunks/resource.js +14 -0
- package/dist/chunks/resources.js +13 -0
- package/dist/chunks/rest-js-object-literals.js +112 -0
- package/dist/chunks/rotated-state.js +54 -0
- package/dist/chunks/runtime.js +19 -0
- package/dist/chunks/scatterplot-model.js +350 -0
- package/dist/chunks/serial-chart-data.js +1446 -0
- package/dist/chunks/serial-chart-model.js +587 -0
- package/dist/chunks/series-length.js +81 -0
- package/dist/chunks/series-types.js +249 -0
- package/dist/chunks/series.js +36 -0
- package/dist/chunks/setup-utils.js +87 -0
- package/dist/chunks/sk_SK.js +8 -0
- package/dist/chunks/store.js +35 -0
- package/dist/chunks/type-guards.js +156 -0
- package/dist/chunks/useT9n.js +5 -0
- package/dist/chunks/utils.js +308 -0
- package/dist/chunks/utils2.js +85 -0
- package/dist/chunks/web-component-utils.js +634 -0
- package/dist/components/geoscene-chart/customElement.d.ts +1551 -0
- package/dist/components/geoscene-chart/customElement.js +27412 -0
- package/dist/components/geoscene-chart/index.d.ts +1 -0
- package/dist/components/geoscene-chart/index.js +3 -0
- package/dist/components/geoscene-charts-action-bar/customElement.d.ts +813 -0
- package/dist/components/geoscene-charts-action-bar/customElement.js +500 -0
- package/dist/components/geoscene-charts-action-bar/index.d.ts +1 -0
- package/dist/components/geoscene-charts-action-bar/index.js +7 -0
- package/dist/components/geoscene-charts-config-axes/customElement.js +72 -0
- package/dist/components/geoscene-charts-config-axes/index.js +2 -0
- package/dist/components/geoscene-charts-config-axis/customElement.js +382 -0
- package/dist/components/geoscene-charts-config-axis/index.js +9 -0
- package/dist/components/geoscene-charts-config-bar-chart/customElement.js +165 -0
- package/dist/components/geoscene-charts-config-bar-chart/index.js +7 -0
- package/dist/components/geoscene-charts-config-bar-chart-data/customElement.js +644 -0
- package/dist/components/geoscene-charts-config-bar-chart-data/index.js +12 -0
- package/dist/components/geoscene-charts-config-bar-chart-popover/customElement.js +454 -0
- package/dist/components/geoscene-charts-config-bar-chart-popover/index.js +13 -0
- package/dist/components/geoscene-charts-config-bar-chart-series/customElement.js +341 -0
- package/dist/components/geoscene-charts-config-bar-chart-series/index.js +7 -0
- package/dist/components/geoscene-charts-config-bar-chart-series-popover/customElement.js +125 -0
- package/dist/components/geoscene-charts-config-bar-chart-series-popover/index.js +6 -0
- package/dist/components/geoscene-charts-config-box-plot/customElement.js +160 -0
- package/dist/components/geoscene-charts-config-box-plot/index.js +7 -0
- package/dist/components/geoscene-charts-config-box-plot-data/customElement.js +456 -0
- package/dist/components/geoscene-charts-config-box-plot-data/index.js +10 -0
- package/dist/components/geoscene-charts-config-box-plot-popover/customElement.js +343 -0
- package/dist/components/geoscene-charts-config-box-plot-popover/index.js +8 -0
- package/dist/components/geoscene-charts-config-box-plot-series/customElement.js +394 -0
- package/dist/components/geoscene-charts-config-box-plot-series/index.js +7 -0
- package/dist/components/geoscene-charts-config-box-plot-series-popover/customElement.js +163 -0
- package/dist/components/geoscene-charts-config-box-plot-series-popover/index.js +7 -0
- package/dist/components/geoscene-charts-config-category-format/customElement.js +87 -0
- package/dist/components/geoscene-charts-config-category-format/index.js +3 -0
- package/dist/components/geoscene-charts-config-chart-rename-popover/customElement.js +143 -0
- package/dist/components/geoscene-charts-config-chart-rename-popover/index.js +7 -0
- package/dist/components/geoscene-charts-config-color-style/customElement.js +58 -0
- package/dist/components/geoscene-charts-config-color-style/index.js +3 -0
- package/dist/components/geoscene-charts-config-colors/customElement.js +73 -0
- package/dist/components/geoscene-charts-config-colors/index.js +3 -0
- package/dist/components/geoscene-charts-config-create-flow/customElement.js +929 -0
- package/dist/components/geoscene-charts-config-create-flow/index.js +15 -0
- package/dist/components/geoscene-charts-config-field-select/customElement.js +37 -0
- package/dist/components/geoscene-charts-config-field-select/index.js +2 -0
- package/dist/components/geoscene-charts-config-font-style/customElement.js +226 -0
- package/dist/components/geoscene-charts-config-font-style/index.js +9 -0
- package/dist/components/geoscene-charts-config-font-style/resource.d.ts +15 -0
- package/dist/components/geoscene-charts-config-format/customElement.js +485 -0
- package/dist/components/geoscene-charts-config-format/index.js +5 -0
- package/dist/components/geoscene-charts-config-format-popover/customElement.js +113 -0
- package/dist/components/geoscene-charts-config-format-popover/index.js +5 -0
- package/dist/components/geoscene-charts-config-general/customElement.js +328 -0
- package/dist/components/geoscene-charts-config-general/index.js +9 -0
- package/dist/components/geoscene-charts-config-guide/customElement.js +487 -0
- package/dist/components/geoscene-charts-config-guide/index.js +14 -0
- package/dist/components/geoscene-charts-config-guide/resource.d.ts +15 -0
- package/dist/components/geoscene-charts-config-guide-popover/customElement.js +111 -0
- package/dist/components/geoscene-charts-config-guide-popover/index.js +4 -0
- package/dist/components/geoscene-charts-config-guides/customElement.js +194 -0
- package/dist/components/geoscene-charts-config-guides/index.js +4 -0
- package/dist/components/geoscene-charts-config-guides-type-popover/customElement.js +100 -0
- package/dist/components/geoscene-charts-config-guides-type-popover/index.js +4 -0
- package/dist/components/geoscene-charts-config-heat-chart/customElement.js +114 -0
- package/dist/components/geoscene-charts-config-heat-chart/index.js +4 -0
- package/dist/components/geoscene-charts-config-heat-chart-data/customElement.js +701 -0
- package/dist/components/geoscene-charts-config-heat-chart-data/index.js +18 -0
- package/dist/components/geoscene-charts-config-heat-chart-popover/customElement.js +499 -0
- package/dist/components/geoscene-charts-config-heat-chart-popover/index.js +12 -0
- package/dist/components/geoscene-charts-config-histogram/customElement.js +137 -0
- package/dist/components/geoscene-charts-config-histogram/index.js +6 -0
- package/dist/components/geoscene-charts-config-histogram-data/customElement.js +612 -0
- package/dist/components/geoscene-charts-config-histogram-data/index.js +11 -0
- package/dist/components/geoscene-charts-config-histogram-popover/customElement.js +255 -0
- package/dist/components/geoscene-charts-config-histogram-popover/index.js +7 -0
- package/dist/components/geoscene-charts-config-invalid-input-message/customElement.js +31 -0
- package/dist/components/geoscene-charts-config-invalid-input-message/index.js +2 -0
- package/dist/components/geoscene-charts-config-line-chart/customElement.js +169 -0
- package/dist/components/geoscene-charts-config-line-chart/index.js +7 -0
- package/dist/components/geoscene-charts-config-line-chart-data/customElement.js +444 -0
- package/dist/components/geoscene-charts-config-line-chart-data/index.js +12 -0
- package/dist/components/geoscene-charts-config-line-chart-popover/customElement.js +357 -0
- package/dist/components/geoscene-charts-config-line-chart-popover/index.js +11 -0
- package/dist/components/geoscene-charts-config-line-chart-series/customElement.js +245 -0
- package/dist/components/geoscene-charts-config-line-chart-series/index.js +7 -0
- package/dist/components/geoscene-charts-config-line-chart-series-popover/customElement.js +216 -0
- package/dist/components/geoscene-charts-config-line-chart-series-popover/index.js +10 -0
- package/dist/components/geoscene-charts-config-line-style/customElement.js +159 -0
- package/dist/components/geoscene-charts-config-line-style/index.js +9 -0
- package/dist/components/geoscene-charts-config-number-format/customElement.js +102 -0
- package/dist/components/geoscene-charts-config-number-format/index.js +4 -0
- package/dist/components/geoscene-charts-config-pie-chart/customElement.js +164 -0
- package/dist/components/geoscene-charts-config-pie-chart/index.js +5 -0
- package/dist/components/geoscene-charts-config-pie-chart-data/customElement.js +258 -0
- package/dist/components/geoscene-charts-config-pie-chart-data/index.js +8 -0
- package/dist/components/geoscene-charts-config-pie-chart-popover/customElement.js +300 -0
- package/dist/components/geoscene-charts-config-pie-chart-popover/index.js +7 -0
- package/dist/components/geoscene-charts-config-pie-chart-slices/customElement.js +454 -0
- package/dist/components/geoscene-charts-config-pie-chart-slices/index.js +12 -0
- package/dist/components/geoscene-charts-config-pie-chart-slices-popover/customElement.js +126 -0
- package/dist/components/geoscene-charts-config-pie-chart-slices-popover/index.js +6 -0
- package/dist/components/geoscene-charts-config-scatter-plot/customElement.js +132 -0
- package/dist/components/geoscene-charts-config-scatter-plot/index.js +6 -0
- package/dist/components/geoscene-charts-config-scatter-plot-data/customElement.js +616 -0
- package/dist/components/geoscene-charts-config-scatter-plot-data/index.js +12 -0
- package/dist/components/geoscene-charts-config-scatter-plot-popover/customElement.js +198 -0
- package/dist/components/geoscene-charts-config-scatter-plot-popover/index.js +7 -0
- package/dist/components/geoscene-charts-config-select-chart-type-popover/customElement.js +148 -0
- package/dist/components/geoscene-charts-config-select-chart-type-popover/index.js +6 -0
- package/dist/components/geoscene-charts-config-view-charts/customElement.js +289 -0
- package/dist/components/geoscene-charts-config-view-charts/index.js +10 -0
- package/dist/components/geoscene-charts-info-modal/customElement.js +101 -0
- package/dist/components/geoscene-charts-info-modal/index.js +2 -0
- package/dist/docs/api.json +87068 -0
- package/dist/docs/docs.json +3082 -0
- package/dist/docs/vscode.css-custom-data.json +1 -0
- package/dist/docs/vscode.html-custom-data.json +519 -0
- package/dist/docs/web-types.json +1282 -0
- package/dist/index.d.ts +92 -0
- package/dist/index.js +812 -0
- package/dist/interfaces.d.ts +203 -0
- package/dist/json-schema/index.d.ts +8488 -0
- package/dist/loader.d.ts +2 -0
- package/dist/loader.js +332 -0
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +51 -0
- package/dist/model/box-plot-model/box-plot-model.d.ts +177 -0
- package/dist/model/chart-model/chart-model-base.d.ts +34 -0
- package/dist/model/chart-model/chart-model.d.ts +28 -0
- package/dist/model/chart-model/utils/types.d.ts +10 -0
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +189 -0
- package/dist/model/gauge-model/gauge-model.d.ts +103 -0
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +224 -0
- package/dist/model/histogram-model/histogram-model.d.ts +75 -0
- package/dist/model/index.d.ts +18 -0
- package/dist/model/interfaces/chart-interfaces.d.ts +21 -0
- package/dist/model/interfaces/common.d.ts +172 -0
- package/dist/model/line-chart-model/line-chart-model.d.ts +20 -0
- package/dist/model/mixins/model-with-guides.d.ts +140 -0
- package/dist/model/mixins/model-with-legend.d.ts +22 -0
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +139 -0
- package/dist/model/mixins/model-with-multi-axes.d.ts +307 -0
- package/dist/model/mixins/model-with-temporal-binning.d.ts +25 -0
- package/dist/model/mixins/model-with-tooltips.d.ts +36 -0
- package/dist/model/mixins/model-with-x-guides.d.ts +24 -0
- package/dist/model/mixins/model-with-y-guides.d.ts +24 -0
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +56 -0
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +199 -0
- package/dist/model/properties/axes/axis-labels-symbol.d.ts +8 -0
- package/dist/model/properties/axes/axis-lines-symbol.d.ts +8 -0
- package/dist/model/properties/axes/x-axis/generate-x-axis-title.d.ts +7 -0
- package/dist/model/properties/axes/x-axis/max-x-bound.d.ts +11 -0
- package/dist/model/properties/axes/x-axis/min-x-bound.d.ts +11 -0
- package/dist/model/properties/axes/x-axis/x-axis-labels-visibility.d.ts +7 -0
- package/dist/model/properties/axes/x-axis/x-axis-title-symbol.d.ts +8 -0
- package/dist/model/properties/axes/x-axis/x-axis-title-text.d.ts +7 -0
- package/dist/model/properties/axes/x-axis/x-axis-title-visibility.d.ts +11 -0
- package/dist/model/properties/axes/x-axis/x-bounds.d.ts +8 -0
- package/dist/model/properties/background-color.d.ts +8 -0
- package/dist/model/properties/chart-id.d.ts +7 -0
- package/dist/model/properties/chart-renderer.d.ts +52 -0
- package/dist/model/properties/chart-sub-type.d.ts +8 -0
- package/dist/model/properties/color-match.d.ts +12 -0
- package/dist/model/properties/config.d.ts +8 -0
- package/dist/model/properties/data-filters.d.ts +14 -0
- package/dist/model/properties/data-labels/data-labels-symbol.d.ts +8 -0
- package/dist/model/properties/data-labels/data-labels-visibility.d.ts +7 -0
- package/dist/model/properties/data-tooltip-value-format.d.ts +21 -0
- package/dist/model/properties/description/description-symbol.d.ts +8 -0
- package/dist/model/properties/description/description-text.d.ts +6 -0
- package/dist/model/properties/description/description-visibility.d.ts +11 -0
- package/dist/model/properties/fetch-null-values.d.ts +7 -0
- package/dist/model/properties/layer.d.ts +8 -0
- package/dist/model/properties/rotated-state.d.ts +7 -0
- package/dist/model/properties/series/negative-values-stacked-to-baseline.d.ts +22 -0
- package/dist/model/properties/series/series-id.d.ts +12 -0
- package/dist/model/properties/series/series-index.d.ts +12 -0
- package/dist/model/properties/series/series-length.d.ts +7 -0
- package/dist/model/properties/series/series-visibility.d.ts +18 -0
- package/dist/model/properties/split-by-values.d.ts +7 -0
- package/dist/model/properties/subtitle/subtitle-symbol.d.ts +8 -0
- package/dist/model/properties/subtitle/subtitle-text.d.ts +7 -0
- package/dist/model/properties/subtitle/subtitle-visibility.d.ts +11 -0
- package/dist/model/properties/title/title-symbol.d.ts +8 -0
- package/dist/model/properties/title/title-text.d.ts +7 -0
- package/dist/model/properties/title/title-visibility.d.ts +11 -0
- package/dist/model/properties/version.d.ts +7 -0
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +20 -0
- package/dist/model/scatterplot-model/scatterplot-model.d.ts +57 -0
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +145 -0
- package/dist/model/shared/setup-utils.d.ts +74 -0
- package/dist/model/shared/type-guards.d.ts +172 -0
- package/dist/model.js +77 -0
- package/dist/spec/chart-object-literals.d.ts +364 -0
- package/dist/spec/config-defaults.d.ts +11 -0
- package/dist/spec/data-source.d.ts +104 -0
- package/dist/spec/events.d.ts +34 -0
- package/dist/spec/index.d.ts +8 -0
- package/dist/spec/rest-js-object-literals.d.ts +132 -0
- package/dist/spec/rest-js-types.d.ts +1923 -0
- package/dist/spec/web-chart.d.ts +1539 -0
- package/dist/types/components.d.ts +2 -0
- package/dist/types/lumina.d.ts +187 -0
- package/dist/types/preact.d.ts +194 -0
- package/dist/types/react.d.ts +204 -0
- package/dist/types/stencil.d.ts +194 -0
- package/dist/utils/chart-config/converter/index.d.ts +21 -0
- package/dist/utils/chart-config/interfaces.d.ts +8 -0
- package/dist/utils/chart-config/utils/index.d.ts +520 -0
- package/dist/utils/chart-config/utils/interfaces.d.ts +8 -0
- package/dist/utils/chart-config/validator/index.d.ts +27 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +105 -0
- package/dist/utils/components/event-payloads.d.ts +82 -0
- package/dist/utils/components/interfaces.d.ts +14 -0
- package/dist/utils/cursor/interfaces.d.ts +17 -0
- package/dist/utils/data/categorical-data/index.d.ts +27 -0
- package/dist/utils/data/index.d.ts +149 -0
- package/dist/utils/data/interfaces.d.ts +75 -0
- package/dist/utils/data/time-binning/interfaces.d.ts +38 -0
- package/dist/utils/defaults/index.d.ts +638 -0
- package/dist/utils/defaults/interfaces.d.ts +81 -0
- package/dist/utils/errors/index.d.ts +17 -0
- package/dist/utils/errors/interfaces.d.ts +9 -0
- package/dist/utils/index.d.ts +33 -0
- package/dist/utils/layer/index.d.ts +313 -0
- package/dist/utils/layer/inline-conversion/index.d.ts +46 -0
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +21 -0
- package/dist/utils/layer/interfaces.d.ts +73 -0
- package/dist/utils/layer/query-features/index.d.ts +192 -0
- package/dist/utils/layer/query-features/interfaces.d.ts +10 -0
- package/dist/utils/layer/query-parser/index.d.ts +183 -0
- package/dist/utils/layer/utils/index.d.ts +202 -0
- package/dist/utils/localization/index.d.ts +87 -0
- package/dist/utils/localization/interfaces.d.ts +617 -0
- package/dist/utils/misc/index.d.ts +347 -0
- package/dist/utils/misc/interfaces.d.ts +116 -0
- package/dist/utils/type-guards/index.d.ts +229 -0
- package/dist/utils/type-guards/series-types.d.ts +38 -0
- package/dist/utils/types/index.d.ts +227 -0
- package/dist/utils/ui/chart-ui-utils.d.ts +34 -0
- package/dist/utils/ui/popover-ui-utils.d.ts +35 -0
- package/package.json +59 -0
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import type { ChartModel } from "../chart-model/chart-model.js";
|
|
2
|
+
import type { ModelParams } from "../interfaces/chart-interfaces.js";
|
|
3
|
+
import type { ModelTypes, PieChartDataSortingKinds, PieChartSlicesDisplay, PieChartDataModes } from "../interfaces/common.js";
|
|
4
|
+
import type { WithColorMatch } from "../properties/color-match.js";
|
|
5
|
+
import type { WithDataLabelsVisibility } from "../properties/data-labels/data-labels-visibility.js";
|
|
6
|
+
import type { WithDataLabelsSymbol } from "../properties/data-labels/data-labels-symbol.js";
|
|
7
|
+
import type { PieChartLegendModel } from "./pie-chart-legend-model.js";
|
|
8
|
+
import type { ChartConfig } from "../../utils/types/index.js";
|
|
9
|
+
import type { WebChartPieChartGroupSlice, WebChartPieChartSlice } from "../../spec/web-chart.js";
|
|
10
|
+
import type { WebChartStatisticType } from "../../spec/chart-object-literals.js";
|
|
11
|
+
import type { Color, ISimpleLineSymbol } from "../../spec/rest-js-types.js";
|
|
12
|
+
import type { ModelWithTooltips } from "../mixins/model-with-tooltips.js";
|
|
13
|
+
|
|
14
|
+
export class PieChartModel extends PieChartModelSuperclass {
|
|
15
|
+
/** Aggregation type for the pie chart. */
|
|
16
|
+
accessor aggregationType: WebChartStatisticType;
|
|
17
|
+
/** Align the data labels on the left or right side of the chart instead of the default position around the chart. */
|
|
18
|
+
accessor alignDataLabels: boolean | undefined;
|
|
19
|
+
/** Category field for the pie chart. */
|
|
20
|
+
accessor category: string;
|
|
21
|
+
/** Setting for placing the data labels inside of the slices. */
|
|
22
|
+
accessor dataLabelsInside: boolean | undefined;
|
|
23
|
+
/** Offset for the data labels. */
|
|
24
|
+
accessor dataLabelsOffset: number;
|
|
25
|
+
/** Number of decimal places to display in the slice values. */
|
|
26
|
+
accessor decimalPlaces: number;
|
|
27
|
+
/**
|
|
28
|
+
* Whether to display the category on the data label.
|
|
29
|
+
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
30
|
+
*/
|
|
31
|
+
accessor displayCategoryOnDataLabel: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Display category value on tooltip setting from the chart config.
|
|
34
|
+
*
|
|
35
|
+
* **Note**: If the setting is not found in the config, it will default to `true`.
|
|
36
|
+
*/
|
|
37
|
+
accessor displayCategoryValueOnTooltip: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Whether to display the numeric value on the data label.
|
|
40
|
+
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
41
|
+
*/
|
|
42
|
+
accessor displayNumericValueOnDataLabel: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Display numeric value on tooltip setting from the chart config.
|
|
45
|
+
*
|
|
46
|
+
* **Note**: If the setting is not found in the config, it will default to `true`.
|
|
47
|
+
*/
|
|
48
|
+
accessor displayNumericValueOnTooltip: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Whether to display the percentage on the data label.
|
|
51
|
+
*
|
|
52
|
+
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
53
|
+
*/
|
|
54
|
+
accessor displayPercentageOnDataLabel: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Display percentage on tooltip setting from the chart config.
|
|
57
|
+
*
|
|
58
|
+
* **Note**: If the setting is not found in the config, it will default to `true`.
|
|
59
|
+
*/
|
|
60
|
+
accessor displayPercentageOnTooltip: boolean;
|
|
61
|
+
/** Display type for the pie chart slices. Specifies whether to display the slices as a `percentage`, `value`, or `both`. */
|
|
62
|
+
accessor displayType: PieChartSlicesDisplay;
|
|
63
|
+
/** End angle of the pie chart. */
|
|
64
|
+
accessor endAngle: number | null | undefined;
|
|
65
|
+
/** Array of grouped slice ids for the pie chart. */
|
|
66
|
+
accessor groupedSliceIds: string[];
|
|
67
|
+
/** Threshold below which slices will be grouped. */
|
|
68
|
+
accessor groupingThreshold: number;
|
|
69
|
+
/** Inner radius size for the pie chart. */
|
|
70
|
+
accessor innerRadiusSize: number;
|
|
71
|
+
/** Character limit for the slice labels. */
|
|
72
|
+
accessor labelCharacterLimit: number | null;
|
|
73
|
+
/**
|
|
74
|
+
* The pie chart data mode.
|
|
75
|
+
*
|
|
76
|
+
* `category` - The chart is using values from the category field to determine each slice.
|
|
77
|
+
* `fields` - The chart is using aggregated values from the numeric fields to determine each slice.
|
|
78
|
+
*/
|
|
79
|
+
accessor mode: PieChartDataModes;
|
|
80
|
+
/** Numeric fields for the pie chart. */
|
|
81
|
+
get numericFields(): string[];
|
|
82
|
+
set numericFields(value: string[] | string);
|
|
83
|
+
/** Optimize data labels overlapping setting for the pie chart. */
|
|
84
|
+
accessor optimizeDataLabelsOverlapping: boolean | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* List of category's values for custom sort.
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* ```ts
|
|
90
|
+
* pieChartModel.orderByList = ["Field1", "Field2", "Field3"];
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
93
|
+
accessor orderByList: string[];
|
|
94
|
+
/** Order of the slice array by returning an array of slice ids */
|
|
95
|
+
accessor orderOfSlices: string[] | undefined;
|
|
96
|
+
/** Prefix of the percentages of the slices. */
|
|
97
|
+
accessor percentagePrefix: string | undefined;
|
|
98
|
+
/** Suffix of the percentages of the slices. */
|
|
99
|
+
accessor percentageSuffix: string | undefined;
|
|
100
|
+
/** Slice grouping configuration for the pie chart. */
|
|
101
|
+
accessor sliceGrouping: WebChartPieChartGroupSlice | undefined;
|
|
102
|
+
/** Array of slices for the pie chart. */
|
|
103
|
+
accessor slices: WebChartPieChartSlice[] | undefined;
|
|
104
|
+
/** Start angle of the pie chart. */
|
|
105
|
+
accessor startAngle: number | null | undefined;
|
|
106
|
+
/** Ticks symbol connecting slices to labels. */
|
|
107
|
+
accessor ticksSymbol: ISimpleLineSymbol | undefined;
|
|
108
|
+
/** Visibility of the ticks. */
|
|
109
|
+
accessor ticksVisibility: boolean;
|
|
110
|
+
/** Prefix of the values of the slices. */
|
|
111
|
+
accessor valuePrefix: string | undefined;
|
|
112
|
+
/** Suffix of the values of the slice. */
|
|
113
|
+
accessor valueSuffix: string | undefined;
|
|
114
|
+
/** Generate the proper chart title given the current config. */
|
|
115
|
+
generateChartTitle(): string;
|
|
116
|
+
/** Gets the list of the category values for the chart. */
|
|
117
|
+
getCustomSortValues(): Promise<string[]>;
|
|
118
|
+
/**
|
|
119
|
+
* Gets the original name of the slice based on the slice index.
|
|
120
|
+
*
|
|
121
|
+
* @param sliceIndex - The index of the slice.
|
|
122
|
+
*/
|
|
123
|
+
getOriginalSliceName(sliceIndex: number): Date | number | string | null | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* Gets the color of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
|
|
126
|
+
*
|
|
127
|
+
* @param sliceIndex - The index of the slice.
|
|
128
|
+
*/
|
|
129
|
+
getSliceColor(sliceIndex: number): Color | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* Gets the slice id for a given slice index. If the index is out of bounds, this function will return `undefined`.
|
|
132
|
+
*
|
|
133
|
+
* @param sliceIndex - The index of the slice.
|
|
134
|
+
*/
|
|
135
|
+
getSliceId(sliceIndex: number): string | undefined;
|
|
136
|
+
/**
|
|
137
|
+
* Gets the slice index for a given slice id. If the `sliceId` is not found, this function will return `undefined`.
|
|
138
|
+
*
|
|
139
|
+
* @param sliceId - The id of the slice.
|
|
140
|
+
*/
|
|
141
|
+
getSliceIndex(sliceId: string): number | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* Gets the name of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
|
|
144
|
+
*
|
|
145
|
+
* @param sliceIndex - The index of the slice.
|
|
146
|
+
*/
|
|
147
|
+
getSliceName(sliceIndex: number): string | undefined;
|
|
148
|
+
/** Gets the length of the slices array. */
|
|
149
|
+
getSlicesLength(): number;
|
|
150
|
+
/** Gets the sort order for the pie chart. */
|
|
151
|
+
getSortOrder(): PieChartDataSortingKinds;
|
|
152
|
+
/**
|
|
153
|
+
* Moves the custom sort values in-place for the order by list in the config.
|
|
154
|
+
* **Note:** This method should be only used when the sort order is set to `customSort`.
|
|
155
|
+
*
|
|
156
|
+
* @param fromIndex - The index to move the custom sort item from.
|
|
157
|
+
* @param toIndex - The index to move the category item to.
|
|
158
|
+
*/
|
|
159
|
+
moveCustomSortValuesInOrderByList(fromIndex: number, toIndex: number): void;
|
|
160
|
+
/**
|
|
161
|
+
* Moves a series from one index in the series array to another.
|
|
162
|
+
*
|
|
163
|
+
* @param fromIndex - Index to move the series from.
|
|
164
|
+
* @param toIndex - Index to move the series to.
|
|
165
|
+
*/
|
|
166
|
+
moveSeries(fromIndex: number, toIndex: number): void;
|
|
167
|
+
/** Returns whether the series styling is able to be reset. */
|
|
168
|
+
resetAvailable(): boolean;
|
|
169
|
+
/** Resets the slices styling to the default styling. */
|
|
170
|
+
resetSlices(): void;
|
|
171
|
+
/**
|
|
172
|
+
* Sets the color of the slice based on the slice index.
|
|
173
|
+
*
|
|
174
|
+
* @param color - The color for the slice.
|
|
175
|
+
* @param sliceIndex - The index of the slice.
|
|
176
|
+
*/
|
|
177
|
+
setSliceColor(color: Color | undefined, sliceIndex: number): void;
|
|
178
|
+
/**
|
|
179
|
+
* Sets name of the slice based on the slice index.
|
|
180
|
+
*
|
|
181
|
+
* @param name - The name for the slice.
|
|
182
|
+
* @param sliceIndex - The index of the slice.
|
|
183
|
+
*/
|
|
184
|
+
setSliceName(name: string, sliceIndex: number): void;
|
|
185
|
+
/**
|
|
186
|
+
* Sets the sort order for the pie chart.
|
|
187
|
+
*
|
|
188
|
+
* @param sortOrder - The sort order.
|
|
189
|
+
* @param orderByList - The list of category values.
|
|
190
|
+
*/
|
|
191
|
+
setSortOrder(sortOrder: PieChartDataSortingKinds, orderByList?: string[]): void;
|
|
192
|
+
/**
|
|
193
|
+
* Completes the async setup process for the chart model. Must be called before using the model.
|
|
194
|
+
*
|
|
195
|
+
* @param params
|
|
196
|
+
*/
|
|
197
|
+
setup(params: ModelParams<ChartConfig<typeof ModelTypes.PieChart>>): Promise<void>;
|
|
198
|
+
}
|
|
199
|
+
declare const PieChartModelSuperclass: typeof ChartModel & typeof WithDataLabelsSymbol & typeof WithDataLabelsVisibility & typeof WithColorMatch & typeof ModelWithTooltips & typeof PieChartLegendModel
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../../chart-model/chart-model-base.js";
|
|
2
|
+
import type { WebChartTextSymbol } from "../../../spec/web-chart.js";
|
|
3
|
+
|
|
4
|
+
/** Adds support for configuring the axis labels symbol. */
|
|
5
|
+
export abstract class WithAxisLabelsSymbol extends ChartModelBase {
|
|
6
|
+
/** Axis labels text symbol (font, color, style). */
|
|
7
|
+
accessor axisLabelsSymbol: WebChartTextSymbol | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../../chart-model/chart-model-base.js";
|
|
2
|
+
import type { ISimpleLineSymbol } from "../../../spec/rest-js-types.js";
|
|
3
|
+
|
|
4
|
+
/** Adds support for configuring the axis lines symbol. */
|
|
5
|
+
export abstract class WithAxisLinesSymbol extends ChartModelBase {
|
|
6
|
+
/** Axis lines symbol (line width, style, color). */
|
|
7
|
+
accessor axisLinesSymbol: ISimpleLineSymbol | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../../../chart-model/chart-model-base.js";
|
|
2
|
+
|
|
3
|
+
/** Adds support for computing an x-axis title based on chart type. */
|
|
4
|
+
export abstract class WithGenerateXAxisTitle extends ChartModelBase {
|
|
5
|
+
/** Generate the proper x-axis title from the current config. */
|
|
6
|
+
generateXAxisTitle(): string;
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../../../chart-model/chart-model-base.js";
|
|
2
|
+
|
|
3
|
+
/** Adds support for configuring the maximum x-axis bound. */
|
|
4
|
+
export abstract class WithMaxXBound extends ChartModelBase {
|
|
5
|
+
/**
|
|
6
|
+
* Maximum bound set for the x-axis.
|
|
7
|
+
*
|
|
8
|
+
* `null` indicates no explicit maximum.
|
|
9
|
+
*/
|
|
10
|
+
accessor maxXBound: number | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../../../chart-model/chart-model-base.js";
|
|
2
|
+
|
|
3
|
+
/** Adds support for configuring the minimum x-axis bound. */
|
|
4
|
+
export abstract class WithMinXBound extends ChartModelBase {
|
|
5
|
+
/**
|
|
6
|
+
* Minimum bound set for the x-axis.
|
|
7
|
+
*
|
|
8
|
+
* `null` indicates no explicit minimum.
|
|
9
|
+
*/
|
|
10
|
+
accessor minXBound: number | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../../../chart-model/chart-model-base.js";
|
|
2
|
+
|
|
3
|
+
/** Adds support for configuring the x-axis labels visibility. */
|
|
4
|
+
export abstract class WithXAxisLabelsVisibility extends ChartModelBase {
|
|
5
|
+
/** Whether the x-axis labels are visible. */
|
|
6
|
+
accessor xAxisLabelsVisibility: boolean;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { WebChartTextSymbol } from "../../../../spec/web-chart.js";
|
|
2
|
+
import type { ChartModelBase } from "../../../chart-model/chart-model-base.js";
|
|
3
|
+
|
|
4
|
+
/** Adds support for configuring the x-axis title symbol. */
|
|
5
|
+
export abstract class WithXAxisTitleSymbol extends ChartModelBase {
|
|
6
|
+
/** X-axis title text symbol (font, color, style). */
|
|
7
|
+
accessor xAxisTitleSymbol: WebChartTextSymbol | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../../../chart-model/chart-model-base.js";
|
|
2
|
+
|
|
3
|
+
/** Adds support for configuring the x-axis title text. */
|
|
4
|
+
export abstract class WithXAxisTitleText extends ChartModelBase {
|
|
5
|
+
/** The x-axis title text. */
|
|
6
|
+
accessor xAxisTitleText: string;
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../../../chart-model/chart-model-base.js";
|
|
2
|
+
|
|
3
|
+
/** Adds support for toggling the x-axis title visibility. */
|
|
4
|
+
export abstract class WithXAxisTitleVisibility extends ChartModelBase {
|
|
5
|
+
/**
|
|
6
|
+
* Whether the x-axis title is visible.
|
|
7
|
+
* `true`: X-axis title is visible.
|
|
8
|
+
* `false`: X-axis title is hidden.
|
|
9
|
+
*/
|
|
10
|
+
accessor xAxisTitleVisibility: boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../../../chart-model/chart-model-base.js";
|
|
2
|
+
import type { WithMaxXBound } from "./max-x-bound.js";
|
|
3
|
+
import type { WithMinXBound } from "./min-x-bound.js";
|
|
4
|
+
|
|
5
|
+
/** Adds support for configuring both minimum and maximum x-axis bounds. */
|
|
6
|
+
export abstract class WithXBounds extends ChartModelBase {}
|
|
7
|
+
|
|
8
|
+
export interface WithXBounds extends WithMaxXBound, WithMinXBound {}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Color } from "../../spec/rest-js-types.js";
|
|
2
|
+
import type { ChartModelBase } from "../chart-model/chart-model-base.js";
|
|
3
|
+
|
|
4
|
+
/** Adds support for working with the chart background color. */
|
|
5
|
+
export abstract class WithBackgroundColor extends ChartModelBase {
|
|
6
|
+
/** The background color of the chart. */
|
|
7
|
+
accessor backgroundColor: Color | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { IDrawingInfo } from "../../spec/rest-js-types.js";
|
|
2
|
+
import type { ChartModelBase } from "../chart-model/chart-model-base.js";
|
|
3
|
+
|
|
4
|
+
/** Adds support for working with chart renderer. */
|
|
5
|
+
export abstract class WithChartRenderer extends ChartModelBase {
|
|
6
|
+
/**
|
|
7
|
+
* The chart renderer.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* In this example, we set the chartRenderer for a class-break heat chart.
|
|
11
|
+
* ```ts
|
|
12
|
+
* heatChartModel.chartRenderer = {
|
|
13
|
+
* "type": "classBreaks",
|
|
14
|
+
* "field": "geoscene_charts_heat_chart_value",
|
|
15
|
+
* "classBreakInfos": [
|
|
16
|
+
* {
|
|
17
|
+
* "label": "70 - 145",
|
|
18
|
+
* "classMinValue": 70,
|
|
19
|
+
* "classMaxValue": 145,
|
|
20
|
+
* "symbol": {
|
|
21
|
+
* "type": "esriSFS",
|
|
22
|
+
* "color": [
|
|
23
|
+
* 212,
|
|
24
|
+
* 227,
|
|
25
|
+
* 255,
|
|
26
|
+
* 255
|
|
27
|
+
* ],
|
|
28
|
+
* "style": "esriSFSSolid"
|
|
29
|
+
* }
|
|
30
|
+
* },
|
|
31
|
+
* {
|
|
32
|
+
* "label": "146 - 250",
|
|
33
|
+
* "classMinValue": 146,
|
|
34
|
+
* "classMaxValue": 250,
|
|
35
|
+
* "symbol": {
|
|
36
|
+
* "type": "esriSFS",
|
|
37
|
+
* "color": [
|
|
38
|
+
* 43,
|
|
39
|
+
* 108,
|
|
40
|
+
* 240,
|
|
41
|
+
* 255
|
|
42
|
+
* ],
|
|
43
|
+
* "style": "esriSFSSolid"
|
|
44
|
+
* }
|
|
45
|
+
* }
|
|
46
|
+
* ]
|
|
47
|
+
* };
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
get chartRenderer(): IDrawingInfo["renderer"] | undefined;
|
|
51
|
+
set chartRenderer(value: IDrawingInfo["renderer"]);
|
|
52
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ChartSubType } from "../../utils/misc/interfaces.js";
|
|
2
|
+
import type { ChartModelBase } from "../chart-model/chart-model-base.js";
|
|
3
|
+
|
|
4
|
+
/** Adds support for reading the chart sub type. */
|
|
5
|
+
export abstract class WithChartSubType extends ChartModelBase {
|
|
6
|
+
/** The chart sub type of the series. */
|
|
7
|
+
get chartSubType(): ChartSubType;
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../chart-model/chart-model-base.js";
|
|
2
|
+
|
|
3
|
+
/** Adds support for matching colors between the chart and its data source. */
|
|
4
|
+
export abstract class WithColorMatch extends ChartModelBase {
|
|
5
|
+
/**
|
|
6
|
+
* Whether the chart should attempt to match the data source's colors.
|
|
7
|
+
*
|
|
8
|
+
* `true`: Attempt to match the data source's colors.
|
|
9
|
+
* `false`: Use the colors defined in the config.
|
|
10
|
+
*/
|
|
11
|
+
accessor colorMatch: boolean;
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../chart-model/chart-model-base.js";
|
|
2
|
+
import type { ChartConfig } from "../../utils/types/index.js";
|
|
3
|
+
|
|
4
|
+
/** Adds getter/setter support for the chart configuration object. */
|
|
5
|
+
export abstract class WithConfig extends ChartModelBase {
|
|
6
|
+
/** The current chart configuration object. */
|
|
7
|
+
accessor config: ChartConfig;
|
|
8
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { WebChartDataFilters } from "../../spec/web-chart.js";
|
|
2
|
+
import type { ChartModelBase } from "../chart-model/chart-model-base.js";
|
|
3
|
+
|
|
4
|
+
/** Adds support for working with chart data filters. */
|
|
5
|
+
export abstract class WithDataFilters extends ChartModelBase {
|
|
6
|
+
/** Gets the data filter for the bar chart. */
|
|
7
|
+
getDataFilters(): WebChartDataFilters | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Sets the data filter for the chart.
|
|
10
|
+
*
|
|
11
|
+
* @param newDataFilters - The new data filter.
|
|
12
|
+
*/
|
|
13
|
+
setDataFilters(newDataFilters: WebChartDataFilters | undefined): Promise<void>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../../chart-model/chart-model-base.js";
|
|
2
|
+
import type { WebChartTextSymbol } from "../../../spec/web-chart.js";
|
|
3
|
+
|
|
4
|
+
/** Adds support for working with the data labels symbol. */
|
|
5
|
+
export abstract class WithDataLabelsSymbol extends ChartModelBase {
|
|
6
|
+
/** Data labels text symbol (font, color, style). */
|
|
7
|
+
accessor dataLabelsSymbol: WebChartTextSymbol | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../../chart-model/chart-model-base.js";
|
|
2
|
+
|
|
3
|
+
/** Adds support for working with the data labels visibility. */
|
|
4
|
+
export abstract class WithDataLabelsVisibility extends ChartModelBase {
|
|
5
|
+
/** Whether data labels are visible. */
|
|
6
|
+
accessor dataLabelsVisibility: boolean;
|
|
7
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { NumberFormatOptions } from "../../spec/web-chart.js";
|
|
2
|
+
import type { ChartModelBase } from "../chart-model/chart-model-base.js";
|
|
3
|
+
|
|
4
|
+
/** Adds support for working with data tooltip value formats. */
|
|
5
|
+
export abstract class WithSeriesDataTooltipValueFormat extends ChartModelBase {
|
|
6
|
+
/**
|
|
7
|
+
* Gets the data tooltip value format for a series.
|
|
8
|
+
*
|
|
9
|
+
* If the series index is out of bounds or the series list is empty, this function will return `undefined`.
|
|
10
|
+
*
|
|
11
|
+
* @param seriesIndex - The index of the series to retrieve the value format for.
|
|
12
|
+
*/
|
|
13
|
+
getDataTooltipValueFormat(seriesIndex: number): NumberFormatOptions | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Sets the data tooltip value format for a series.
|
|
16
|
+
*
|
|
17
|
+
* @param seriesIndex - The index of the series to set the value format for.
|
|
18
|
+
* @param valueFormat - The value format to set.
|
|
19
|
+
*/
|
|
20
|
+
setDataTooltipValueFormat(seriesIndex: number, valueFormat: NumberFormatOptions | undefined): void;
|
|
21
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { WebChartTextSymbol } from "../../../spec/web-chart.js";
|
|
2
|
+
import type { ChartModelBase } from "../../chart-model/chart-model-base.js";
|
|
3
|
+
|
|
4
|
+
/** Adds support for working with chart description symbols. */
|
|
5
|
+
export abstract class WithDescriptionSymbol extends ChartModelBase {
|
|
6
|
+
/** The description text symbol. Contains styling information such as font, color, and symbol style. */
|
|
7
|
+
accessor descriptionSymbol: WebChartTextSymbol | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../../chart-model/chart-model-base.js";
|
|
2
|
+
|
|
3
|
+
/** Adds support for working with chart description visibility. */
|
|
4
|
+
export abstract class WithDescriptionVisibility extends ChartModelBase {
|
|
5
|
+
/**
|
|
6
|
+
* Whether or not the chart description is visible.
|
|
7
|
+
*
|
|
8
|
+
* **Note:** Even if the description is visible, it may not be displayed if the description text is empty.
|
|
9
|
+
*/
|
|
10
|
+
accessor descriptionVisibility: boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../chart-model/chart-model-base.js";
|
|
2
|
+
|
|
3
|
+
/** Adds support for working with the fetch NULL values flag. */
|
|
4
|
+
export abstract class WithFetchNULLValues extends ChartModelBase {
|
|
5
|
+
/** Whether to fetch `null` values for them to be counted or displayed as categories on the chart. */
|
|
6
|
+
accessor fetchNULLValues: boolean;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { SupportedLayer } from "../../interfaces.js";
|
|
2
|
+
import type { ChartModelBase } from "../chart-model/chart-model-base.js";
|
|
3
|
+
|
|
4
|
+
/** Adds getter support for the associated layer reference. */
|
|
5
|
+
export abstract class WithLayer extends ChartModelBase {
|
|
6
|
+
/** The chart model's layer. */
|
|
7
|
+
get layer(): SupportedLayer | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../chart-model/chart-model-base.js";
|
|
2
|
+
|
|
3
|
+
/** Adds support for working with the chart rotated state. */
|
|
4
|
+
export abstract class WithRotatedState extends ChartModelBase {
|
|
5
|
+
/** Whether the chart is rotated. */
|
|
6
|
+
accessor rotatedState: boolean;
|
|
7
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../../chart-model/chart-model-base.js";
|
|
2
|
+
|
|
3
|
+
/** Adds support for configuring whether negative values stack against the baseline. */
|
|
4
|
+
export abstract class WithNegativeValuesStackedToBaseline extends ChartModelBase {
|
|
5
|
+
/**
|
|
6
|
+
* Specify how negative values are treated in stacked series.
|
|
7
|
+
*
|
|
8
|
+
* **Note:** If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.
|
|
9
|
+
*
|
|
10
|
+
* @param seriesIndex - The index of the series.
|
|
11
|
+
*/
|
|
12
|
+
isNegativeValuesStackedToBaseline(seriesIndex: number): boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Specify how negative values are treated in stacked series.
|
|
15
|
+
*
|
|
16
|
+
* **Note:** If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.
|
|
17
|
+
*
|
|
18
|
+
* @param stackNegativeValuesToBaseline - `true` if negative values should be stacked on the base line, `false` otherwise.
|
|
19
|
+
* @param seriesIndex - The index of the series.
|
|
20
|
+
*/
|
|
21
|
+
setNegativeValuesStackedToBaseline(stackNegativeValuesToBaseline: boolean, seriesIndex: number): void;
|
|
22
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../../chart-model/chart-model-base.js";
|
|
2
|
+
|
|
3
|
+
/** Adds support for retrieving a series ID. */
|
|
4
|
+
export abstract class WithSeriesId extends ChartModelBase {
|
|
5
|
+
/**
|
|
6
|
+
* Gets the series ID for a given series index.
|
|
7
|
+
* If the series index is out of bounds, this function will return `undefined`.
|
|
8
|
+
*
|
|
9
|
+
* @param seriesIndex - The index of the series.
|
|
10
|
+
*/
|
|
11
|
+
getSeriesId(seriesIndex: number): string | undefined;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../../chart-model/chart-model-base.js";
|
|
2
|
+
|
|
3
|
+
/** Adds support for retrieving a series index. */
|
|
4
|
+
export abstract class WithSeriesIndex extends ChartModelBase {
|
|
5
|
+
/**
|
|
6
|
+
* Gets the series index for a given series ID.
|
|
7
|
+
* If the series ID is not found, this function will return `undefined`.
|
|
8
|
+
*
|
|
9
|
+
* @param seriesId - The ID of the series.
|
|
10
|
+
*/
|
|
11
|
+
getSeriesIndex(seriesId: string): number | undefined;
|
|
12
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../../chart-model/chart-model-base.js";
|
|
2
|
+
|
|
3
|
+
/** Adds support for reading the series length. */
|
|
4
|
+
export abstract class WithSeriesLength extends ChartModelBase {
|
|
5
|
+
/** The length of the series array. */
|
|
6
|
+
get seriesLength(): number;
|
|
7
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { LegendItemVisibility } from "../../../spec/events.js";
|
|
2
|
+
import type { ChartModelBase } from "../../chart-model/chart-model-base.js";
|
|
3
|
+
|
|
4
|
+
/** Adds support for working with series visibility. */
|
|
5
|
+
export abstract class WithSeriesVisibility extends ChartModelBase {
|
|
6
|
+
/**
|
|
7
|
+
* Gets the visibility of a series.
|
|
8
|
+
*
|
|
9
|
+
* @param seriesIndex - The series index
|
|
10
|
+
*/
|
|
11
|
+
getSeriesVisibility(seriesIndex: number): boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Sets the visibility of a series.
|
|
14
|
+
*
|
|
15
|
+
* @param props - Visibility options for the series.
|
|
16
|
+
*/
|
|
17
|
+
setSeriesVisibility(props: LegendItemVisibility): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../chart-model/chart-model-base.js";
|
|
2
|
+
|
|
3
|
+
/** Adds support for retrieving split-by values. */
|
|
4
|
+
export abstract class WithSplitByValues extends ChartModelBase {
|
|
5
|
+
/** The split-by values for the chart. */
|
|
6
|
+
get splitByValues(): string[];
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { WebChartTextSymbol } from "../../../spec/web-chart.js";
|
|
2
|
+
import type { ChartModelBase } from "../../chart-model/chart-model-base.js";
|
|
3
|
+
|
|
4
|
+
/** Adds support for working with chart subtitle symbols. */
|
|
5
|
+
export abstract class WithSubtitleSymbol extends ChartModelBase {
|
|
6
|
+
/** The subtitle text symbol. Contains styling information such as font, color, and symbol style. */
|
|
7
|
+
accessor subtitleSymbol: WebChartTextSymbol | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../../chart-model/chart-model-base.js";
|
|
2
|
+
|
|
3
|
+
/** Adds support for working with chart subtitle text. */
|
|
4
|
+
export abstract class WithSubtitleText extends ChartModelBase {
|
|
5
|
+
/** The chart subtitle text. */
|
|
6
|
+
accessor subtitleText: string;
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../../chart-model/chart-model-base.js";
|
|
2
|
+
|
|
3
|
+
/** Adds support for working with chart subtitle visibility. */
|
|
4
|
+
export abstract class WithChartSubtitleVisibility extends ChartModelBase {
|
|
5
|
+
/**
|
|
6
|
+
* Whether or not the chart subtitle is visible.
|
|
7
|
+
*
|
|
8
|
+
* **Note:** Even if the subtitle is visible, it may not be displayed if the subtitle text is empty.
|
|
9
|
+
*/
|
|
10
|
+
accessor chartSubtitleVisibility: boolean;
|
|
11
|
+
}
|