@arcgis/charts-components 5.0.0-next.114 → 5.0.0-next.116
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/dist/cdn/2AT47FOV.js +4 -0
- package/dist/cdn/{RQT2MN42.js → 2FBA5PUG.js} +2 -2
- package/dist/cdn/{GMQUAAO2.js → 2GMN5SDI.js} +2 -2
- package/dist/cdn/{6W4YRK74.js → 2QS5TJQ5.js} +2 -2
- package/dist/cdn/{3QGTKNQ6.js → 2UFPDUIM.js} +2 -2
- package/dist/cdn/{53VJWULL.js → 2VJZAFQ5.js} +2 -2
- package/dist/cdn/{3MUVNXGI.js → 2VTJEBKD.js} +2 -2
- package/dist/cdn/32Z3ILDE.js +4 -0
- package/dist/cdn/332VMES2.js +4 -0
- package/dist/cdn/3EIELKWA.js +4 -0
- package/dist/cdn/{TGB5KU2R.js → 3G326OQZ.js} +2 -2
- package/dist/cdn/{5DJXTCA4.js → 3KMT633V.js} +2 -2
- package/dist/cdn/{WQYWISKC.js → 3QIAN4NS.js} +2 -2
- package/dist/cdn/{AM5VHYYJ.js → 3QQW7LHD.js} +2 -2
- package/dist/cdn/3RFGO2LD.js +4 -0
- package/dist/cdn/{CDBECKFD.js → 3RLZ3DW3.js} +2 -2
- package/dist/cdn/{GXJBV5UC.js → 45QWWJD3.js} +2 -2
- package/dist/cdn/{I4ZMBVX7.js → 4J4KBZY3.js} +2 -2
- package/dist/cdn/{7HCPPTUF.js → 4LBJNKKZ.js} +2 -2
- package/dist/cdn/{CU6T4VVL.js → 4OGHM3VZ.js} +2 -2
- package/dist/cdn/{N3QUHG2D.js → 4QFEW5TW.js} +2 -2
- package/dist/cdn/{7TK3JICU.js → 4RMNH5HJ.js} +2 -2
- package/dist/cdn/{Q5YT7SCP.js → 55MXXTNW.js} +2 -2
- package/dist/cdn/{YBWCF4IP.js → 57E24OM4.js} +2 -2
- package/dist/cdn/{R36SCSY2.js → 5DW2ZJAO.js} +2 -2
- package/dist/cdn/{WMPSIJNV.js → 5EWHPJJ5.js} +2 -2
- package/dist/cdn/{NVUJTAXL.js → 5I5JN5D4.js} +2 -2
- package/dist/cdn/65N2W4PE.js +34 -0
- package/dist/cdn/{HGCY5B3V.js → 6EJUU3SQ.js} +2 -2
- package/dist/cdn/6TJC4ARR.js +4 -0
- package/dist/cdn/{QYN5OFQK.js → 6VN7W4Z2.js} +1 -1
- package/dist/cdn/6YNW5VCL.js +4 -0
- package/dist/cdn/7AUAR63V.js +4 -0
- package/dist/cdn/{4SMSSHLX.js → 7GUP5FX5.js} +2 -2
- package/dist/cdn/{3MM3XJPI.js → 7KNKL7YD.js} +2 -2
- package/dist/cdn/{2GULATCF.js → 7LIDKM3N.js} +2 -2
- package/dist/cdn/{P3EOBFDT.js → A4QJGZYT.js} +2 -2
- package/dist/cdn/A4ZWPSMP.js +4 -0
- package/dist/cdn/{55RWZ5NT.js → AHMMJX3X.js} +2 -2
- package/dist/cdn/APSLVZEW.js +4 -0
- package/dist/cdn/{DEFPCI6M.js → AQQXXPQZ.js} +2 -2
- package/dist/cdn/AUWJJX2Y.js +4 -0
- package/dist/cdn/{CW423CUZ.js → AXHOHEHC.js} +1 -1
- package/dist/cdn/{LT2ATX5N.js → BP5JW4TO.js} +2 -2
- package/dist/cdn/{R5Y7ZMDF.js → BQF3ODZK.js} +2 -2
- package/dist/cdn/{U7XLUM43.js → BWHBVBRT.js} +2 -2
- package/dist/cdn/C47CFB4O.js +4 -0
- package/dist/cdn/{T467NUGF.js → CBVYZRGJ.js} +2 -2
- package/dist/cdn/{DH7D2MGT.js → CCFDRTZG.js} +29 -29
- package/dist/cdn/CGR4BWQJ.js +4 -0
- package/dist/cdn/CGXE3LSR.js +4 -0
- package/dist/cdn/{52233W4X.js → CVA2R34Y.js} +2 -2
- package/dist/cdn/CXA7LQDC.js +6 -0
- package/dist/cdn/{YYEUYKQA.js → CZSHY7VL.js} +2 -2
- package/dist/cdn/{JC4ID4OZ.js → D2TJTRO3.js} +2 -2
- package/dist/cdn/{LFAVERZK.js → D6FUQNYT.js} +2 -2
- package/dist/cdn/DEBFITLZ.js +4 -0
- package/dist/cdn/{EHONVPL7.js → DPP5JBQ6.js} +1 -1
- package/dist/cdn/DSBEXXSM.js +4 -0
- package/dist/cdn/{NXA7ZUX6.js → E3YRBMHV.js} +2 -2
- package/dist/cdn/{C46PS4TX.js → EAS3QCTO.js} +2 -2
- package/dist/cdn/{TSFTZUSI.js → F23KF5EO.js} +2 -2
- package/dist/cdn/{3BF4AQED.js → F5R34OKI.js} +2 -2
- package/dist/cdn/{IIIH67B3.js → F6MBWAXU.js} +2 -2
- package/dist/cdn/{3PO4B2K3.js → FV6A53GU.js} +2 -2
- package/dist/cdn/FVRR32JS.js +4 -0
- package/dist/cdn/{2HA2PZQ6.js → G365JBMZ.js} +1 -1
- package/dist/cdn/{WCY2L442.js → GEUAPKKO.js} +2 -2
- package/dist/cdn/GFEH2RHW.js +4 -0
- package/dist/cdn/GFZKNEVQ.js +4 -0
- package/dist/cdn/GVJLDDWJ.js +4 -0
- package/dist/cdn/GWUK3GRV.js +4 -0
- package/dist/cdn/{EF7JCBMS.js → GZLY6HQP.js} +1 -1
- package/dist/cdn/{WYBZLFF7.js → H2AO665N.js} +2 -2
- package/dist/cdn/{3LQWIMRQ.js → HD2ZXNGB.js} +2 -2
- package/dist/cdn/{H7GIIEPS.js → HMSCED6P.js} +2 -2
- package/dist/cdn/HOCGYEJY.js +4 -0
- package/dist/cdn/HT6LU5EY.js +4 -0
- package/dist/cdn/I7HHGT5I.js +4 -0
- package/dist/cdn/{2CX7YXG7.js → IAAJMNRU.js} +2 -2
- package/dist/cdn/{LDBJBLWQ.js → IBAAGUE6.js} +2 -2
- package/dist/cdn/{SNF5E6SM.js → ICDQXJJL.js} +2 -2
- package/dist/cdn/IGJEGPQG.js +4 -0
- package/dist/cdn/{IJJZGPAW.js → IGPDOFMJ.js} +2 -2
- package/dist/cdn/{QIZBGZEE.js → IJL3YCYM.js} +2 -2
- package/dist/cdn/ILR2ZA54.js +4 -0
- package/dist/cdn/IWRMT56Y.js +4 -0
- package/dist/cdn/JBCIMXER.js +4 -0
- package/dist/cdn/{6PDHQMNK.js → JCNLCLEG.js} +2 -2
- package/dist/cdn/{QQYH3KUL.js → JFH3QUYT.js} +2 -2
- package/dist/cdn/JHQ2UAPI.js +4 -0
- package/dist/cdn/JHYUP7LW.js +4 -0
- package/dist/cdn/{SDRKL7IH.js → JMTVC3GN.js} +2 -2
- package/dist/cdn/{47ZJXZXD.js → JQ7YFFRL.js} +2 -2
- package/dist/cdn/JQJIXGU3.js +4 -0
- package/dist/cdn/JV3PG2AD.js +4 -0
- package/dist/cdn/{JGMU7WBA.js → KCSYVBWF.js} +2 -2
- package/dist/cdn/KO5OGIH7.js +4 -0
- package/dist/cdn/KQJAG7ZS.js +4 -0
- package/dist/cdn/{E5FDRUDI.js → L2TWIH5Z.js} +2 -2
- package/dist/cdn/{B3WTAI62.js → L2ZJMBZB.js} +2 -2
- package/dist/cdn/{IW5MVKLI.js → L3VZ5IHX.js} +2 -2
- package/dist/cdn/{4REOTHYM.js → L4OFBY5Y.js} +2 -2
- package/dist/cdn/{BABUC4LE.js → L6QEAS33.js} +2 -2
- package/dist/cdn/{7RC54OTC.js → LATBVT72.js} +2 -2
- package/dist/cdn/{HU3C6O2V.js → LG6SJISO.js} +2 -2
- package/dist/cdn/LHMOTHQN.js +4 -0
- package/dist/cdn/{QY7X4QJI.js → LKT35O5Z.js} +2 -2
- package/dist/cdn/{GQ6Y7I3V.js → LNY7VO77.js} +2 -2
- package/dist/cdn/{NTOILAAX.js → LOMSWOGR.js} +2 -2
- package/dist/cdn/LQRES7J3.js +4 -0
- package/dist/cdn/LVVIF2B4.js +4 -0
- package/dist/cdn/{FT6UC3JB.js → M4V2KEMZ.js} +2 -2
- package/dist/cdn/M6S5OWHP.js +4 -0
- package/dist/cdn/MIIKHSMB.js +4 -0
- package/dist/cdn/{WNORUDAL.js → MVYX2MFL.js} +2 -2
- package/dist/cdn/MZQWX4ZT.js +4 -0
- package/dist/cdn/NI33RNQT.js +4 -0
- package/dist/cdn/NMQALZXT.js +4 -0
- package/dist/cdn/NMT7YR35.js +4 -0
- package/dist/cdn/NSZAL7FV.js +4 -0
- package/dist/cdn/{IOOOPEEX.js → ODOWMT3R.js} +2 -2
- package/dist/cdn/OG6S5Q4T.js +4 -0
- package/dist/cdn/ON4QNUDJ.js +4 -0
- package/dist/cdn/{2DE4F35V.js → OOYEE27X.js} +2 -2
- package/dist/cdn/{ORQ5VVLY.js → OU76SIMR.js} +2 -2
- package/dist/cdn/OXI4STZW.js +4 -0
- package/dist/cdn/{SAQPXQUQ.js → P6RNC2LG.js} +2 -2
- package/dist/cdn/{KHFHQYLZ.js → PNWK6NJT.js} +2 -2
- package/dist/cdn/{GZNIWD74.js → PYSV3QLB.js} +2 -2
- package/dist/cdn/PYYXSBKR.js +4 -0
- package/dist/cdn/QBW7NI3U.js +4 -0
- package/dist/cdn/{DNCJUVXO.js → QC2RKL3B.js} +1 -1
- package/dist/cdn/{QGWKXEI4.js → QXQQWDEZ.js} +2 -2
- package/dist/cdn/{LSSXR6K3.js → R53DVOJE.js} +2 -2
- package/dist/cdn/ROIWM7BI.js +4 -0
- package/dist/cdn/RTAXTMOR.js +4 -0
- package/dist/cdn/S3KVJXFW.js +4 -0
- package/dist/cdn/SAANFMWQ.js +4 -0
- package/dist/cdn/{YNS4GIGO.js → SG2AXP3X.js} +2 -2
- package/dist/cdn/SJZHFPQY.js +4 -0
- package/dist/cdn/STFWYSRQ.js +4 -0
- package/dist/cdn/{72L2KGU3.js → SY2XGQFQ.js} +2 -2
- package/dist/cdn/TBMQYFV3.js +4 -0
- package/dist/cdn/{3CUNETBW.js → THYCR5MP.js} +2 -2
- package/dist/cdn/TOKTXF46.js +4 -0
- package/dist/cdn/TVO6I7Z4.js +4 -0
- package/dist/cdn/{M6XXJ7ZT.js → U5YU25AX.js} +2 -2
- package/dist/cdn/{XYMVLEUO.js → UEUW4SDT.js} +2 -2
- package/dist/cdn/UGPTGIHT.js +4 -0
- package/dist/cdn/{4ACBZIPL.js → UINIKLYT.js} +2 -2
- package/dist/cdn/{4IDW3R33.js → UQUSUIJZ.js} +2 -2
- package/dist/cdn/{A5GRUROJ.js → UWA76BGM.js} +2 -2
- package/dist/cdn/{OUIHKS23.js → UZLKNIS6.js} +2 -2
- package/dist/cdn/{LOURBPI7.js → VAQBU5UZ.js} +2 -2
- package/dist/cdn/{GFJJJNG4.js → VFKVM3NN.js} +2 -2
- package/dist/cdn/{PRUWOI4T.js → VIQWFB6N.js} +2 -2
- package/dist/cdn/{YMTOWVGR.js → VRNNMWD4.js} +2 -2
- package/dist/cdn/{ZIJI7X2J.js → VVU6BIVW.js} +2 -2
- package/dist/cdn/{JYK7MOKB.js → VZ7TPZSI.js} +2 -2
- package/dist/cdn/{AYJ2DAHD.js → VZJHCJ6S.js} +2 -2
- package/dist/cdn/{QVNIWF7Y.js → W24IPQ7R.js} +2 -2
- package/dist/cdn/{F252MJWW.js → W55AMOTU.js} +2 -2
- package/dist/cdn/{7ZCCKCDI.js → WHKYXSL2.js} +2 -2
- package/dist/cdn/WINJFIVF.js +4 -0
- package/dist/cdn/{LWN2GJKZ.js → WJIAB5OJ.js} +2 -2
- package/dist/cdn/{CXNYGDEG.js → WKDKHX46.js} +2 -2
- package/dist/cdn/{NLRPWCMA.js → WQW55OS7.js} +2 -2
- package/dist/cdn/WY7Y5NGU.js +4 -0
- package/dist/cdn/XGH4RVKQ.js +4 -0
- package/dist/cdn/XGOB736F.js +4 -0
- package/dist/cdn/{Y4EIVXNU.js → XGZ3RDUR.js} +2 -2
- package/dist/cdn/XTN72LYW.js +4 -0
- package/dist/cdn/{YW6BKERZ.js → XUGPAMZX.js} +2 -2
- package/dist/cdn/YBRYODCY.js +4 -0
- package/dist/cdn/YEW5KZW7.js +4 -0
- package/dist/cdn/YKWORUIJ.js +4 -0
- package/dist/cdn/{VP6SIJ6W.js → YOZZWZZ2.js} +2 -2
- package/dist/cdn/{AKAY7UUY.js → YTODIPYA.js} +2 -2
- package/dist/cdn/{JZXOZPKS.js → Z5TZMPWH.js} +2 -2
- package/dist/cdn/{KAWA7DCI.js → Z6MC3U6Z.js} +2 -2
- package/dist/cdn/{433XUGGB.js → ZIY3JLY2.js} +2 -2
- package/dist/cdn/{F6HH6GPD.js → ZURYTGOH.js} +2 -2
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/charts-config-heat-chart-popover/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/config-utils/index.d.ts +1 -1
- package/dist/chart-rendering/common/defaults/interfaces.d.ts +3 -0
- package/dist/chart-rendering/next/chart-library-elements/legend/heat-legend/index.d.ts +8 -9
- package/dist/chart-rendering/next/chart-library-elements/legend/index.d.ts +2 -2
- package/dist/chart-rendering/next/chart-library-elements/series/heat-chart/index.d.ts +2 -0
- package/dist/chart-rendering/next/defaults/index.d.ts +3 -0
- package/dist/chunks/action-bar-utils.js +20 -19
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +6 -5
- package/dist/chunks/bar-chart-series.js +2 -2
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +71 -70
- package/dist/chunks/box-plot-model.js +52 -47
- package/dist/chunks/chart-ui-utils.js +26 -22
- package/dist/chunks/chart-ui-utils2.js +84 -77
- package/dist/chunks/class-breaks.js +126 -0
- package/dist/chunks/combo-bar-line-chart-model.js +48 -49
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data-labels-symbol.js +66 -0
- package/dist/chunks/data-labels-visibility.js +87 -0
- package/dist/chunks/data.js +41 -40
- package/dist/chunks/default.js +4 -4
- package/dist/chunks/gauge-model.js +30 -28
- package/dist/chunks/heat-chart-model.js +174 -128
- package/dist/chunks/histogram-data.js +42 -41
- package/dist/chunks/histogram-model.js +43 -39
- package/dist/chunks/index.js +1711 -1649
- package/dist/chunks/index2.js +180 -161
- package/dist/chunks/index3.js +184 -91
- package/dist/chunks/index4.js +96 -63
- package/dist/chunks/index5.js +67 -0
- package/dist/chunks/interfaces.js +26 -12
- package/dist/chunks/line-chart-model.js +11 -8
- package/dist/chunks/model-setter.js +114 -0
- package/dist/chunks/model-with-multi-axes.js +636 -711
- package/dist/chunks/negative-values-stacked-to-baseline.js +3 -3
- package/dist/chunks/pie-chart-data.js +39 -38
- package/dist/chunks/pie-chart-model.js +128 -118
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +9 -6
- package/dist/chunks/resource.js +2 -2
- package/dist/chunks/rest-js-object-literals.js +8 -8
- package/dist/chunks/rotated-state.js +56 -0
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +69 -64
- package/dist/chunks/serial-chart-data.js +705 -949
- package/dist/chunks/serial-chart-model.js +34 -28
- package/dist/chunks/series-types.js +56 -40
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +49 -56
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +222 -0
- package/dist/chunks/web-component-utils.js +37 -37
- package/dist/components/arcgis-chart/customElement.d.ts +2 -0
- package/dist/components/arcgis-chart/customElement.js +5219 -4999
- package/dist/components/arcgis-charts-action-bar/customElement.js +6 -5
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +33 -34
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +51 -51
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +183 -173
- package/dist/components/arcgis-charts-config-create-flow/index.d.ts +1 -0
- package/dist/components/arcgis-charts-config-create-flow/index.js +1 -0
- package/dist/components/arcgis-charts-config-field-select/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-font-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-format/customElement.js +22 -20
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +24 -24
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guides/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.d.ts +41 -0
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +87 -0
- package/dist/components/arcgis-charts-config-heat-chart/index.d.ts +4 -0
- package/dist/components/arcgis-charts-config-heat-chart/index.js +4 -0
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.d.ts +46 -0
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +370 -0
- package/dist/components/arcgis-charts-config-heat-chart-data/index.d.ts +15 -0
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +15 -0
- package/dist/components/arcgis-charts-config-heat-chart-data/resources.d.ts +7 -0
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.d.ts +103 -0
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +288 -0
- package/dist/components/arcgis-charts-config-heat-chart-popover/index.d.ts +12 -0
- package/dist/components/arcgis-charts-config-heat-chart-popover/index.js +12 -0
- package/dist/components/arcgis-charts-config-heat-chart-popover/resources.d.ts +18 -0
- package/dist/components/arcgis-charts-config-histogram/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +63 -64
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +33 -33
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +407 -583
- package/dist/interfaces.d.ts +19 -0
- package/dist/json-schema/index.d.ts +60 -14
- package/dist/loader.js +4 -1
- package/dist/model/box-plot-model/box-plot-model.d.ts +8 -2
- package/dist/model/chart-model/chart-model.d.ts +4 -1
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +4 -2
- package/dist/model/gauge-model/gauge-model.d.ts +4 -1
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +42 -13
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +55 -18
- package/dist/model/histogram-model/histogram-model.d.ts +7 -2
- package/dist/model/line-chart-model/line-chart-model.d.ts +4 -1
- package/dist/model/mixins/index.d.ts +0 -2
- package/dist/model/mixins/model-with-multi-axes.d.ts +5 -0
- package/dist/model/mixins/model-with-x-guides.d.ts +5 -0
- package/dist/model/mixins/model-with-y-guides.d.ts +5 -0
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +4 -1
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +7 -2
- package/dist/model/properties/data-labels/data-labels-symbol.d.ts +25 -0
- package/dist/model/properties/data-labels/data-labels-visibility.d.ts +25 -0
- package/dist/model/properties/rotated-state.d.ts +24 -0
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +4 -1
- package/dist/model/scatterplot-model/scatterplot-model.d.ts +7 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +8 -2
- package/dist/model/shared/axes.d.ts +0 -7
- package/dist/model/shared/type-guards.d.ts +18 -17
- package/dist/model/shared/utils.d.ts +19 -3
- package/dist/model.js +15 -17
- package/dist/spec/chart-object-literals.d.ts +27 -0
- package/dist/spec/web-chart.d.ts +50 -16
- package/dist/utils/chart-config/converter/index.d.ts +15 -0
- package/dist/utils/chart-config/converter/interfaces.d.ts +13 -1
- package/dist/utils/chart-config/utils/class-breaks/index.d.ts +16 -0
- package/dist/utils/chart-config/utils/index.d.ts +0 -18
- package/dist/utils/components/chart-ui-utils.d.ts +8 -1
- package/dist/utils/components/config-update.d.ts +6 -3
- package/dist/utils/data/stats/class-breaks.d.ts +91 -0
- package/dist/utils/defaults/index.d.ts +3 -3
- package/dist/utils/localization/interfaces.d.ts +2 -0
- package/dist/utils/type-guards/index.d.ts +12 -1
- package/dist/utils/types/index.d.ts +4 -0
- package/package.json +3 -3
- package/dist/cdn/2HK5DP4Z.js +0 -4
- package/dist/cdn/2J6B67VX.js +0 -4
- package/dist/cdn/2KGX6D5F.js +0 -4
- package/dist/cdn/2ZTCBM34.js +0 -4
- package/dist/cdn/3AC3WNOD.js +0 -4
- package/dist/cdn/3EFUHQNT.js +0 -4
- package/dist/cdn/3IBBMA2A.js +0 -4
- package/dist/cdn/3KTEORBN.js +0 -4
- package/dist/cdn/3OAQQDYR.js +0 -4
- package/dist/cdn/55XCO5XY.js +0 -4
- package/dist/cdn/5ZR4T5HT.js +0 -4
- package/dist/cdn/7A5FF3AI.js +0 -4
- package/dist/cdn/7BHIWXSS.js +0 -4
- package/dist/cdn/7DJBZYIA.js +0 -4
- package/dist/cdn/7IQ2I4LF.js +0 -4
- package/dist/cdn/7NXQKEG4.js +0 -6
- package/dist/cdn/AKL57XN5.js +0 -4
- package/dist/cdn/AW47UABM.js +0 -4
- package/dist/cdn/BBKG2HUU.js +0 -4
- package/dist/cdn/CR4PATFF.js +0 -4
- package/dist/cdn/E7NHJGIP.js +0 -4
- package/dist/cdn/EBYCFLZ7.js +0 -4
- package/dist/cdn/EGC3AWWB.js +0 -4
- package/dist/cdn/EHBSW7CZ.js +0 -4
- package/dist/cdn/FIOJ6UCT.js +0 -4
- package/dist/cdn/GBZWXF7H.js +0 -4
- package/dist/cdn/GEXUZYQM.js +0 -4
- package/dist/cdn/H5BAMOUO.js +0 -4
- package/dist/cdn/HEZL6MN5.js +0 -4
- package/dist/cdn/HJJ3F5RK.js +0 -4
- package/dist/cdn/IA5F2RAW.js +0 -4
- package/dist/cdn/ICJBM7FW.js +0 -4
- package/dist/cdn/IYMPXWG4.js +0 -4
- package/dist/cdn/J3SNSKNC.js +0 -4
- package/dist/cdn/JM6DKNYQ.js +0 -4
- package/dist/cdn/JXVQVJ5E.js +0 -4
- package/dist/cdn/K2XDV2FA.js +0 -4
- package/dist/cdn/K7RWT3Y5.js +0 -4
- package/dist/cdn/KD7WPGSJ.js +0 -4
- package/dist/cdn/LKHZVZT7.js +0 -4
- package/dist/cdn/LZSRP7IC.js +0 -4
- package/dist/cdn/MTCTTNXE.js +0 -4
- package/dist/cdn/N7EHANM3.js +0 -4
- package/dist/cdn/NSKCRQ46.js +0 -4
- package/dist/cdn/ONY47WL2.js +0 -4
- package/dist/cdn/PNXW5DDT.js +0 -4
- package/dist/cdn/Q5RT2IAQ.js +0 -4
- package/dist/cdn/QDHZGFHC.js +0 -4
- package/dist/cdn/QYI2QSH5.js +0 -4
- package/dist/cdn/SCGMS5AE.js +0 -32
- package/dist/cdn/TQTZG3W5.js +0 -4
- package/dist/cdn/U6QB64XJ.js +0 -4
- package/dist/cdn/USUNUI2C.js +0 -4
- package/dist/cdn/UZF3L4UK.js +0 -4
- package/dist/cdn/VMNCZHNP.js +0 -4
- package/dist/cdn/VSO43DDC.js +0 -4
- package/dist/cdn/VYH4PEFA.js +0 -4
- package/dist/cdn/W4X6BXLW.js +0 -4
- package/dist/cdn/Y6BHMVAI.js +0 -4
- package/dist/cdn/Y7FV66TU.js +0 -4
- package/dist/cdn/YOJ4K4LQ.js +0 -4
- package/dist/chunks/color-match.js +0 -33
- package/dist/model/mixins/model-with-data-labels.d.ts +0 -15
- package/dist/model/mixins/model-with-rotation.d.ts +0 -8
- package/dist/model/mixins/utils/data-labels.d.ts +0 -24
package/dist/interfaces.d.ts
CHANGED
|
@@ -118,6 +118,25 @@ export declare const BoxPlotDataPopoverKinds: {
|
|
|
118
118
|
readonly sortOrder: "sortOrder";
|
|
119
119
|
};
|
|
120
120
|
export type BoxPlotDataPopoverKinds = (typeof BoxPlotDataPopoverKinds)[keyof typeof BoxPlotDataPopoverKinds];
|
|
121
|
+
export declare const HeatChartDataPopoverKinds: {
|
|
122
|
+
readonly xAxisField: "xAxisField";
|
|
123
|
+
readonly aggregation: "aggregation";
|
|
124
|
+
readonly numericFields: "numericField";
|
|
125
|
+
readonly calendarType: "calendarType";
|
|
126
|
+
readonly calendarViewType: "calendarViewType";
|
|
127
|
+
readonly classBreakMethod: "classBreakMethod";
|
|
128
|
+
readonly colorScheme: "colorScheme";
|
|
129
|
+
readonly null: "null";
|
|
130
|
+
};
|
|
131
|
+
export type HeatChartDataPopoverKinds = (typeof HeatChartDataPopoverKinds)[keyof typeof HeatChartDataPopoverKinds];
|
|
132
|
+
/**
|
|
133
|
+
* Represents the different types of calendar-based temporal binning that can be applied to a chart.
|
|
134
|
+
*/
|
|
135
|
+
export declare const WebChartCalendarTypes: {
|
|
136
|
+
readonly WeekByDayOfWeekAndHourOfDay: "weekByDayOfWeekAndHourOfDay";
|
|
137
|
+
readonly YearByMonthAndDayOfMonth: "yearByMonthAndDayOfMonth";
|
|
138
|
+
};
|
|
139
|
+
export type WebChartCalendarTypes = (typeof WebChartCalendarTypes)[keyof typeof WebChartCalendarTypes];
|
|
121
140
|
export declare const ScatterplotSymbolSizeTypes: {
|
|
122
141
|
readonly Fixed: "fixed";
|
|
123
142
|
readonly Proportional: "proportional";
|
|
@@ -1790,6 +1790,11 @@ export namespace WebChartJSONSchemas {
|
|
|
1790
1790
|
required: string[];
|
|
1791
1791
|
description: string;
|
|
1792
1792
|
};
|
|
1793
|
+
type: {
|
|
1794
|
+
type: string;
|
|
1795
|
+
const: string;
|
|
1796
|
+
description: string;
|
|
1797
|
+
};
|
|
1793
1798
|
unit: {
|
|
1794
1799
|
$ref: string;
|
|
1795
1800
|
description: string;
|
|
@@ -2966,6 +2971,44 @@ export namespace WebChartJSONSchemas {
|
|
|
2966
2971
|
description: string;
|
|
2967
2972
|
title: string;
|
|
2968
2973
|
};
|
|
2974
|
+
WebChartHeatChartHeatClassBreaks: {
|
|
2975
|
+
type: string;
|
|
2976
|
+
properties: {
|
|
2977
|
+
breaksCount: {
|
|
2978
|
+
type: string;
|
|
2979
|
+
description: string;
|
|
2980
|
+
default: number;
|
|
2981
|
+
};
|
|
2982
|
+
classificationMethod: {
|
|
2983
|
+
$ref: string;
|
|
2984
|
+
description: string;
|
|
2985
|
+
};
|
|
2986
|
+
};
|
|
2987
|
+
description: string;
|
|
2988
|
+
title: string;
|
|
2989
|
+
};
|
|
2990
|
+
WebChartClassBreakTypes: {
|
|
2991
|
+
type: string;
|
|
2992
|
+
enum: string[];
|
|
2993
|
+
description: string;
|
|
2994
|
+
title: string;
|
|
2995
|
+
};
|
|
2996
|
+
WebChartHeatChartEmptyCell: {
|
|
2997
|
+
type: string;
|
|
2998
|
+
properties: {
|
|
2999
|
+
text: {
|
|
3000
|
+
type: string;
|
|
3001
|
+
description: string;
|
|
3002
|
+
default: string;
|
|
3003
|
+
};
|
|
3004
|
+
symbol: {
|
|
3005
|
+
$ref: string;
|
|
3006
|
+
description: string;
|
|
3007
|
+
};
|
|
3008
|
+
};
|
|
3009
|
+
description: string;
|
|
3010
|
+
title: string;
|
|
3011
|
+
};
|
|
2969
3012
|
WebChartHeatChartSeries: {
|
|
2970
3013
|
type: string;
|
|
2971
3014
|
properties: {
|
|
@@ -3052,19 +3095,12 @@ export namespace WebChartJSONSchemas {
|
|
|
3052
3095
|
$ref: string;
|
|
3053
3096
|
description: string;
|
|
3054
3097
|
};
|
|
3098
|
+
classBreaksRules: {
|
|
3099
|
+
$ref: string;
|
|
3100
|
+
description: string;
|
|
3101
|
+
};
|
|
3055
3102
|
emptyCells: {
|
|
3056
|
-
|
|
3057
|
-
properties: {
|
|
3058
|
-
text: {
|
|
3059
|
-
type: string;
|
|
3060
|
-
description: string;
|
|
3061
|
-
default: string;
|
|
3062
|
-
};
|
|
3063
|
-
symbol: {
|
|
3064
|
-
$ref: string;
|
|
3065
|
-
description: string;
|
|
3066
|
-
};
|
|
3067
|
-
};
|
|
3103
|
+
$ref: string;
|
|
3068
3104
|
description: string;
|
|
3069
3105
|
};
|
|
3070
3106
|
};
|
|
@@ -5001,6 +5037,10 @@ export namespace WebChartJSONSchemas {
|
|
|
5001
5037
|
description: string;
|
|
5002
5038
|
default: boolean;
|
|
5003
5039
|
};
|
|
5040
|
+
viewType: {
|
|
5041
|
+
$ref: string;
|
|
5042
|
+
description: string;
|
|
5043
|
+
};
|
|
5004
5044
|
includeLeapDay: {
|
|
5005
5045
|
type: string;
|
|
5006
5046
|
description: string;
|
|
@@ -5011,11 +5051,11 @@ export namespace WebChartJSONSchemas {
|
|
|
5011
5051
|
description: string;
|
|
5012
5052
|
title: string;
|
|
5013
5053
|
};
|
|
5014
|
-
"Omit<(structure-1066060463-
|
|
5054
|
+
"Omit<(structure-1066060463-56199-57852-1066060463-56127-57853-1066060463-52147-57855-1066060463-0-60873|undefined)1405062998,(\"data\"|\"orderByFields\")>": {
|
|
5015
5055
|
$ref: string;
|
|
5016
5056
|
title: string;
|
|
5017
5057
|
};
|
|
5018
|
-
"Pick<(structure-1066060463-
|
|
5058
|
+
"Pick<(structure-1066060463-56199-57852-1066060463-56127-57853-1066060463-52147-57855-1066060463-0-60873|undefined)1405062998,Exclude<(\"series\"|\"data\"|\"orderByFields\"),(\"data\"|\"orderByFields\")>>": {
|
|
5019
5059
|
type: string;
|
|
5020
5060
|
properties: {
|
|
5021
5061
|
series: {
|
|
@@ -5026,6 +5066,12 @@ export namespace WebChartJSONSchemas {
|
|
|
5026
5066
|
additionalProperties: boolean;
|
|
5027
5067
|
title: string;
|
|
5028
5068
|
};
|
|
5069
|
+
WebChartHeatChartViewTypes: {
|
|
5070
|
+
type: string;
|
|
5071
|
+
enum: string[];
|
|
5072
|
+
description: string;
|
|
5073
|
+
title: string;
|
|
5074
|
+
};
|
|
5029
5075
|
RGBObject: {
|
|
5030
5076
|
type: string;
|
|
5031
5077
|
properties: {
|
package/dist/loader.js
CHANGED
|
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
|
|
|
2
2
|
import { makeDefineCustomElements as t } from "@arcgis/lumina";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
5
|
-
v5.0.0-next.
|
|
5
|
+
v5.0.0-next.116 */
|
|
6
6
|
const o = t(e, {
|
|
7
7
|
"arcgis-chart": [() => import("./components/arcgis-chart/customElement.js"), "actionMode,allowUsingObjectIdStat,autoDestroyDisabled,autoDisposeChart,autoInverseDataLabelTextColor,chartIndex,chartLimits:,chartWillRender:,cursorRange,dataLabelFormatter:,disableAutoTheming,disableInteractions,disableTogglingLegendItems,enableBetaFeatures,enableConfiguration,enableResponsiveFeatures,errorPolicy,featureIndex,filterByExtent,filterBySelection,gaugeInnerLabelFormatter:,guideTooltipFormatter:,hideEmptySeries,hideLicenseWatermark,hideLoaderAnimation,ignoreSmoothRenderingLimit,ignoreViewExtent,layer:,layerFieldsChangePolicy,layerFilterChangePolicy,layerItemId,layerRendererChangePolicy,legendPosition,legendValueLabelFormatter:,legendVisibility,loaderColors:,messageOverrides:,model:,nullAsValid,placeholder,queueChartCreation,replaceNoValueCategoryWithZero,returnFeaturesExtent,returnSelectionIndexes,returnSelectionOIDs,rotation,runtimeDataFilters:,secondaryYAxisLabelFormatter:,selectionData:,selectionTheme:,setTimeBinningInfoWhenNotProvided,showUIMessages,syncSelection,syncSelectionsBetweenChartAndLayerViewPolicy,timeZone,tooltipFormatter:,updateSplitBySeries:,useAnimatedCharts,usePopupTemplateFieldsInfo,view:,viewTimeExtentChangePolicy,xAxisLabelFormatter:,yAxisLabelFormatter:;clearSelection,errorAlert,exportAsCSV,exportAsImage,loadModel,notify,refresh,resetZoom,switchSelection"],
|
|
8
8
|
"arcgis-charts-action-bar": [() => import("./components/arcgis-charts-action-bar/customElement.js"), "actionBarSelectionMode,chartElement:,chartType,clearSelectionState,clearSelectionTitle,clearSelectionToggle,disableCSVExportForChartTypes:,editChartState,editChartTitle,editChartToggle,expanded,exportActionState,exportAsCSVState,exportAsCSVTitle,exportAsImageState,exportAsImageTitle,filterByExtentState,filterByExtentTitle,filterByExtentToggle,filterBySelectionState,filterBySelectionTitle,filterBySelectionToggle,forceDisableActions,fullExtentState,fullExtentTitle,fullExtentToggle,hiddenActions:,legendState,legendTitle,legendToggle,messageOverrides:,rotateChartState,rotateChartTitle,rotateChartToggle,selectionState,selectionTitle,selectionToggle,switchSelectionState,switchSelectionTitle,switchSelectionToggle,zoomState,zoomTitle,zoomToggle"],
|
|
@@ -32,6 +32,9 @@ const o = t(e, {
|
|
|
32
32
|
"arcgis-charts-config-guide-popover": [() => import("./components/arcgis-charts-config-guide-popover/customElement.js"), "messageOverrides:,open,placement,referenceElement:,selectedElement:;reposition"],
|
|
33
33
|
"arcgis-charts-config-guides": [() => import("./components/arcgis-charts-config-guides/customElement.js"), "calculatedMinMaxBounds:,enableXAxisGuide,enableYAxisGuide,messageOverrides:,model:,open,timeZone"],
|
|
34
34
|
"arcgis-charts-config-guides-type-popover": [() => import("./components/arcgis-charts-config-guides-type-popover/customElement.js"), "enableXAxisGuide,enableYAxisGuide,messageOverrides:,open,placement,referenceElement:;reposition"],
|
|
35
|
+
"arcgis-charts-config-heat-chart": [() => import("./components/arcgis-charts-config-heat-chart/customElement.js"), "chartData:,layer:,model:,page,usePopupTemplateFieldsInfo"],
|
|
36
|
+
"arcgis-charts-config-heat-chart-data": [() => import("./components/arcgis-charts-config-heat-chart-data/customElement.js"), "chartData:,layerFieldsInfo:,messageOverrides:,model:,open"],
|
|
37
|
+
"arcgis-charts-config-heat-chart-popover": [() => import("./components/arcgis-charts-config-heat-chart-popover/customElement.js"), "colorRamps:,contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,model:,open,referenceElement:,selectedContent;reposition"],
|
|
35
38
|
"arcgis-charts-config-histogram": [() => import("./components/arcgis-charts-config-histogram/customElement.js"), "calculatedMinMaxBounds:,chartData:,layer:,model:,page,seriesColor:,usePopupTemplateFieldsInfo"],
|
|
36
39
|
"arcgis-charts-config-histogram-data": [() => import("./components/arcgis-charts-config-histogram-data/customElement.js"), "countValue,layerFieldsInfo:,maxValue,meanValue,medianValue,messageOverrides:,minValue,model:,nullsValue,open,selectedOverlaySymbolType,standardDevValue,sumValue"],
|
|
37
40
|
"arcgis-charts-config-histogram-popover": [() => import("./components/arcgis-charts-config-histogram-popover/customElement.js"), "contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,placement,referenceElement:,selectedBinColor:,selectedNumericField,selectedOverlaySymbol:,selectedOverlaySymbolType,selectedTransformationType;reposition"],
|
|
@@ -3,8 +3,12 @@ import { Color, RESTSimpleLineSymbolStyle, WebChart, WebChartDataFilters } from
|
|
|
3
3
|
import { ChartModel } from '../chart-model/chart-model';
|
|
4
4
|
import { ModelParams } from '../interfaces/chart-interfaces';
|
|
5
5
|
import { ModelTypes, BoxPlotDataSortingKinds } from '../interfaces/common';
|
|
6
|
-
import {
|
|
6
|
+
import { ModelWithLegend, ModelWithMultiAxes, ModelWithTooltips, ModelWithYGuides } from '../mixins';
|
|
7
7
|
import { WithColorMatch } from '../properties/color-match';
|
|
8
|
+
import { WithRotatedState } from '../properties/rotated-state';
|
|
9
|
+
import { WithDataLabelsVisibility } from '../properties/data-labels/data-labels-visibility';
|
|
10
|
+
import { WithDataLabelsSymbol } from '../properties/data-labels/data-labels-symbol';
|
|
11
|
+
import { MixinInstances } from '../shared/utils';
|
|
8
12
|
export declare class BoxPlotModel extends ChartModel {
|
|
9
13
|
/**
|
|
10
14
|
* Current configuration used for the box plot chart.
|
|
@@ -227,5 +231,7 @@ export declare class BoxPlotModel extends ChartModel {
|
|
|
227
231
|
*/
|
|
228
232
|
resetAvailable(): boolean;
|
|
229
233
|
}
|
|
230
|
-
|
|
234
|
+
declare const boxPlotMixins: readonly [typeof ModelWithMultiAxes, typeof ModelWithLegend, typeof ModelWithTooltips, typeof WithColorMatch, typeof WithRotatedState, typeof WithDataLabelsVisibility, typeof WithDataLabelsSymbol, typeof ModelWithYGuides];
|
|
235
|
+
export interface BoxPlotModel extends MixinInstances<typeof boxPlotMixins> {
|
|
231
236
|
}
|
|
237
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { MixinInstances } from '../shared/utils';
|
|
1
2
|
import { WithTitleText } from '../properties/title/title-text';
|
|
2
3
|
import { WithTitleSymbol } from '../properties/title/title-symbol';
|
|
3
4
|
import { ChartModelBase } from './chart-model-base';
|
|
@@ -26,5 +27,7 @@ import { WithSplitByValues } from '../properties/split-by-values';
|
|
|
26
27
|
import { WithDataFilters } from '../properties/data-filters';
|
|
27
28
|
export declare abstract class ChartModel extends ChartModelBase {
|
|
28
29
|
}
|
|
29
|
-
|
|
30
|
+
declare const chartModelMixins: readonly [typeof WithConfig, typeof WithChartType, typeof WithLayer, typeof WithChartId, typeof WithTitleText, typeof WithTitleSymbol, typeof WithVersion, typeof WithSubtitleText, typeof WithSubtitleSymbol, typeof WithDescriptionText, typeof WithDescriptionSymbol, typeof WithChartTitleVisibility, typeof WithChartSubtitleVisibility, typeof WithDescriptionVisibility, typeof WithChartRenderer, typeof WithBackgroundColor, typeof WithSeriesVisibility, typeof WithSeriesId, typeof WithSeriesIndex, typeof WithSeriesLength, typeof WithChartSubType, typeof WithSeriesDataTooltipValueFormat, typeof WithFetchNULLValues, typeof WithSplitByValues, typeof WithDataFilters];
|
|
31
|
+
export interface ChartModel extends MixinInstances<typeof chartModelMixins> {
|
|
30
32
|
}
|
|
33
|
+
export {};
|
|
@@ -4,6 +4,7 @@ import { ModelParams } from '../interfaces/chart-interfaces';
|
|
|
4
4
|
import { LayerInfo, ModelTypes } from '../interfaces/common';
|
|
5
5
|
import { WithNegativeValuesStackedToBaseline } from '../properties/series/negative-values-stacked-to-baseline';
|
|
6
6
|
import { SerialChartModel } from '../serial-chart-model/serial-chart-model';
|
|
7
|
+
import { MixinInstances } from '../shared/utils';
|
|
7
8
|
export declare class ComboBarLineChartModel extends SerialChartModel {
|
|
8
9
|
/**
|
|
9
10
|
* Current configuration used for the bar chart.
|
|
@@ -15,7 +16,6 @@ export declare class ComboBarLineChartModel extends SerialChartModel {
|
|
|
15
16
|
protected defaultSeries: WebChartLineChartSeries | undefined;
|
|
16
17
|
protected _chartType: "comboLineAndBarSeries";
|
|
17
18
|
protected layerInfo: LayerInfo;
|
|
18
|
-
get config(): typeof this._config;
|
|
19
19
|
setup(params: ModelParams<ChartConfig<typeof ModelTypes.ComboBarLineChart>>): Promise<void>;
|
|
20
20
|
protected generateDefaultConfig(): Omit<typeof this._config, "iLayer">;
|
|
21
21
|
/**
|
|
@@ -185,5 +185,7 @@ export declare class ComboBarLineChartModel extends SerialChartModel {
|
|
|
185
185
|
*/
|
|
186
186
|
setSeriesHideOversizedStackedLabels(hide: boolean | undefined, seriesIndex: number): void;
|
|
187
187
|
}
|
|
188
|
-
|
|
188
|
+
declare const comboBarLineChartMixins: readonly [typeof WithNegativeValuesStackedToBaseline];
|
|
189
|
+
export interface ComboBarLineChartModel extends MixinInstances<typeof comboBarLineChartMixins> {
|
|
189
190
|
}
|
|
191
|
+
export {};
|
|
@@ -4,6 +4,7 @@ import { ChartModel } from '../chart-model/chart-model';
|
|
|
4
4
|
import { ModelParams } from '../interfaces/chart-interfaces';
|
|
5
5
|
import { LayerInfo, ModelTypes } from '../interfaces/common';
|
|
6
6
|
import { ModelWithBasicXAxis, ModelWithXGuides } from '../mixins';
|
|
7
|
+
import { MixinInstances } from '../shared/utils';
|
|
7
8
|
export declare class GaugeModel extends ChartModel {
|
|
8
9
|
/**
|
|
9
10
|
* Generate the proper chart title given the current config.
|
|
@@ -122,5 +123,7 @@ export declare class GaugeModel extends ChartModel {
|
|
|
122
123
|
set onlyShowFirstAndLastLabels(showOnlyFirstAndLastLabels: boolean);
|
|
123
124
|
protected generateDefaultConfig(): Omit<typeof this._config, "iLayer">;
|
|
124
125
|
}
|
|
125
|
-
|
|
126
|
+
declare const gaugeMixins: readonly [typeof ModelWithBasicXAxis, typeof ModelWithXGuides];
|
|
127
|
+
export interface GaugeModel extends MixinInstances<typeof gaugeMixins> {
|
|
126
128
|
}
|
|
129
|
+
export {};
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
import { ISimpleFillSymbol,
|
|
1
|
+
import { ISimpleFillSymbol, WebChartCalendarDatePartsBinning, WebChartClassBreakTypes, WebChartHeatChartEmptyCell, WebChartHeatChartGradient, WebChartHeatChartHeatRulesTypes, WebChartHeatChartViewTypes, WebChartLegendPositions, WebChartNullCategory, WebChartNullPolicyTypes, WebChartStackedKinds, WebChartStatisticType, WebHeatChart } from '../../spec';
|
|
2
2
|
import { ChartConfig } from '../../utils';
|
|
3
3
|
import { ModelParams } from '../interfaces/chart-interfaces';
|
|
4
4
|
import { LayerInfo, ModelTypes, SerialChartDataSortingKinds, HeatChartDataSortingKinds } from '../interfaces/common';
|
|
5
|
-
import {
|
|
5
|
+
import { ModelWithLegend, ModelWithTooltips } from '../mixins';
|
|
6
|
+
import { WithDataLabelsVisibility } from '../properties/data-labels/data-labels-visibility';
|
|
7
|
+
import { WithDataLabelsSymbol } from '../properties/data-labels/data-labels-symbol';
|
|
6
8
|
import { SerialChartModel } from '../serial-chart-model/serial-chart-model';
|
|
7
|
-
|
|
9
|
+
import { MixinInstances } from '../shared/utils';
|
|
8
10
|
export declare class HeatChartModel extends SerialChartModel {
|
|
11
|
+
/**
|
|
12
|
+
* Generate the proper chart title given the current config.
|
|
13
|
+
*/
|
|
9
14
|
generateChartTitle(): string;
|
|
10
15
|
/**
|
|
11
16
|
* Current configuration used for the Heat chart.
|
|
@@ -14,16 +19,18 @@ export declare class HeatChartModel extends SerialChartModel {
|
|
|
14
19
|
protected _chartType: "heatSeries";
|
|
15
20
|
protected layerInfo: LayerInfo;
|
|
16
21
|
setup(params: ModelParams<ChartConfig<typeof ModelTypes.HeatChart>>): Promise<void>;
|
|
17
|
-
/**
|
|
18
|
-
* The x axis field used by the heat chart
|
|
19
|
-
*/
|
|
20
|
-
get xAxisField(): string;
|
|
21
|
-
set xAxisField(xField: string);
|
|
22
22
|
/**
|
|
23
23
|
* The y axis field used by the heat chart
|
|
24
24
|
*/
|
|
25
25
|
get yAxisField(): string;
|
|
26
26
|
set yAxisField(yAxisField: string);
|
|
27
|
+
/**
|
|
28
|
+
* The calendar view type for the heat chart.
|
|
29
|
+
*
|
|
30
|
+
* **NOTE**: This property is only applicable to the Calendar heat chart.
|
|
31
|
+
*/
|
|
32
|
+
get viewType(): WebChartHeatChartViewTypes | undefined;
|
|
33
|
+
set viewType(viewType: WebChartHeatChartViewTypes | undefined);
|
|
27
34
|
/**
|
|
28
35
|
* The x temporal binning used by the heat chart
|
|
29
36
|
*/
|
|
@@ -34,6 +41,17 @@ export declare class HeatChartModel extends SerialChartModel {
|
|
|
34
41
|
*/
|
|
35
42
|
get yTemporalBinning(): WebChartCalendarDatePartsBinning | undefined;
|
|
36
43
|
set yTemporalBinning(binning: WebChartCalendarDatePartsBinning | undefined);
|
|
44
|
+
/**
|
|
45
|
+
* The number of class breaks used by the heat chart
|
|
46
|
+
* @default 5
|
|
47
|
+
* */
|
|
48
|
+
get breaksCount(): number;
|
|
49
|
+
set breaksCount(numClasses: number);
|
|
50
|
+
/**
|
|
51
|
+
* The class breaks method used by the heat chart
|
|
52
|
+
*/
|
|
53
|
+
get classificationMethod(): WebChartClassBreakTypes | undefined;
|
|
54
|
+
set classificationMethod(classificationMethod: WebChartClassBreakTypes | undefined);
|
|
37
55
|
/**
|
|
38
56
|
* The hide empty rows and columns setting used by the heat chart
|
|
39
57
|
*/
|
|
@@ -80,10 +98,6 @@ export declare class HeatChartModel extends SerialChartModel {
|
|
|
80
98
|
*/
|
|
81
99
|
get splitByField(): string;
|
|
82
100
|
set splitByField(_: string);
|
|
83
|
-
/**
|
|
84
|
-
* The heat charts legend's title (not supported yet)
|
|
85
|
-
*/
|
|
86
|
-
set legendTitleText(_: string);
|
|
87
101
|
get legendPosition(): WebChartLegendPositions;
|
|
88
102
|
/**
|
|
89
103
|
* The heat charts legend's position
|
|
@@ -94,6 +108,11 @@ export declare class HeatChartModel extends SerialChartModel {
|
|
|
94
108
|
* The heat charts null policy
|
|
95
109
|
*/
|
|
96
110
|
set nullPolicy(policy: WebChartNullPolicyTypes | undefined);
|
|
111
|
+
get emptyCell(): WebChartHeatChartEmptyCell | undefined;
|
|
112
|
+
/**
|
|
113
|
+
* The heat charts empty cell config
|
|
114
|
+
*/
|
|
115
|
+
set emptyCell(emptyCell: WebChartHeatChartEmptyCell | undefined);
|
|
97
116
|
getSortOrder(): HeatChartDataSortingKinds | SerialChartDataSortingKinds;
|
|
98
117
|
/**
|
|
99
118
|
* setSortOrder is not used by heat chart; instead use setXAxisSortOrder for the x axis and setYAxisSortOrder for the y axis
|
|
@@ -136,6 +155,14 @@ export declare class HeatChartModel extends SerialChartModel {
|
|
|
136
155
|
* The heat charts empty cell symbol
|
|
137
156
|
*/
|
|
138
157
|
set emptyCellSymbol(symbol: ISimpleFillSymbol | undefined);
|
|
158
|
+
/**
|
|
159
|
+
* The heat chart's rotatedState (not supported)
|
|
160
|
+
*/
|
|
161
|
+
get rotatedState(): boolean;
|
|
162
|
+
/**
|
|
163
|
+
* The heat chart's rotatedState (not supported)
|
|
164
|
+
*/
|
|
165
|
+
set rotatedState(_: boolean);
|
|
139
166
|
/**
|
|
140
167
|
* The heat chart's second axis (not supported)
|
|
141
168
|
*/
|
|
@@ -157,5 +184,7 @@ export declare class HeatChartModel extends SerialChartModel {
|
|
|
157
184
|
*/
|
|
158
185
|
protected generateDefaultConfig(): Omit<typeof this._config, "iLayer">;
|
|
159
186
|
}
|
|
160
|
-
|
|
187
|
+
declare const heatChartMixins: readonly [typeof ModelWithTooltips, typeof WithDataLabelsVisibility, typeof WithDataLabelsSymbol, typeof ModelWithLegend];
|
|
188
|
+
export interface HeatChartModel extends MixinInstances<typeof heatChartMixins> {
|
|
161
189
|
}
|
|
190
|
+
export {};
|
|
@@ -1,23 +1,7 @@
|
|
|
1
|
-
import { ISimpleFillSymbol, WebChartCalendarDatePartsBinning, WebChartHeatChartGradient, WebChartHeatChartHeatRulesTypes, WebChartNullPolicyTypes, WebHeatChart, WebChartLegendPositions, WebChartStatisticType } from '../../../spec';
|
|
2
|
-
import { ChartConfig } from '../../../utils';
|
|
1
|
+
import { ISimpleFillSymbol, WebChartCalendarDatePartsBinning, WebChartHeatChartGradient, WebChartHeatChartHeatRulesTypes, WebChartHeatChartViewTypes, WebChartNullPolicyTypes, WebChartClassBreakTypes, WebChartHeatChartEmptyCell, WebHeatChart, WebChartLegendPositions, WebChartStatisticType } from '../../../spec';
|
|
2
|
+
import { CommonStrings, ChartConfig } from '../../../utils';
|
|
3
3
|
import { LayerInfo, ModelTypes } from '../../interfaces/common';
|
|
4
4
|
type HeatChartConfig = ChartConfig<typeof ModelTypes.HeatChart, WebHeatChart>;
|
|
5
|
-
/**
|
|
6
|
-
* Sets the x field
|
|
7
|
-
* @param xField - The numeric field
|
|
8
|
-
* @param config - The heat chart config
|
|
9
|
-
* @param layerInfo - The layer info
|
|
10
|
-
*/
|
|
11
|
-
export declare const setXField: (props: {
|
|
12
|
-
xField: string;
|
|
13
|
-
config: HeatChartConfig;
|
|
14
|
-
layerInfo: LayerInfo;
|
|
15
|
-
}) => void;
|
|
16
|
-
/**
|
|
17
|
-
* Gets the x field
|
|
18
|
-
* @param config - the heat chart config
|
|
19
|
-
*/
|
|
20
|
-
export declare const getXField: (config: HeatChartConfig) => string;
|
|
21
5
|
/**
|
|
22
6
|
* Gets the hide empty rows and columns setting
|
|
23
7
|
* @param config - The heat chart config
|
|
@@ -161,6 +145,19 @@ export declare const getNullPolicy: (config: HeatChartConfig) => WebChartNullPol
|
|
|
161
145
|
* @param config - The heat chart config
|
|
162
146
|
*/
|
|
163
147
|
export declare const setNullPolicy: (nullPolicy: WebChartNullPolicyTypes | undefined, config: HeatChartConfig) => void;
|
|
148
|
+
/**
|
|
149
|
+
* Gets the empty cell
|
|
150
|
+
* @param {HeatChartConfig} config the heat chart config
|
|
151
|
+
*
|
|
152
|
+
* @returns {WebChartHeatChartEmptyCell | undefined} the empty cell config
|
|
153
|
+
*/
|
|
154
|
+
export declare const getEmptyCell: (config: HeatChartConfig) => WebChartHeatChartEmptyCell | undefined;
|
|
155
|
+
/**
|
|
156
|
+
* Sets the empty cell
|
|
157
|
+
* @param {WebChartHeatChartEmptyCell | undefined} emptyCells the empty cell config
|
|
158
|
+
* @param {HeatChartConfig} config the heat chart config
|
|
159
|
+
*/
|
|
160
|
+
export declare const setEmptyCell: (emptyCells: WebChartHeatChartEmptyCell | undefined, config: HeatChartConfig) => void;
|
|
164
161
|
/**
|
|
165
162
|
* Gets the empty cell text
|
|
166
163
|
* @param config - the heat chart config
|
|
@@ -194,4 +191,44 @@ export declare const getEmptyCellSymbol: (config: HeatChartConfig) => ISimpleFil
|
|
|
194
191
|
* @param config - The heat chart config
|
|
195
192
|
*/
|
|
196
193
|
export declare const setEmptyCellSymbol: (symbol: ISimpleFillSymbol | undefined, config: HeatChartConfig) => void;
|
|
194
|
+
/**
|
|
195
|
+
* Gets the proper chart title given the current config.
|
|
196
|
+
* @param {CommonStrings} commonStrings The common strings
|
|
197
|
+
* @returns {string}
|
|
198
|
+
*/
|
|
199
|
+
export declare function getChartTitle(commonStrings: CommonStrings): string;
|
|
200
|
+
/**
|
|
201
|
+
* Gets the calendar view type for the heat chart
|
|
202
|
+
* @param {HeatChartConfig} config the heat chart config
|
|
203
|
+
*/
|
|
204
|
+
export declare function getCalendarViewType(config: HeatChartConfig): WebChartHeatChartViewTypes | undefined;
|
|
205
|
+
/**
|
|
206
|
+
* Sets the calendar view type for the heat chart
|
|
207
|
+
* @param {WebChartHeatChartViewTypes | undefined} viewType the view type
|
|
208
|
+
* @param {HeatChartConfig} config the heat chart config
|
|
209
|
+
*/
|
|
210
|
+
export declare function setCalendarViewType(viewType: WebChartHeatChartViewTypes | undefined, config: HeatChartConfig): void;
|
|
211
|
+
/**
|
|
212
|
+
* Gets the number of classes breaks for the heat chart.
|
|
213
|
+
* @param {HeatChartConfig} config the heat chart config
|
|
214
|
+
*/
|
|
215
|
+
export declare function getBreaksCount(config: HeatChartConfig): number;
|
|
216
|
+
/**
|
|
217
|
+
* Sets the number of classes breaks for the heat chart.
|
|
218
|
+
* @param {number | undefined} breaksCount the number of class breaks
|
|
219
|
+
* @param {HeatChartConfig} config the heat chart config
|
|
220
|
+
*/
|
|
221
|
+
export declare function setBreaksCount(breaksCount: number | undefined, config: HeatChartConfig): void;
|
|
222
|
+
/**
|
|
223
|
+
* Gets the class breaks method for the heat chart.
|
|
224
|
+
* @param {HeatChartConfig} config the heat chart config
|
|
225
|
+
*
|
|
226
|
+
*/
|
|
227
|
+
export declare function getClassificationMethod(config: HeatChartConfig): WebChartClassBreakTypes | undefined;
|
|
228
|
+
/**
|
|
229
|
+
* Sets the class breaks method for the heat chart.
|
|
230
|
+
* @param {WebChartClassBreakTypes | undefined} classificationMethod the class breaks method
|
|
231
|
+
* @param {HeatChartConfig} config the heat chart config
|
|
232
|
+
*/
|
|
233
|
+
export declare function setClassificationMethod(classificationMethod: WebChartClassBreakTypes | undefined, config: HeatChartConfig): void;
|
|
197
234
|
export {};
|
|
@@ -2,9 +2,12 @@ import { ChartConfig, XYChartTypes } from '../../utils';
|
|
|
2
2
|
import { WebChart, WebChartDataTransformations, ISimpleFillSymbol, ISimpleLineSymbol, HistogramOverlays } from '../../spec';
|
|
3
3
|
import { LayerInfo, ModelTypes } from '../interfaces/common';
|
|
4
4
|
import { ModelParams } from '../interfaces/chart-interfaces';
|
|
5
|
+
import { MixinInstances } from '../shared/utils';
|
|
5
6
|
import { ChartModel } from '../chart-model/chart-model';
|
|
6
|
-
import {
|
|
7
|
+
import { ModelWithYGuides, ModelWithLegend, ModelWithTooltips, ModelWithMultiAxes } from '../mixins';
|
|
7
8
|
import { WithColorMatch } from '../properties/color-match';
|
|
9
|
+
import { WithDataLabelsVisibility } from '../properties/data-labels/data-labels-visibility';
|
|
10
|
+
import { WithDataLabelsSymbol } from '../properties/data-labels/data-labels-symbol';
|
|
8
11
|
export declare class HistogramModel extends ChartModel {
|
|
9
12
|
/**
|
|
10
13
|
* Current configuration used for the histogram.
|
|
@@ -88,5 +91,7 @@ export declare class HistogramModel extends ChartModel {
|
|
|
88
91
|
generateXAxisTitle(): string;
|
|
89
92
|
protected generateDefaultConfig(): Omit<typeof this._config, "iLayer">;
|
|
90
93
|
}
|
|
91
|
-
|
|
94
|
+
declare const histogramMixins: readonly [typeof ModelWithMultiAxes, typeof ModelWithLegend, typeof ModelWithTooltips, typeof WithColorMatch, typeof WithDataLabelsVisibility, typeof WithDataLabelsSymbol, typeof ModelWithYGuides];
|
|
95
|
+
export interface HistogramModel extends MixinInstances<typeof histogramMixins> {
|
|
92
96
|
}
|
|
97
|
+
export {};
|
|
@@ -4,6 +4,7 @@ import { ModelParams } from '../interfaces/chart-interfaces';
|
|
|
4
4
|
import { LayerInfo, ModelTypes } from '../interfaces/common';
|
|
5
5
|
import { ModelWithLineMarkerStyling } from '../mixins';
|
|
6
6
|
import { SerialChartModel } from '../serial-chart-model/serial-chart-model';
|
|
7
|
+
import { MixinInstances } from '../shared/utils';
|
|
7
8
|
import { WithNegativeValuesStackedToBaseline } from '../properties/series/negative-values-stacked-to-baseline';
|
|
8
9
|
export declare class LineChartModel extends SerialChartModel {
|
|
9
10
|
/**
|
|
@@ -31,5 +32,7 @@ export declare class LineChartModel extends SerialChartModel {
|
|
|
31
32
|
*/
|
|
32
33
|
resetAvailable(): boolean;
|
|
33
34
|
}
|
|
34
|
-
|
|
35
|
+
declare const lineChartMixins: readonly [typeof WithNegativeValuesStackedToBaseline, typeof ModelWithLineMarkerStyling];
|
|
36
|
+
export interface LineChartModel extends MixinInstances<typeof lineChartMixins> {
|
|
35
37
|
}
|
|
38
|
+
export {};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export * from './model-with-legend';
|
|
2
2
|
export * from './model-with-basic-x-axis';
|
|
3
3
|
export * from './model-with-tooltips';
|
|
4
|
-
export * from './model-with-rotation';
|
|
5
|
-
export * from './model-with-data-labels';
|
|
6
4
|
export * from './model-with-guides';
|
|
7
5
|
export * from './model-with-x-guides';
|
|
8
6
|
export * from './model-with-y-guides';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CategoryFormatOptions, DateTimeFormatOptions, ISimpleLineSymbol, NumberFormatOptions, WebChartAxisScrollBar, WebChartCursorCrosshair, WebChartLabelBehavior, WebChartTextSymbol } from '../../spec';
|
|
2
2
|
import { XYChartTypes } from '../../utils';
|
|
3
|
+
import { MixinInstances } from '../shared/utils';
|
|
3
4
|
import { ModelWithBasicXAxis } from './model-with-basic-x-axis';
|
|
4
5
|
export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
5
6
|
protected _chartType: XYChartTypes;
|
|
@@ -314,3 +315,7 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
314
315
|
*/
|
|
315
316
|
abstract generateYAxisTitle(): string;
|
|
316
317
|
}
|
|
318
|
+
declare const modelWithMultiAxesMixins: readonly [typeof ModelWithBasicXAxis];
|
|
319
|
+
export interface ModelWithMultiAxes extends MixinInstances<typeof modelWithMultiAxesMixins> {
|
|
320
|
+
}
|
|
321
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { MixinInstances } from '../shared/utils';
|
|
1
2
|
import { ModelWithGuides } from './model-with-guides';
|
|
2
3
|
export declare abstract class ModelWithXGuides extends ModelWithGuides {
|
|
3
4
|
/**
|
|
@@ -20,3 +21,7 @@ export declare abstract class ModelWithXGuides extends ModelWithGuides {
|
|
|
20
21
|
*/
|
|
21
22
|
deleteXAxisGuide(index?: number): void;
|
|
22
23
|
}
|
|
24
|
+
declare const modelWithXGuidesMixins: readonly [typeof ModelWithGuides];
|
|
25
|
+
export interface ModelWithXGuides extends MixinInstances<typeof modelWithXGuidesMixins> {
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ModelWithGuides } from '.';
|
|
2
|
+
import { MixinInstances } from '../shared/utils';
|
|
2
3
|
export declare abstract class ModelWithYGuides extends ModelWithGuides {
|
|
3
4
|
/**
|
|
4
5
|
* Gets the number guides in the Y-axis guides list.
|
|
@@ -20,3 +21,7 @@ export declare abstract class ModelWithYGuides extends ModelWithGuides {
|
|
|
20
21
|
*/
|
|
21
22
|
deleteYAxisGuide(index?: number): void;
|
|
22
23
|
}
|
|
24
|
+
declare const modelWithYGuidesMixins: readonly [typeof ModelWithGuides];
|
|
25
|
+
export interface ModelWithYGuides extends MixinInstances<typeof modelWithYGuidesMixins> {
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ModelWithLegend } from '../mixins/model-with-legend';
|
|
2
|
+
import { MixinInstances } from '../shared/utils';
|
|
2
3
|
export declare abstract class PieChartLegendModel extends ModelWithLegend {
|
|
3
4
|
/**
|
|
4
5
|
* Gets the setting for the display of numerical value in the legend items.
|
|
@@ -54,5 +55,7 @@ export declare abstract class PieChartLegendModel extends ModelWithLegend {
|
|
|
54
55
|
get displayCategory(): boolean;
|
|
55
56
|
set displayCategory(displayCategory: boolean);
|
|
56
57
|
}
|
|
57
|
-
|
|
58
|
+
declare const pieChartLegendMixins: readonly [typeof ModelWithLegend];
|
|
59
|
+
export interface PieChartLegendModel extends MixinInstances<typeof pieChartLegendMixins> {
|
|
58
60
|
}
|
|
61
|
+
export {};
|
|
@@ -3,8 +3,11 @@ import { ChartConfig, ChartTypes } from '../../utils';
|
|
|
3
3
|
import { ChartModel } from '../chart-model/chart-model';
|
|
4
4
|
import { ModelParams } from '../interfaces/chart-interfaces';
|
|
5
5
|
import { LayerInfo, ModelTypes, PieChartDataSortingKinds, PieChartSlicesDisplay, PieChartDataModes } from '../interfaces/common';
|
|
6
|
-
import {
|
|
6
|
+
import { ModelWithTooltips } from '../mixins';
|
|
7
7
|
import { WithColorMatch } from '../properties/color-match';
|
|
8
|
+
import { WithDataLabelsVisibility } from '../properties/data-labels/data-labels-visibility';
|
|
9
|
+
import { WithDataLabelsSymbol } from '../properties/data-labels/data-labels-symbol';
|
|
10
|
+
import { MixinInstances } from '../shared/utils';
|
|
8
11
|
import { PieChartLegendModel } from './pie-chart-legend-model';
|
|
9
12
|
export declare class PieChartModel extends ChartModel {
|
|
10
13
|
/**
|
|
@@ -287,5 +290,7 @@ export declare class PieChartModel extends ChartModel {
|
|
|
287
290
|
*/
|
|
288
291
|
generateChartTitle(): string;
|
|
289
292
|
}
|
|
290
|
-
|
|
293
|
+
declare const pieChartMixins: readonly [typeof PieChartLegendModel, typeof ModelWithTooltips, typeof WithColorMatch, typeof WithDataLabelsVisibility, typeof WithDataLabelsSymbol];
|
|
294
|
+
export interface PieChartModel extends MixinInstances<typeof pieChartMixins> {
|
|
291
295
|
}
|
|
296
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ChartConfig } from '../../../utils';
|
|
2
|
+
import { WebChartTextSymbol } from '../../../spec';
|
|
3
|
+
import { ChartModelBase } from '../../chart-model/chart-model-base';
|
|
4
|
+
/**
|
|
5
|
+
* Type guard for model `WithDataLabelsSymbol`.
|
|
6
|
+
*/
|
|
7
|
+
export declare function isModelWithDataLabelsSymbol(model: ChartModelBase | undefined): model is WithDataLabelsSymbol;
|
|
8
|
+
/**
|
|
9
|
+
* Gets the data labels text symbol from the chart config.
|
|
10
|
+
*/
|
|
11
|
+
export declare const getDataLabelsSymbol: (config: ChartConfig) => WebChartTextSymbol | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* Sets the data labels text symbol in the chart config.
|
|
14
|
+
*/
|
|
15
|
+
export declare const setDataLabelsSymbol: (newDataLabelsSymbol: WebChartTextSymbol | undefined, config: ChartConfig) => void;
|
|
16
|
+
/**
|
|
17
|
+
* Adds support for working with the data labels symbol.
|
|
18
|
+
*/
|
|
19
|
+
export declare abstract class WithDataLabelsSymbol extends ChartModelBase {
|
|
20
|
+
/**
|
|
21
|
+
* Data labels text symbol (font, color, style).
|
|
22
|
+
*/
|
|
23
|
+
get dataLabelsSymbol(): WebChartTextSymbol | undefined;
|
|
24
|
+
set dataLabelsSymbol(newDataLabelsSymbol: WebChartTextSymbol | undefined);
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ChartConfig } from '../../../utils';
|
|
2
|
+
import { ChartModelBase } from '../../chart-model/chart-model-base';
|
|
3
|
+
/**
|
|
4
|
+
* Type guard for model `WithDataLabelsVisibility`.
|
|
5
|
+
*/
|
|
6
|
+
export declare function isModelWithDataLabelsVisibility(model: ChartModelBase | undefined): model is WithDataLabelsVisibility;
|
|
7
|
+
/**
|
|
8
|
+
* Gets the data labels visibility from the chart config.
|
|
9
|
+
*/
|
|
10
|
+
export declare const getDataLabelsVisibility: (config: ChartConfig) => boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Sets the data labels visibility in the chart config.
|
|
13
|
+
*/
|
|
14
|
+
export declare const setDataLabelsVisibility: (newDataLabelsVisibility: boolean, config: ChartConfig) => void;
|
|
15
|
+
/**
|
|
16
|
+
* Adds support for working with the data labels visibility.
|
|
17
|
+
*/
|
|
18
|
+
export declare abstract class WithDataLabelsVisibility extends ChartModelBase {
|
|
19
|
+
/**
|
|
20
|
+
* Whether data labels are visible.
|
|
21
|
+
* true: visible, false: hidden.
|
|
22
|
+
*/
|
|
23
|
+
get dataLabelsVisibility(): boolean;
|
|
24
|
+
set dataLabelsVisibility(newDataLabelsVisibility: boolean);
|
|
25
|
+
}
|