@arcgis/charts-components 5.0.0-next.98 → 5.0.0-next.99
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/{WYCVFM65.js → 2BGDY2BP.js} +2 -2
- package/dist/cdn/{UAHGUBQ7.js → 2LOMVNFV.js} +2 -2
- package/dist/cdn/{UWIBS6DA.js → 2QQ44PPJ.js} +2 -2
- package/dist/cdn/{CDENO5CM.js → 2TPRQ4Y4.js} +2 -2
- package/dist/cdn/{DRIPFIJ7.js → 2WYVYSML.js} +2 -2
- package/dist/cdn/{CN7MSIQ6.js → 33JGOTKR.js} +2 -2
- package/dist/cdn/{ZWQOT4GG.js → 34SMUC5O.js} +2 -2
- package/dist/cdn/{ER6AZU6Z.js → 37KZXVO7.js} +2 -2
- package/dist/cdn/{365DC6KO.js → 3QBZTXAE.js} +2 -2
- package/dist/cdn/{BH7YV4BR.js → 3QEXDYKP.js} +2 -2
- package/dist/cdn/{RHNPSTQM.js → 3WEGNPAQ.js} +2 -2
- package/dist/cdn/{JYONIUGL.js → 43QA2EYJ.js} +2 -2
- package/dist/cdn/{ARC3OJQR.js → 46AEV2LQ.js} +2 -2
- package/dist/cdn/{IW4IV5EI.js → 4DRGCNUY.js} +2 -2
- package/dist/cdn/{E5TC6FLA.js → 4TP7CPB7.js} +2 -2
- package/dist/cdn/{U2RXBAEZ.js → 4WBXL7T5.js} +2 -2
- package/dist/cdn/{DY3FPT4W.js → 4Y2LTMB2.js} +2 -2
- package/dist/cdn/{FI465PWV.js → 4ZLTJOQO.js} +2 -2
- package/dist/cdn/{ME3ALNAS.js → 53DNLVAJ.js} +2 -2
- package/dist/cdn/{TN5O52SO.js → 5KO3EVQC.js} +3 -3
- package/dist/cdn/{YERKIQCC.js → 5QTSPRYU.js} +2 -2
- package/dist/cdn/{PKFGHLQG.js → 5TJRQBVJ.js} +2 -2
- package/dist/cdn/{ROGWYFJT.js → 5XKBPV2P.js} +2 -2
- package/dist/cdn/{M7XVLDWP.js → 6CWOFX2O.js} +2 -2
- package/dist/cdn/{MXAHP4KO.js → 6J2INGC2.js} +2 -2
- package/dist/cdn/{XVPSNHIK.js → 6JR4JUIG.js} +1 -1
- package/dist/cdn/{Q2YCXMO3.js → 6RXUXMQA.js} +2 -2
- package/dist/cdn/{HVIFP5EA.js → 6TA3BCNE.js} +2 -2
- package/dist/cdn/{GZ65TLSM.js → 75LUCO6I.js} +2 -2
- package/dist/cdn/{JS4F6M3J.js → 7DWP66OE.js} +2 -2
- package/dist/cdn/{CXEMHQUK.js → 7FMOMBK4.js} +2 -2
- package/dist/cdn/{WCU4XH27.js → 7KDZQKAU.js} +2 -2
- package/dist/cdn/{ZJETFSXD.js → 7KLS6YH4.js} +1 -1
- package/dist/cdn/{2B2Q6JJI.js → A4QKO7TA.js} +2 -2
- package/dist/cdn/{BVHYIWIR.js → ALGXVJEW.js} +2 -2
- package/dist/cdn/{NOKCF5RF.js → ALNDVQR4.js} +2 -2
- package/dist/cdn/{W6PFOV5G.js → AP7EOJUY.js} +2 -2
- package/dist/cdn/{5MGTDZN6.js → AQFUJFFL.js} +2 -2
- package/dist/cdn/{PZ6FDCD7.js → AR66HLLQ.js} +2 -2
- package/dist/cdn/{AWLOO5KK.js → ATOOMCCV.js} +2 -2
- package/dist/cdn/{GW6RQSHH.js → AYFWDJYK.js} +2 -2
- package/dist/cdn/{FZMANCO3.js → AYZIHXY2.js} +2 -2
- package/dist/cdn/{6323UGPC.js → BDJ6VTQU.js} +2 -2
- package/dist/cdn/{ETJ53GCF.js → BHQBCR7H.js} +2 -2
- package/dist/cdn/{HZRWUHFN.js → BLB6XJO6.js} +2 -2
- package/dist/cdn/{WBOZP6KG.js → BQ36ONIW.js} +2 -2
- package/dist/cdn/{PHFBKLGC.js → BY4LN7X3.js} +2 -2
- package/dist/cdn/{BW4FSQM7.js → CFQO3L2K.js} +2 -2
- package/dist/cdn/{JNM6QMBO.js → CGJPCV5J.js} +2 -2
- package/dist/cdn/{PAKBJRQN.js → CW4Z6GF6.js} +2 -2
- package/dist/cdn/{XT7LLS5S.js → CZGIB6GH.js} +2 -2
- package/dist/cdn/{GTGIY32G.js → DHY4IF2Q.js} +2 -2
- package/dist/cdn/{UW4POM7H.js → DL246FN4.js} +1 -1
- package/dist/cdn/{WSOXK3SW.js → DNMTF7HF.js} +2 -2
- package/dist/cdn/{VJE72VIF.js → DRK7BZ4T.js} +1 -1
- package/dist/cdn/{RUFVQ4YZ.js → DS5KEMAX.js} +2 -2
- package/dist/cdn/{FAMNW7KH.js → DZXJX4QS.js} +2 -2
- package/dist/cdn/{CZNFTLU5.js → E73EL3SK.js} +2 -2
- package/dist/cdn/{ADPIJAR2.js → ECTA522C.js} +2 -2
- package/dist/cdn/{3FPK66HO.js → EDJUZAUA.js} +1 -1
- package/dist/cdn/{SDQHTMQ4.js → EEBRTIA2.js} +2 -2
- package/dist/cdn/{HW662YNE.js → EO7ZVOY6.js} +2 -2
- package/dist/cdn/{TRRU36NC.js → ER24ETEV.js} +2 -2
- package/dist/cdn/{TTWHPWIY.js → F4MV2YNZ.js} +2 -2
- package/dist/cdn/{AFIDDZ3Z.js → FPXOYPBG.js} +2 -2
- package/dist/cdn/{C6RHL5Z2.js → G3AFAAPX.js} +2 -2
- package/dist/cdn/{FI4UA6EV.js → G3DZJCAM.js} +2 -2
- package/dist/cdn/{5UKL3T2R.js → G3ULH2V5.js} +2 -2
- package/dist/cdn/{E2RUSK2O.js → GABDCSHB.js} +2 -2
- package/dist/cdn/GP6RF56M.js +4 -0
- package/dist/cdn/{WSDFPJHT.js → H6PJMZK3.js} +2 -2
- package/dist/cdn/{WC6OPDLD.js → HFMT6PYX.js} +2 -2
- package/dist/cdn/{NJYTYM6E.js → HGVSDU2D.js} +2 -2
- package/dist/cdn/{R2QIHPHK.js → HJDZIHNN.js} +2 -2
- package/dist/cdn/{IJVCGB5E.js → HRCHB533.js} +2 -2
- package/dist/cdn/{SOYTTYEB.js → I32MXWCS.js} +2 -2
- package/dist/cdn/{MAMGOPXU.js → I5E6LJM5.js} +2 -2
- package/dist/cdn/{RVXBSTHN.js → IBQ6A35Z.js} +2 -2
- package/dist/cdn/{3HNOHZBS.js → IEC2JOS5.js} +2 -2
- package/dist/cdn/{ZPASTUHX.js → IEHJ5YJY.js} +2 -2
- package/dist/cdn/{LQMDFZXE.js → IU2AZ55F.js} +2 -2
- package/dist/cdn/{46HT2X5N.js → IXYT2QK4.js} +2 -2
- package/dist/cdn/{YDKNPBSG.js → J3J6SW7Q.js} +2 -2
- package/dist/cdn/{D4PQ244Q.js → J555BCJJ.js} +2 -2
- package/dist/cdn/{NYEOWL2A.js → J7T472VE.js} +2 -2
- package/dist/cdn/{2QGIVB7T.js → JG3KRIVV.js} +2 -2
- package/dist/cdn/{YIQON2Y2.js → JKPKSDJF.js} +2 -2
- package/dist/cdn/{LSWLOK73.js → JTWMVAWH.js} +2 -2
- package/dist/cdn/{4DGFTJNT.js → JWENQBIR.js} +2 -2
- package/dist/cdn/{PEU3WKFJ.js → JYUPIPQC.js} +2 -2
- package/dist/cdn/{PZ3WUIAI.js → K2PH4MPJ.js} +2 -2
- package/dist/cdn/{KNT5FFQM.js → KIRKWHUO.js} +2 -2
- package/dist/cdn/{VDOWTD4C.js → LGEVYBRS.js} +2 -2
- package/dist/cdn/{VRM5H5T4.js → LMUORJXF.js} +2 -2
- package/dist/cdn/LTF2V6RM.js +4 -0
- package/dist/cdn/{INUMAGAS.js → LXQKXIWJ.js} +2 -2
- package/dist/cdn/{3WPTZFZP.js → MA2SCZF6.js} +2 -2
- package/dist/cdn/{MWHJPZZ3.js → MAOJTCRH.js} +2 -2
- package/dist/cdn/{BQE6ZOVI.js → MNCSDUNT.js} +2 -2
- package/dist/cdn/{XP4SAXMG.js → MUW6SIAC.js} +2 -2
- package/dist/cdn/{ZYZP7VDZ.js → NUQ7NCAB.js} +2 -2
- package/dist/cdn/{3RZXYVV6.js → NWRYASUP.js} +1 -1
- package/dist/cdn/{GSQX6P7N.js → O6JIMU2Y.js} +2 -2
- package/dist/cdn/{DUJAIVPN.js → O6Y7RD73.js} +2 -2
- package/dist/cdn/{DMTFXYHR.js → OGICGI24.js} +2 -2
- package/dist/cdn/{E42FOFT6.js → OLFDCIYQ.js} +2 -2
- package/dist/cdn/{5QUSM2UY.js → ONWD6RTE.js} +2 -2
- package/dist/cdn/{XEVAKQUU.js → OTWUNJV6.js} +2 -2
- package/dist/cdn/{J3JMCISO.js → P5GNWDXN.js} +2 -2
- package/dist/cdn/{G43QIRRT.js → PCHLY7T6.js} +2 -2
- package/dist/cdn/{Q2JJJJ7N.js → PFH2WVUP.js} +2 -2
- package/dist/cdn/{OSQA7WER.js → PGN27UPE.js} +2 -2
- package/dist/cdn/{XZE5IQZX.js → Q5E2FHDY.js} +2 -2
- package/dist/cdn/{C7IUSW2V.js → QC76AIDX.js} +2 -2
- package/dist/cdn/{7RQJXAWF.js → QH273PKJ.js} +2 -2
- package/dist/cdn/{KL45ZQ6Z.js → QQUWF6FC.js} +2 -2
- package/dist/cdn/{PZABWOS3.js → QS463Q3Q.js} +2 -2
- package/dist/cdn/{JYVGC27D.js → QTIPHURA.js} +2 -2
- package/dist/cdn/{Q3CF6R7R.js → R2YLG2DH.js} +2 -2
- package/dist/cdn/{46WHHO7J.js → R42MRBJ7.js} +2 -2
- package/dist/cdn/{TQNRRCK3.js → RC4F6BGE.js} +2 -2
- package/dist/cdn/{EBTPXSP2.js → RM6DFXLP.js} +2 -2
- package/dist/cdn/{RRELAUGK.js → ROMO2YML.js} +2 -2
- package/dist/cdn/{DZLOBIYZ.js → RQJ4RKDK.js} +2 -2
- package/dist/cdn/{EIBLFSMZ.js → S2LFPDF5.js} +2 -2
- package/dist/cdn/{3C4TQQA7.js → S3YCKLEN.js} +2 -2
- package/dist/cdn/{SPMIK757.js → S5IQO6VL.js} +2 -2
- package/dist/cdn/{YCFIYIS5.js → SC2SKMEN.js} +2 -2
- package/dist/cdn/{T6KSIAGE.js → SGLVWLMU.js} +2 -2
- package/dist/cdn/{IYA74XW4.js → SIJBNXZR.js} +2 -2
- package/dist/cdn/SR2RYIK7.js +4 -0
- package/dist/cdn/{QDJHUZMP.js → SUSCV4LK.js} +2 -2
- package/dist/cdn/{NXLL54WT.js → T2SN5ZTL.js} +2 -2
- package/dist/cdn/{7A6SEQUK.js → T3XNTJM3.js} +2 -2
- package/dist/cdn/{HXRYI2VT.js → TF6OUOOR.js} +2 -2
- package/dist/cdn/{EQCVXHBF.js → TTD3BDTM.js} +2 -2
- package/dist/cdn/{FHJ2TWZU.js → U4NGRUWQ.js} +2 -2
- package/dist/cdn/{5IM6DOZH.js → U4VGN3VL.js} +2 -2
- package/dist/cdn/{J6K6TSNF.js → U545PRCC.js} +2 -2
- package/dist/cdn/{HQPAXAYQ.js → UVHDLZTZ.js} +2 -2
- package/dist/cdn/{5W4MQBMH.js → UW3P3B2G.js} +2 -2
- package/dist/cdn/{EBP64TFC.js → V5LQLGJL.js} +2 -2
- package/dist/cdn/{DEN6PIUN.js → VATDFANL.js} +2 -2
- package/dist/cdn/{VBVQHEHH.js → VN52A6A4.js} +2 -2
- package/dist/cdn/{ZGRSFCOI.js → VUJJOYF6.js} +2 -2
- package/dist/cdn/{LY4AOSA5.js → W6UFQN4U.js} +2 -2
- package/dist/cdn/{4ZSZR5OK.js → WIQDGBQ3.js} +2 -2
- package/dist/cdn/{QEEJ2UIU.js → WPBJ6RI3.js} +2 -2
- package/dist/cdn/{A24IDTVK.js → WPHD2L76.js} +2 -2
- package/dist/cdn/{K3F75UGQ.js → WQ2ZAL4H.js} +2 -2
- package/dist/cdn/{QQPJETQS.js → WRQVFQS4.js} +2 -2
- package/dist/cdn/{VOAONVRO.js → WVJZQYM2.js} +1 -1
- package/dist/cdn/{RCVZ4V2M.js → X322N7ZG.js} +7 -7
- package/dist/cdn/{YVS3FQIJ.js → X5JW2PHY.js} +2 -2
- package/dist/cdn/{ORVKY6HR.js → XIEB3EPZ.js} +2 -2
- package/dist/cdn/{BGT6MRGW.js → XILGAVNL.js} +2 -2
- package/dist/cdn/{2UZUZBJW.js → XTB66PUT.js} +2 -2
- package/dist/cdn/Y2RUVTF5.js +4 -0
- package/dist/cdn/{3OXMO5BN.js → YDL2MYNV.js} +2 -2
- package/dist/cdn/{47674F4C.js → YEZ2QFF6.js} +2 -2
- package/dist/cdn/{4QN62WQF.js → YGDZWIF4.js} +2 -2
- package/dist/cdn/{AZR2ZNLJ.js → YLMMHPDT.js} +2 -2
- package/dist/cdn/{ZTNM4WH5.js → YU5GZWT7.js} +2 -2
- package/dist/cdn/{DMESIMXG.js → YUNAOJ5W.js} +2 -2
- package/dist/cdn/{MUKPP66Y.js → YWQGVASZ.js} +2 -2
- package/dist/cdn/{HDT23WIY.js → Z2RRTYDA.js} +2 -2
- package/dist/cdn/{PAZRNCRX.js → ZC4XYKME.js} +2 -2
- package/dist/cdn/{56S3JBPY.js → ZDJ6XXAZ.js} +1 -1
- package/dist/cdn/{HNJ6DUUN.js → ZGKAHBLD.js} +2 -2
- package/dist/cdn/{XXASN7W3.js → ZLP35BLL.js} +2 -2
- package/dist/cdn/{G42JXGOO.js → ZOESFFYV.js} +2 -2
- package/dist/cdn/{T3C67EVM.js → ZOFGYG6R.js} +2 -2
- package/dist/cdn/{DVMSSV25.js → ZPRJFD3K.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +7 -7
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +8 -8
- package/dist/chunks/box-plot-model.js +13 -13
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +3 -2
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +15 -15
- package/dist/chunks/heat-chart-model.js +38 -38
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +27 -27
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/line-chart-model.js +7 -7
- package/dist/chunks/model-with-multi-axes.js +1120 -1030
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +32 -32
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +5 -5
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +9 -9
- package/dist/chunks/serial-chart-data.js +587 -532
- package/dist/chunks/serial-chart-model.js +5 -5
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +7 -7
- package/dist/components/arcgis-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- 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 +1 -1
- package/dist/loader.js +1 -1
- package/dist/model/chart-model/chart-model-base.d.ts +100 -0
- package/dist/model/chart-model/chart-model.d.ts +29 -254
- package/dist/model/decorators/model-setter.d.ts +2 -2
- package/dist/model/properties/background-color.d.ts +21 -0
- package/dist/model/properties/chart-id.d.ts +20 -0
- package/dist/model/properties/chart-renderer.d.ts +21 -0
- package/dist/model/properties/chart-sub-type.d.ts +15 -0
- package/dist/model/properties/chart-type.d.ts +10 -0
- package/dist/model/properties/config.d.ts +12 -0
- package/dist/model/properties/data-filters.d.ts +26 -0
- package/dist/model/properties/data-tooltip-value-format.d.ts +34 -0
- package/dist/model/properties/description/description-symbol.d.ts +21 -0
- package/dist/model/properties/description/description-text.d.ts +17 -0
- package/dist/model/properties/description/description-visibility.d.ts +26 -0
- package/dist/model/properties/fetch-null-values.d.ts +20 -0
- package/dist/model/properties/layer.d.ts +11 -0
- package/dist/model/properties/series/series-id.d.ts +19 -0
- package/dist/model/properties/series/series-index.d.ts +19 -0
- package/dist/model/properties/series/series-length.d.ts +15 -0
- package/dist/model/properties/series/series-visibility.d.ts +28 -0
- package/dist/model/properties/split-by-values.d.ts +15 -0
- package/dist/model/properties/subtitle/subtitle-symbol.d.ts +21 -0
- package/dist/model/properties/subtitle/subtitle-text.d.ts +20 -0
- package/dist/model/properties/subtitle/subtitle-visibility.d.ts +26 -0
- package/dist/model/properties/title/title-symbol.d.ts +21 -0
- package/dist/model/properties/title/title-text.d.ts +20 -0
- package/dist/model/properties/title/title-visibility.d.ts +26 -0
- package/dist/model/properties/version.d.ts +15 -0
- package/dist/model.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/423EUZVS.js +0 -4
- package/dist/cdn/DVXJOYGR.js +0 -4
- package/dist/cdn/O4W5ASGJ.js +0 -4
- package/dist/cdn/OSZKXW7H.js +0 -4
- package/dist/model/chart-model/utils/data.d.ts +0 -37
- package/dist/model/chart-model/utils/format.d.ts +0 -46
- package/dist/model/chart-model/utils/general.d.ts +0 -95
- package/dist/model/chart-model/utils/series.d.ts +0 -37
|
@@ -32,7 +32,7 @@ import { createRef as h, ref as c } from "lit/directives/ref.js";
|
|
|
32
32
|
import { LitElement as _, createEvent as E, renderElement as D, safeClassMap as i, safeStyleMap as I } from "@arcgis/lumina";
|
|
33
33
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
34
34
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
35
|
-
v5.0.0-next.
|
|
35
|
+
v5.0.0-next.99 */
|
|
36
36
|
const l = {
|
|
37
37
|
label: "label",
|
|
38
38
|
r2: "r2",
|
|
@@ -32,7 +32,7 @@ import { createRef as m, ref as g } from "lit/directives/ref.js";
|
|
|
32
32
|
import { LitElement as P, createEvent as l, safeClassMap as a } from "@arcgis/lumina";
|
|
33
33
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
34
34
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
35
|
-
v5.0.0-next.
|
|
35
|
+
v5.0.0-next.99 */
|
|
36
36
|
const r = {
|
|
37
37
|
jsAppFlyout: "js-app-flyout",
|
|
38
38
|
scatterplotPopover: "scatter-plot-popover",
|
|
@@ -30,7 +30,7 @@ import { LitElement as d, createEvent as o, safeClassMap as s } from "@arcgis/lu
|
|
|
30
30
|
import { M as e } from "../../chunks/common.js";
|
|
31
31
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
32
32
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
33
|
-
v5.0.0-next.
|
|
33
|
+
v5.0.0-next.99 */
|
|
34
34
|
const i = {
|
|
35
35
|
selectChartComponent: "select-chart-component",
|
|
36
36
|
jsAppFlyout: "js-app-flyout",
|
|
@@ -30,7 +30,7 @@ import { LitElement as v, createEvent as s, safeClassMap as c, renderElement as
|
|
|
30
30
|
import { repeat as w } from "lit/directives/repeat.js";
|
|
31
31
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
32
32
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
33
|
-
v5.0.0-next.
|
|
33
|
+
v5.0.0-next.99 */
|
|
34
34
|
const n = {
|
|
35
35
|
addChartContainer: "add-chart-container",
|
|
36
36
|
viewChartComponent: "view-chart-component",
|
package/dist/docs/api.json
CHANGED
package/dist/docs/docs.json
CHANGED
package/dist/docs/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@arcgis/charts-components",
|
|
4
|
-
"version": "5.0.0-next.
|
|
4
|
+
"version": "5.0.0-next.99",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
package/dist/index.js
CHANGED
|
@@ -16,7 +16,7 @@ import { B as Jo, a as en, C as an, H as tn, L as sn, P as rn, S as on } from ".
|
|
|
16
16
|
import { g as ln, s as un } from "./chunks/runtime.js";
|
|
17
17
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
18
18
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
19
|
-
v5.0.0-next.
|
|
19
|
+
v5.0.0-next.99 */
|
|
20
20
|
function v(a) {
|
|
21
21
|
let o;
|
|
22
22
|
switch (a.length) {
|
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.99 */
|
|
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"],
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { ModelParams } from '../interfaces/chart-interfaces';
|
|
2
|
+
import { LayerInfo, ModelTypes } from '../interfaces/common';
|
|
3
|
+
import { ChartConfig, ChartTypes, CommonStrings } from '../../utils';
|
|
4
|
+
import { ChartModel } from './chart-model';
|
|
5
|
+
export declare abstract class ChartModelBase extends EventTarget {
|
|
6
|
+
/**
|
|
7
|
+
* Current configuration used for the chart.
|
|
8
|
+
*/
|
|
9
|
+
protected _config: ChartConfig;
|
|
10
|
+
/**
|
|
11
|
+
* Grouping of layer-related properties to be passed to external function more compactly.
|
|
12
|
+
*/
|
|
13
|
+
protected layerInfo: LayerInfo;
|
|
14
|
+
/**
|
|
15
|
+
* Common strings used in the model.
|
|
16
|
+
*/
|
|
17
|
+
protected commonStrings: CommonStrings;
|
|
18
|
+
/**
|
|
19
|
+
* Chart type.
|
|
20
|
+
*/
|
|
21
|
+
protected _chartType: ChartTypes;
|
|
22
|
+
/**
|
|
23
|
+
* List of setters (either props or methods) that have been changed and will require an async series rebuild.
|
|
24
|
+
*/
|
|
25
|
+
protected dirtyAsyncSetters: string[];
|
|
26
|
+
/**
|
|
27
|
+
* Whether or not an async series update is currently in progress.
|
|
28
|
+
*/
|
|
29
|
+
protected asyncConfigUpdateInProgress: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Number of pending async updates.
|
|
32
|
+
*/
|
|
33
|
+
protected pendingUpdates: number;
|
|
34
|
+
/**
|
|
35
|
+
* Function that resolves the setup promise.
|
|
36
|
+
*/
|
|
37
|
+
protected resolveSetup?: () => void;
|
|
38
|
+
/**
|
|
39
|
+
* Completes the async setup process for the chart model. Must be called before using the model.
|
|
40
|
+
*
|
|
41
|
+
* @param params - The parameters to be used to set up the chart model.
|
|
42
|
+
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
43
|
+
*/
|
|
44
|
+
abstract setup(params: ModelParams<ChartConfig>): Promise<void>;
|
|
45
|
+
/**
|
|
46
|
+
* Checks if the current chart model is for the same chart as another chart model.
|
|
47
|
+
*
|
|
48
|
+
* @param otherModel - The other chart model to compare to.
|
|
49
|
+
*/
|
|
50
|
+
isSameChartAs(otherModel: ChartModel | undefined): boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Generate the proper chart title from the current config.
|
|
53
|
+
*/
|
|
54
|
+
abstract generateChartTitle(): string;
|
|
55
|
+
/**
|
|
56
|
+
* Can be awaited to allow any pending async updates to complete.
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
update(): Promise<void>;
|
|
60
|
+
/**
|
|
61
|
+
* Data store object that can be used to store any data needed for the chart.
|
|
62
|
+
*/
|
|
63
|
+
dataStore: any;
|
|
64
|
+
/**
|
|
65
|
+
* Promise that resolves when the setup process is complete.
|
|
66
|
+
*
|
|
67
|
+
* **Note:** This promise does not need to be awaited if the `setup` method has already been awaited. It is simply provided as a way to await the setup process from other functions if needed to avoid race conditions.
|
|
68
|
+
*/
|
|
69
|
+
asyncUpdatesPromise: Promise<void>;
|
|
70
|
+
/**
|
|
71
|
+
* Emits a config update event.
|
|
72
|
+
*/
|
|
73
|
+
protected emitConfigUpdate: (setterName: string) => void;
|
|
74
|
+
/**
|
|
75
|
+
* A function that generates the default config object when creating a new chart.
|
|
76
|
+
*/
|
|
77
|
+
protected abstract generateDefaultConfig(): Omit<typeof this._config, "iLayer">;
|
|
78
|
+
/**
|
|
79
|
+
* A function that loads the config based on the provided props.
|
|
80
|
+
*
|
|
81
|
+
* @param params.layer - The layer to be used as the data source for the chart.
|
|
82
|
+
* @param params.iLayer - The layer description to use if the layer is not provided.
|
|
83
|
+
* @param params.config - The config object to be loaded.
|
|
84
|
+
*/
|
|
85
|
+
protected loadConfigFromLayer<T extends ModelTypes>(params: ModelParams<ChartConfig<T>>): Promise<void>;
|
|
86
|
+
/**
|
|
87
|
+
* Manually block the async guard to queue up config updates until unblocked.
|
|
88
|
+
*/
|
|
89
|
+
protected startAsyncUpdate(): void;
|
|
90
|
+
/**
|
|
91
|
+
* Manually unblock the async guard to allow queued config updates to proceed.
|
|
92
|
+
*/
|
|
93
|
+
protected finishAsyncUpdate(): void;
|
|
94
|
+
/**
|
|
95
|
+
* Guards a setter from being called while an async config update is in progress so that the value being set is not overwritten by the async config update.
|
|
96
|
+
*
|
|
97
|
+
* @param setter - The setter callback to call after setup or async config update is finished.
|
|
98
|
+
*/
|
|
99
|
+
protected guardSetterFromAsyncOverwrite: (setter: (() => Promise<void>) | (() => void)) => Promise<void>;
|
|
100
|
+
}
|
|
@@ -1,255 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
protected asyncConfigUpdateInProgress: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Number of pending async updates.
|
|
33
|
-
*/
|
|
34
|
-
protected pendingUpdates: number;
|
|
35
|
-
/**
|
|
36
|
-
* Function that resolves the setup promise.
|
|
37
|
-
*/
|
|
38
|
-
protected resolveSetup?: () => void;
|
|
39
|
-
/**
|
|
40
|
-
* Completes the async setup process for the chart model. Must be called before using the model.
|
|
41
|
-
*
|
|
42
|
-
* @param params - The parameters to be used to set up the chart model.
|
|
43
|
-
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
44
|
-
*/
|
|
45
|
-
abstract setup(params: ModelParams<ChartConfig>): Promise<void>;
|
|
46
|
-
/**
|
|
47
|
-
* Checks if the current chart model is for the same chart as another chart model.
|
|
48
|
-
*
|
|
49
|
-
* @param otherModel - The other chart model to compare to.
|
|
50
|
-
*/
|
|
51
|
-
isSameChartAs(otherModel: ChartModel | undefined): boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Generate the proper chart title from the current config.
|
|
54
|
-
*/
|
|
55
|
-
abstract generateChartTitle(): string;
|
|
56
|
-
/**
|
|
57
|
-
* Can be awaited to allow any pending async updates to complete.
|
|
58
|
-
* @public
|
|
59
|
-
*/
|
|
60
|
-
update(): Promise<void>;
|
|
61
|
-
/**
|
|
62
|
-
* Data store object that can be used to store any data needed for the chart.
|
|
63
|
-
*/
|
|
64
|
-
dataStore: any;
|
|
65
|
-
/**
|
|
66
|
-
* Promise that resolves when the setup process is complete.
|
|
67
|
-
*
|
|
68
|
-
* **Note:** This promise does not need to be awaited if the `setup` method has already been awaited. It is simply provided as a way to await the setup process from other functions if needed to avoid race conditions.
|
|
69
|
-
*/
|
|
70
|
-
asyncUpdatesPromise: Promise<void>;
|
|
71
|
-
/**
|
|
72
|
-
* The current chart configuration object.
|
|
73
|
-
*/
|
|
74
|
-
get config(): ChartConfig;
|
|
75
|
-
set config(config: ChartConfig);
|
|
76
|
-
/**
|
|
77
|
-
* The chart type.
|
|
78
|
-
*/
|
|
79
|
-
get chartType(): typeof this._chartType;
|
|
80
|
-
/**
|
|
81
|
-
* The associated layer.
|
|
82
|
-
*/
|
|
83
|
-
get layer(): SupportedLayer | undefined;
|
|
84
|
-
/**
|
|
85
|
-
* The chart ID.
|
|
86
|
-
*/
|
|
87
|
-
get chartId(): string | undefined;
|
|
88
|
-
set chartId(id: string | undefined);
|
|
89
|
-
/**
|
|
90
|
-
* The version of the chart configuration.
|
|
91
|
-
*/
|
|
92
|
-
get version(): string | undefined;
|
|
93
|
-
/**
|
|
94
|
-
* The chart title text.
|
|
95
|
-
*/
|
|
96
|
-
get titleText(): string;
|
|
97
|
-
set titleText(title: string);
|
|
98
|
-
/**
|
|
99
|
-
* The chart subtitle text.
|
|
100
|
-
*/
|
|
101
|
-
get subtitleText(): string;
|
|
102
|
-
set subtitleText(subtitle: string);
|
|
103
|
-
/**
|
|
104
|
-
* The chart description text.
|
|
105
|
-
*/
|
|
106
|
-
get descriptionText(): string;
|
|
107
|
-
set descriptionText(description: string);
|
|
108
|
-
/**
|
|
109
|
-
* Whether or not the chart title is visible.
|
|
110
|
-
* `true`: Chart title is visible.
|
|
111
|
-
* `false`: Chart title is hidden.
|
|
112
|
-
* **Note:** Even if the title is visible, it may not be displayed if the title text is empty.
|
|
113
|
-
*/
|
|
114
|
-
get chartTitleVisibility(): boolean;
|
|
115
|
-
set chartTitleVisibility(visibility: boolean);
|
|
116
|
-
/**
|
|
117
|
-
* Whether or not the chart subtitle is visible.
|
|
118
|
-
* `true`: Chart subtitle is visible.
|
|
119
|
-
* `false`: Chart subtitle is hidden.
|
|
120
|
-
* **Note:** Even if the subtitle is visible, it may not be displayed if the subtitle text is empty.
|
|
121
|
-
*/
|
|
122
|
-
get chartSubtitleVisibility(): boolean;
|
|
123
|
-
set chartSubtitleVisibility(visibility: boolean);
|
|
124
|
-
/**
|
|
125
|
-
* Whether or not the chart description is visible.
|
|
126
|
-
* `true`: Description is visible.
|
|
127
|
-
* `false`: Description is hidden.
|
|
128
|
-
* **Note:** Even if the description is visible, it may not be displayed if the description text is empty.
|
|
129
|
-
*/
|
|
130
|
-
get descriptionVisibility(): boolean;
|
|
131
|
-
set descriptionVisibility(visibility: boolean);
|
|
132
|
-
/**
|
|
133
|
-
* The chart renderer.
|
|
134
|
-
*/
|
|
135
|
-
get chartRenderer(): IDrawingInfo["renderer"] | undefined;
|
|
136
|
-
set chartRenderer(renderer: IDrawingInfo["renderer"]);
|
|
137
|
-
/**
|
|
138
|
-
* The title text symbol. Contains styling information such as font, color, and symbol style.
|
|
139
|
-
*/
|
|
140
|
-
get titleSymbol(): WebChartTextSymbol | undefined;
|
|
141
|
-
set titleSymbol(titleSymbol: WebChartTextSymbol | undefined);
|
|
142
|
-
/**
|
|
143
|
-
* The subtitle text symbol. Contains styling information such as font, color, and symbol style.
|
|
144
|
-
*/
|
|
145
|
-
get subtitleSymbol(): WebChartTextSymbol | undefined;
|
|
146
|
-
set subtitleSymbol(subtitleSymbol: WebChartTextSymbol | undefined);
|
|
147
|
-
/**
|
|
148
|
-
* The description text symbol. Contains styling information such as font, color, and symbol style.
|
|
149
|
-
*/
|
|
150
|
-
get descriptionSymbol(): WebChartTextSymbol | undefined;
|
|
151
|
-
set descriptionSymbol(descriptionSymbol: WebChartTextSymbol | undefined);
|
|
152
|
-
/**
|
|
153
|
-
* The background color of the chart.
|
|
154
|
-
*/
|
|
155
|
-
get backgroundColor(): Color | undefined;
|
|
156
|
-
set backgroundColor(backgroundColor: Color | undefined);
|
|
157
|
-
/**
|
|
158
|
-
* Gets the visibility of a series.
|
|
159
|
-
*
|
|
160
|
-
* @param seriesIndex The series index
|
|
161
|
-
*/
|
|
162
|
-
getSeriesVisibility(seriesIndex: number): boolean;
|
|
163
|
-
/**
|
|
164
|
-
* Sets the visibility of a series.
|
|
165
|
-
*
|
|
166
|
-
* @param props - Visibility options for the series.
|
|
167
|
-
*/
|
|
168
|
-
setSeriesVisibility(props: LegendItemVisibility): void;
|
|
169
|
-
/**
|
|
170
|
-
* Gets the series ID for a given series index.
|
|
171
|
-
* If the series index is out of bounds, this function will return `undefined`.
|
|
172
|
-
*
|
|
173
|
-
* @param seriesIndex - The index of the series.
|
|
174
|
-
*/
|
|
175
|
-
getSeriesId(seriesIndex: number): string | undefined;
|
|
176
|
-
/**
|
|
177
|
-
* Gets the series index for a given series ID.
|
|
178
|
-
* If the series ID is not found, this function will return `undefined`.
|
|
179
|
-
*
|
|
180
|
-
* @param seriesId - The ID of the series.
|
|
181
|
-
*/
|
|
182
|
-
getSeriesIndex(seriesId: string): number | undefined;
|
|
183
|
-
/**
|
|
184
|
-
* The length of the series array.
|
|
185
|
-
*/
|
|
186
|
-
get seriesLength(): number;
|
|
187
|
-
/**
|
|
188
|
-
* The chart sub type of the series.
|
|
189
|
-
*/
|
|
190
|
-
get chartSubType(): ChartSubType;
|
|
191
|
-
/**
|
|
192
|
-
* Gets the data tooltip value format for a series.
|
|
193
|
-
*
|
|
194
|
-
* If the series index is out of bounds or the series list is empty, this function will return `undefined`.
|
|
195
|
-
*
|
|
196
|
-
* @param seriesIndex - The index of the series to retrieve the value format for.
|
|
197
|
-
*/
|
|
198
|
-
getDataTooltipValueFormat(seriesIndex: number): NumberFormatOptions | undefined;
|
|
199
|
-
/**
|
|
200
|
-
* Sets the data tooltip value format for a series.
|
|
201
|
-
*
|
|
202
|
-
* @param seriesIndex - The index of the series to set the value format for.
|
|
203
|
-
* @param valueFormat - The value format to set.
|
|
204
|
-
*/
|
|
205
|
-
setDataTooltipValueFormat(seriesIndex: number, valueFormat: NumberFormatOptions | undefined): void;
|
|
206
|
-
/**
|
|
207
|
-
* Whether to fetch `null` values for them to be counted or displayed as categories on the chart.
|
|
208
|
-
*/
|
|
209
|
-
get fetchNULLValues(): boolean;
|
|
210
|
-
set fetchNULLValues(fetchNULLValues: boolean);
|
|
211
|
-
/**
|
|
212
|
-
* The split-by values for the chart.
|
|
213
|
-
*/
|
|
214
|
-
get splitByValues(): string[];
|
|
215
|
-
/**
|
|
216
|
-
* Gets the data filter for the bar chart.
|
|
217
|
-
*/
|
|
218
|
-
getDataFilters(): WebChartDataFilters | undefined;
|
|
219
|
-
/**
|
|
220
|
-
* Sets the data filter for the chart.
|
|
221
|
-
*
|
|
222
|
-
* @param newDataFilters - The new data filter.
|
|
223
|
-
*/
|
|
224
|
-
setDataFilters(newDataFilters: WebChartDataFilters | undefined): Promise<void>;
|
|
225
|
-
/**
|
|
226
|
-
* Emits a config update event.
|
|
227
|
-
*/
|
|
228
|
-
protected emitConfigUpdate: (setterName: string) => void;
|
|
229
|
-
/**
|
|
230
|
-
* A function that generates the default config object when creating a new chart.
|
|
231
|
-
*/
|
|
232
|
-
protected abstract generateDefaultConfig(): Omit<typeof this._config, "iLayer">;
|
|
233
|
-
/**
|
|
234
|
-
* A function that loads the config based on the provided props.
|
|
235
|
-
*
|
|
236
|
-
* @param params.layer - The layer to be used as the data source for the chart.
|
|
237
|
-
* @param params.iLayer - The layer description to use if the layer is not provided.
|
|
238
|
-
* @param params.config - The config object to be loaded.
|
|
239
|
-
*/
|
|
240
|
-
protected loadConfigFromLayer<T extends ModelTypes>(params: ModelParams<ChartConfig<T>>): Promise<void>;
|
|
241
|
-
/**
|
|
242
|
-
* Manually block the async guard to queue up config updates until unblocked.
|
|
243
|
-
*/
|
|
244
|
-
protected startAsyncUpdate(): void;
|
|
245
|
-
/**
|
|
246
|
-
* Manually unblock the async guard to allow queued config updates to proceed.
|
|
247
|
-
*/
|
|
248
|
-
protected finishAsyncUpdate(): void;
|
|
249
|
-
/**
|
|
250
|
-
* Guards a setter from being called while an async config update is in progress so that the value being set is not overwritten by the async config update.
|
|
251
|
-
*
|
|
252
|
-
* @param setter - The setter callback to call after setup or async config update is finished.
|
|
253
|
-
*/
|
|
254
|
-
protected guardSetterFromAsyncOverwrite: (setter: (() => Promise<void>) | (() => void)) => Promise<void>;
|
|
1
|
+
import { WithTitleText } from '../properties/title/title-text';
|
|
2
|
+
import { WithTitleSymbol } from '../properties/title/title-symbol';
|
|
3
|
+
import { ChartModelBase } from './chart-model-base';
|
|
4
|
+
import { WithConfig } from '../properties/config';
|
|
5
|
+
import { WithChartType } from '../properties/chart-type';
|
|
6
|
+
import { WithLayer } from '../properties/layer';
|
|
7
|
+
import { WithChartId } from '../properties/chart-id';
|
|
8
|
+
import { WithVersion } from '../properties/version';
|
|
9
|
+
import { WithSubtitleText } from '../properties/subtitle/subtitle-text';
|
|
10
|
+
import { WithSubtitleSymbol } from '../properties/subtitle/subtitle-symbol';
|
|
11
|
+
import { WithDescriptionText } from '../properties/description/description-text';
|
|
12
|
+
import { WithDescriptionSymbol } from '../properties/description/description-symbol';
|
|
13
|
+
import { WithChartTitleVisibility } from '../properties/title/title-visibility';
|
|
14
|
+
import { WithChartSubtitleVisibility } from '../properties/subtitle/subtitle-visibility';
|
|
15
|
+
import { WithDescriptionVisibility } from '../properties/description/description-visibility';
|
|
16
|
+
import { WithChartRenderer } from '../properties/chart-renderer';
|
|
17
|
+
import { WithBackgroundColor } from '../properties/background-color';
|
|
18
|
+
import { WithSeriesVisibility } from '../properties/series/series-visibility';
|
|
19
|
+
import { WithSeriesId } from '../properties/series/series-id';
|
|
20
|
+
import { WithSeriesIndex } from '../properties/series/series-index';
|
|
21
|
+
import { WithSeriesLength } from '../properties/series/series-length';
|
|
22
|
+
import { WithChartSubType } from '../properties/chart-sub-type';
|
|
23
|
+
import { WithSeriesDataTooltipValueFormat } from '../properties/data-tooltip-value-format';
|
|
24
|
+
import { WithFetchNULLValues } from '../properties/fetch-null-values';
|
|
25
|
+
import { WithSplitByValues } from '../properties/split-by-values';
|
|
26
|
+
import { WithDataFilters } from '../properties/data-filters';
|
|
27
|
+
export declare abstract class ChartModel extends ChartModelBase {
|
|
28
|
+
}
|
|
29
|
+
export interface ChartModel extends WithConfig, WithChartType, WithLayer, WithChartId, WithTitleText, WithTitleSymbol, WithVersion, WithSubtitleText, WithSubtitleSymbol, WithDescriptionText, WithDescriptionSymbol, WithChartTitleVisibility, WithChartSubtitleVisibility, WithDescriptionVisibility, WithChartRenderer, WithBackgroundColor, WithSeriesVisibility, WithSeriesId, WithSeriesIndex, WithSeriesLength, WithChartSubType, WithSeriesDataTooltipValueFormat, WithFetchNULLValues, WithSplitByValues, WithDataFilters {
|
|
255
30
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChartModelBase } from '../chart-model/chart-model-base';
|
|
2
2
|
/**
|
|
3
3
|
* Decorator for property setter in a chart model that will:
|
|
4
4
|
* - guard against async overwrite issues
|
|
5
5
|
* - emit a config update event
|
|
6
6
|
*/
|
|
7
|
-
export declare function modelSetter(_target:
|
|
7
|
+
export declare function modelSetter(_target: ChartModelBase, propertyKey: string, descriptor: PropertyDescriptor): PropertyDescriptor;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Color } from '../../spec';
|
|
2
|
+
import { ChartConfig } from '../../utils/types';
|
|
3
|
+
import { ChartModelBase } from '../chart-model/chart-model-base';
|
|
4
|
+
/**
|
|
5
|
+
* Gets the background color from the chart config.
|
|
6
|
+
*/
|
|
7
|
+
export declare const getBackgroundColor: (config: ChartConfig) => Color | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Sets the background color on the chart config.
|
|
10
|
+
*/
|
|
11
|
+
export declare const setBackgroundColor: (backgroundColor: Color | undefined, config: ChartConfig) => void;
|
|
12
|
+
/**
|
|
13
|
+
* Adds support for working with the chart background color.
|
|
14
|
+
*/
|
|
15
|
+
export declare abstract class WithBackgroundColor extends ChartModelBase {
|
|
16
|
+
/**
|
|
17
|
+
* The background color of the chart.
|
|
18
|
+
*/
|
|
19
|
+
get backgroundColor(): Color | undefined;
|
|
20
|
+
set backgroundColor(backgroundColor: Color | undefined);
|
|
21
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ChartConfig } from '../../utils';
|
|
2
|
+
import { ChartModelBase } from '../chart-model/chart-model-base';
|
|
3
|
+
/**
|
|
4
|
+
* Gets the chart ID from the config.
|
|
5
|
+
*/
|
|
6
|
+
export declare const getChartId: (config: ChartConfig) => string | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* Sets the chart ID in the config.
|
|
9
|
+
*/
|
|
10
|
+
export declare const setChartId: (id: string | undefined, config: ChartConfig) => void;
|
|
11
|
+
/**
|
|
12
|
+
* Adds getter/setter support for the chart identifier.
|
|
13
|
+
*/
|
|
14
|
+
export declare abstract class WithChartId extends ChartModelBase {
|
|
15
|
+
/**
|
|
16
|
+
* The chart ID.
|
|
17
|
+
*/
|
|
18
|
+
get chartId(): string | undefined;
|
|
19
|
+
set chartId(id: string | undefined);
|
|
20
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IDrawingInfo } from '../../spec';
|
|
2
|
+
import { ChartConfig } from '../../utils/types';
|
|
3
|
+
import { ChartModelBase } from '../chart-model/chart-model-base';
|
|
4
|
+
/**
|
|
5
|
+
* Gets the chart renderer from the config.
|
|
6
|
+
*/
|
|
7
|
+
export declare const getChartRenderer: (config: ChartConfig) => IDrawingInfo["renderer"] | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Sets the chart renderer on the config.
|
|
10
|
+
*/
|
|
11
|
+
export declare const setChartRenderer: (renderer: IDrawingInfo["renderer"] | undefined, config: ChartConfig) => void;
|
|
12
|
+
/**
|
|
13
|
+
* Adds support for working with chart renderer.
|
|
14
|
+
*/
|
|
15
|
+
export declare abstract class WithChartRenderer extends ChartModelBase {
|
|
16
|
+
/**
|
|
17
|
+
* The chart renderer.
|
|
18
|
+
*/
|
|
19
|
+
get chartRenderer(): IDrawingInfo["renderer"] | undefined;
|
|
20
|
+
set chartRenderer(renderer: IDrawingInfo["renderer"]);
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ChartConfig, ChartSubType } from '../../utils';
|
|
2
|
+
import { ChartModelBase } from '../chart-model/chart-model-base';
|
|
3
|
+
/**
|
|
4
|
+
* Gets the chart sub type for the current series configuration.
|
|
5
|
+
*/
|
|
6
|
+
export declare const getSeriesChartSubType: (config: ChartConfig) => ChartSubType;
|
|
7
|
+
/**
|
|
8
|
+
* Adds support for reading the chart sub type.
|
|
9
|
+
*/
|
|
10
|
+
export declare abstract class WithChartSubType extends ChartModelBase {
|
|
11
|
+
/**
|
|
12
|
+
* The chart sub type of the series.
|
|
13
|
+
*/
|
|
14
|
+
get chartSubType(): ChartSubType;
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ChartModelBase } from '../chart-model/chart-model-base';
|
|
2
|
+
/**
|
|
3
|
+
* Adds getter support for the chart type.
|
|
4
|
+
*/
|
|
5
|
+
export declare abstract class WithChartType extends ChartModelBase {
|
|
6
|
+
/**
|
|
7
|
+
* The chart type.
|
|
8
|
+
*/
|
|
9
|
+
get chartType(): typeof this._chartType;
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ChartModelBase } from '../chart-model/chart-model-base';
|
|
2
|
+
import { ChartConfig } from '../../utils';
|
|
3
|
+
/**
|
|
4
|
+
* Adds getter/setter support for the chart configuration object.
|
|
5
|
+
*/
|
|
6
|
+
export declare abstract class WithConfig extends ChartModelBase {
|
|
7
|
+
/**
|
|
8
|
+
* The current chart configuration object.
|
|
9
|
+
*/
|
|
10
|
+
get config(): ChartConfig;
|
|
11
|
+
set config(config: ChartConfig);
|
|
12
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { WebChartDataFilters } from '../../spec';
|
|
2
|
+
import { ChartConfig } from '../../utils';
|
|
3
|
+
import { ChartModelBase } from '../chart-model/chart-model-base';
|
|
4
|
+
/**
|
|
5
|
+
* Get the data filter from the config.
|
|
6
|
+
*/
|
|
7
|
+
export declare const getDataFilters: (config: ChartConfig) => WebChartDataFilters | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Set the data filter in the config.
|
|
10
|
+
*/
|
|
11
|
+
export declare const setDataFilters: (dataFilter: WebChartDataFilters | undefined, config: ChartConfig) => void;
|
|
12
|
+
/**
|
|
13
|
+
* Adds support for working with chart data filters.
|
|
14
|
+
*/
|
|
15
|
+
export declare abstract class WithDataFilters extends ChartModelBase {
|
|
16
|
+
/**
|
|
17
|
+
* Gets the data filter for the bar chart.
|
|
18
|
+
*/
|
|
19
|
+
getDataFilters(): WebChartDataFilters | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Sets the data filter for the chart.
|
|
22
|
+
*
|
|
23
|
+
* @param newDataFilters - The new data filter.
|
|
24
|
+
*/
|
|
25
|
+
setDataFilters(newDataFilters: WebChartDataFilters | undefined): Promise<void>;
|
|
26
|
+
}
|