@bino-bi/bn-template-engine 1.0.0-next.28 → 1.0.0-next.30
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/bn-template-engine/bn-template-engine.esm.js +1 -1
- package/dist/bn-template-engine/p-132ad556.entry.js +1 -0
- package/dist/bn-template-engine/p-17d71782.entry.js +1 -0
- package/dist/bn-template-engine/p-40ba7f43.entry.js +1 -0
- package/dist/bn-template-engine/p-467871f3.entry.js +1 -0
- package/dist/bn-template-engine/p-64803a42.entry.js +1 -0
- package/dist/bn-template-engine/p-B8AjeKja.js +1 -0
- package/dist/bn-template-engine/p-CCZcKl0Q.js +2 -0
- package/dist/bn-template-engine/p-CrT83eO4.js +1 -0
- package/dist/bn-template-engine/p-D_DzKxRV.js +1 -0
- package/dist/bn-template-engine/p-Z2rUaSh_.js +1 -0
- package/dist/bn-template-engine/p-c41c0a1b.entry.js +1 -0
- package/dist/bn-template-engine/p-yc69rwuH.js +1 -0
- package/dist/cjs/{bn-asset_28.cjs.entry.js → bn-annotation-layer_30.cjs.entry.js} +27566 -26774
- package/dist/cjs/bn-grid.cjs.entry.js +11 -63
- package/dist/cjs/bn-image.cjs.entry.js +5 -6
- package/dist/cjs/bn-internationalization.cjs.entry.js +11 -7
- package/dist/cjs/bn-ruleset.cjs.entry.js +7 -8
- package/dist/cjs/bn-template-engine.cjs.js +2 -2
- package/dist/cjs/bn-text.cjs.entry.js +18 -18
- package/dist/cjs/{diagnostics-Cq-qDtXq.js → diagnostics-C4Ggts3w.js} +50 -2
- package/dist/cjs/{index-C1Z9vO7z.js → index-DGis1BzT.js} +0 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{withBodyObserver-CaPUjuC5.js → withBodyObserver-BK4idxqG.js} +2 -2
- package/dist/cjs/{context-protocol-C0rKepqu.js → withHasError-CqvcS23z.js} +462 -14
- package/dist/cjs/{withStyled-vSfogp9J.js → withStyled-70D4Isgt.js} +22 -35
- package/dist/cjs/{sanitizeHtml-Yx1xn6i_.js → withTranslation-C6Pye2CM.js} +148 -129
- package/dist/collection/collection-manifest.json +11 -11
- package/dist/collection/components/bn-annotation-layer/bn-annotation-layer.css +24 -0
- package/dist/collection/components/bn-annotation-layer/bn-annotation-layer.js +430 -0
- package/dist/collection/components/bn-annotation-layer/utils/marks.js +161 -0
- package/dist/collection/components/bn-annotation-layer/utils/matchPoint.js +25 -0
- package/dist/collection/components/bn-annotation-list/bn-annotation-list.css +46 -0
- package/dist/collection/components/bn-annotation-list/bn-annotation-list.js +112 -0
- package/dist/collection/components/bn-asset/bn-asset.js +1 -1
- package/dist/collection/components/bn-body/bn-body.js +24 -1
- package/dist/collection/components/bn-card/bn-card.js +24 -1
- package/dist/collection/components/bn-chart-bubble/{ibcs-chart-bubble.js → bn-chart-bubble-renderer/bn-chart-bubble-renderer.js} +153 -59
- package/dist/collection/components/bn-chart-bubble/bn-chart-bubble.js +70 -13
- package/dist/collection/components/bn-chart-bubble/utils/BubbleChart.js +29 -21
- package/dist/collection/components/bn-chart-bullet/{ibcs-chart-bullet.js → bn-chart-bullet-renderer/bn-chart-bullet-renderer.js} +127 -53
- package/dist/collection/components/bn-chart-bullet/bn-chart-bullet.js +83 -20
- package/dist/collection/components/bn-chart-bullet/utils/BulletChart.js +26 -17
- package/dist/collection/components/bn-chart-bullet/utils/model/BulletChartStyle.js +4 -4
- package/dist/collection/components/bn-chart-scatter/{ibcs-chart-scatter.js → bn-chart-scatter-renderer/bn-chart-scatter-renderer.js} +132 -53
- package/dist/collection/components/bn-chart-scatter/bn-chart-scatter.js +69 -12
- package/dist/collection/components/bn-chart-scatter/utils/ScatterChart.js +26 -14
- package/dist/collection/components/bn-chart-structure/{ibcs-chart-structure.js → bn-chart-structure-renderer/bn-chart-structure-renderer.js} +159 -66
- package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +115 -95
- package/dist/collection/components/bn-chart-structure/utils/StructureChart.js +44 -15
- package/dist/collection/components/bn-chart-structure/utils/elements/Axis.js +1 -1
- package/dist/collection/components/bn-chart-structure/utils/elements/Bar.js +6 -2
- package/dist/collection/components/bn-chart-structure/utils/elements/Label.js +11 -0
- package/dist/collection/components/bn-chart-structure/utils/elements/Marker.js +5 -1
- package/dist/collection/components/bn-chart-structure/utils/elements/Needle.js +4 -1
- package/dist/collection/components/bn-chart-structure/utils/elements/StackedBar.js +6 -2
- package/dist/collection/components/bn-chart-time/{ibcs-chart-time.js → bn-chart-time-renderer/bn-chart-time-renderer.js} +188 -150
- package/dist/collection/components/bn-chart-time/bn-chart-time.js +140 -405
- package/dist/collection/components/bn-chart-time/utils/TimeChart.js +55 -15
- package/dist/collection/components/bn-chart-time/utils/elements/Column.js +5 -1
- package/dist/collection/components/bn-chart-time/utils/elements/Label.js +14 -0
- package/dist/collection/components/bn-chart-time/utils/elements/LineSeries.js +18 -12
- package/dist/collection/components/bn-chart-time/utils/elements/Marker.js +5 -1
- package/dist/collection/components/bn-chart-time/utils/elements/Needle.js +4 -1
- package/dist/collection/components/bn-chart-time/utils/elements/StackedColumn.js +6 -2
- package/dist/collection/components/bn-chart-time/utils/factories/ScenarioFactory.js +2 -2
- package/dist/collection/components/bn-chart-time/utils/model/TimeChartComponentConfig.js +2 -18
- package/dist/collection/components/bn-component-style/bn-component-style.js +3 -3
- package/dist/collection/components/bn-context/bn-context.js +24 -5
- package/dist/collection/components/bn-dataset/bn-dataset.js +8 -8
- package/dist/collection/components/bn-datasource/bn-datasource.js +8 -8
- package/dist/collection/components/bn-footer/bn-footer.css +1 -15
- package/dist/collection/components/bn-footer/bn-footer.js +17 -34
- package/dist/collection/components/bn-grid/bn-grid.js +38 -71
- package/dist/collection/components/bn-image/bn-image.js +21 -2
- package/dist/collection/components/bn-internationalization/bn-internationalization.js +7 -1
- package/dist/collection/components/bn-layout-card/bn-layout-card.js +3 -32
- package/dist/collection/components/bn-layout-page/bn-layout-page.js +3 -32
- package/dist/collection/components/bn-message/bn-message.js +20 -2
- package/dist/collection/components/bn-page/bn-page.js +22 -3
- package/dist/collection/components/bn-ruleset/bn-ruleset.js +3 -3
- package/dist/collection/components/bn-scaling-group/bn-scaling-group.js +9 -9
- package/dist/collection/components/bn-table/{ibcs-table.js → bn-table-renderer/bn-table-renderer.js} +230 -83
- package/dist/collection/components/bn-table/bn-table.js +134 -157
- package/dist/collection/components/bn-table/utils/Table.js +3 -3
- package/dist/collection/components/bn-table/utils/elements/TableRow.js +1 -1
- package/dist/collection/components/bn-table/utils/factories/tableDataSetFactory.js +38 -4
- package/dist/collection/components/bn-table/utils/helper/DataQuery.js +3 -1
- package/dist/collection/components/bn-table/utils/helper/barColumnGeometry.js +2 -2
- package/dist/collection/components/bn-text/bn-text.js +66 -8
- package/dist/collection/components/bn-title/{ibcs-title/ibcs-title.js → bn-title-renderer/bn-title-renderer.js} +59 -83
- package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/Title.js +2 -2
- package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/factories/TitleDataSetFactory.js +1 -1
- package/dist/collection/components/bn-title/bn-title.js +58 -14
- package/dist/collection/components/bn-tree/bn-tree.js +30 -28
- package/dist/collection/index.js +0 -1
- package/dist/collection/schemas.js +1 -0
- package/dist/collection/stores/componentStyles.js +10 -6
- package/dist/collection/stores/createScopedStores.js +3 -1
- package/dist/collection/stores/internationalization.js +10 -6
- package/dist/collection/utils/annotations.js +66 -0
- package/dist/collection/utils/autoFit.js +2 -2
- package/dist/collection/utils/emptyState.js +1 -1
- package/dist/collection/utils/ibcsRuleSet.js +42 -0
- package/dist/collection/utils/layoutState/dataPoint.js +59 -0
- package/dist/collection/utils/layoutState/geometry.js +46 -0
- package/dist/collection/utils/layoutState/index.js +1 -0
- package/dist/collection/utils/layoutState/svgChartElements.js +113 -11
- package/dist/collection/utils/layoutTemplate.js +0 -2
- package/dist/collection/utils/scaling.js +9 -0
- package/dist/collection/utils/validate.js +0 -7
- package/dist/collection/utils/withComponentStyle.js +14 -18
- package/dist/collection/utils/withDataset.js +22 -11
- package/dist/collection/utils/withHasError.js +17 -2
- package/dist/collection/utils/withRuleSet.js +7 -7
- package/dist/collection/utils/withTranslation.js +14 -14
- package/dist/collection/utils/xy/XYFrame.js +13 -3
- package/dist/collection/utils/xy/model/ScaleFactorsXYChart.js +8 -9
- package/dist/collection/utils/xy/pointKey.js +10 -0
- package/dist/components/{ibcs-chart-bullet.d.ts → bn-annotation-layer.d.ts} +4 -4
- package/dist/components/bn-annotation-layer.js +1 -0
- package/dist/components/{ibcs-chart-scatter.d.ts → bn-annotation-list.d.ts} +4 -4
- package/dist/components/bn-annotation-list.js +1 -0
- package/dist/components/bn-asset.js +1 -1
- package/dist/components/bn-body.js +1 -1
- package/dist/components/bn-card.js +1 -1
- package/dist/components/bn-chart-bubble-renderer.d.ts +11 -0
- package/dist/components/bn-chart-bubble-renderer.js +1 -0
- package/dist/components/bn-chart-bubble.js +1 -1
- package/dist/components/bn-chart-bullet-renderer.d.ts +11 -0
- package/dist/components/bn-chart-bullet-renderer.js +1 -0
- package/dist/components/bn-chart-bullet.js +1 -1
- package/dist/components/bn-chart-scatter-renderer.d.ts +11 -0
- package/dist/components/bn-chart-scatter-renderer.js +1 -0
- package/dist/components/bn-chart-scatter.js +1 -1
- package/dist/components/bn-chart-structure-renderer.d.ts +11 -0
- package/dist/components/bn-chart-structure-renderer.js +1 -0
- package/dist/components/bn-chart-structure.js +1 -1
- package/dist/components/{bn-template.d.ts → bn-chart-time-renderer.d.ts} +4 -4
- package/dist/components/bn-chart-time-renderer.js +1 -0
- package/dist/components/bn-chart-time.js +1 -1
- package/dist/components/bn-component-style.js +1 -1
- package/dist/components/bn-context.js +1 -1
- package/dist/components/bn-dataset.js +1 -1
- package/dist/components/bn-datasource.js +1 -1
- package/dist/components/bn-footer.js +1 -1
- package/dist/components/bn-grid.js +1 -1
- package/dist/components/bn-image.js +1 -1
- package/dist/components/bn-internationalization.js +1 -1
- package/dist/components/bn-layout-card.js +1 -1
- package/dist/components/bn-layout-page.js +1 -1
- package/dist/components/bn-message.js +1 -1
- package/dist/components/bn-page.js +1 -1
- package/dist/components/bn-ruleset.js +1 -1
- package/dist/components/bn-scaling-group.js +1 -1
- package/dist/components/{ibcs-chart-bubble.d.ts → bn-table-renderer.d.ts} +4 -4
- package/dist/components/bn-table-renderer.js +1 -0
- package/dist/components/bn-table.js +1 -1
- package/dist/components/bn-text.js +1 -1
- package/dist/components/{editor-companion.d.ts → bn-title-renderer.d.ts} +4 -4
- package/dist/components/bn-title-renderer.js +1 -0
- package/dist/components/bn-title.js +1 -1
- package/dist/components/bn-tree.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-B1nL0yOa.js +1 -0
- package/dist/components/p-B7uwck1J.js +1 -0
- package/dist/components/p-BDS_jiow.js +1 -0
- package/dist/components/p-BIIDTtcR.js +1 -0
- package/dist/components/p-BQMKgvEC.js +1 -0
- package/dist/components/p-BSV_vyqs.js +1 -0
- package/dist/components/p-BVKLCz2k.js +1 -0
- package/dist/components/p-BWBHlztH.js +1 -0
- package/dist/components/p-BXrPfAvP.js +1 -0
- package/dist/components/p-Ba9PUiBp.js +1 -0
- package/dist/components/p-BpCL2bfw.js +1 -0
- package/dist/components/p-BpsXOtoW.js +1 -0
- package/dist/components/p-Bs-YxJEt.js +1 -0
- package/dist/components/p-CGI6XIaK.js +1 -0
- package/dist/components/p-CMM8vtHW.js +1 -0
- package/dist/components/p-COqIkH1M.js +1 -0
- package/dist/components/p-CYwd_ZNM.js +1 -0
- package/dist/components/p-CkW23yp2.js +1 -0
- package/dist/components/p-CtBM3KFY.js +1 -0
- package/dist/{bn-template-engine/p-DFmSrSnf.js → components/p-CurWSJkH.js} +1 -1
- package/dist/components/p-CxPSvrcF.js +1 -0
- package/dist/components/p-D2Epww9R.js +1 -0
- package/dist/components/p-D5-dYgK_.js +1 -0
- package/dist/components/p-D6YGOYV1.js +2 -0
- package/dist/components/p-DEHnizot.js +1 -0
- package/dist/components/p-DIyUaSBg.js +1 -0
- package/dist/components/p-DPLcGhVt.js +1 -0
- package/dist/components/p-DUHp_9X-.js +1 -0
- package/dist/components/p-DYG9FH_u.js +1 -0
- package/dist/components/p-DdGnuNtc.js +1 -0
- package/dist/components/p-Dlb4ncGF.js +1 -0
- package/dist/components/p-Dm55bMs2.js +1 -0
- package/dist/components/p-Dq1AzGKX.js +1 -0
- package/dist/components/p-Dq4KMCDU.js +1 -0
- package/dist/components/p-DsOaqeTN.js +1 -0
- package/dist/components/p-Ds_BSK8v.js +1 -0
- package/dist/components/p-LZ9lAY8T.js +1 -0
- package/dist/components/p-U3zkcEJZ.js +1 -0
- package/dist/components/p-WzaayhTX.js +1 -0
- package/dist/components/p-X9hpquOX.js +1 -0
- package/dist/components/p-Xb6Ilq8u.js +1 -0
- package/dist/components/p-ey23VlID.js +1 -0
- package/dist/components/p-jbp6YiHf.js +1 -0
- package/dist/components/p-oJjMz8JF.js +1 -0
- package/dist/components/p-xhiPDAZa.js +1 -0
- package/dist/components/p-xpguaboj.js +1 -0
- package/dist/esm/{bn-asset_28.entry.js → bn-annotation-layer_30.entry.js} +24689 -23899
- package/dist/esm/bn-grid.entry.js +11 -63
- package/dist/esm/bn-image.entry.js +4 -5
- package/dist/esm/bn-internationalization.entry.js +9 -5
- package/dist/esm/bn-ruleset.entry.js +6 -7
- package/dist/esm/bn-template-engine.js +3 -3
- package/dist/esm/bn-text.entry.js +12 -12
- package/dist/esm/{diagnostics-vw6TKMiT.js → diagnostics-Cyqy1zDT.js} +48 -2
- package/dist/esm/{index-C5UYpZUU.js → index-CCZcKl0Q.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{withBodyObserver-DD_-r04o.js → withBodyObserver-JcRB9OPQ.js} +2 -2
- package/dist/esm/{context-protocol-CdTp19uA.js → withHasError-l3cMN-oP.js} +458 -14
- package/dist/esm/{withStyled-BDEyKd_H.js → withStyled-DGOiR00Q.js} +17 -29
- package/dist/esm/{sanitizeHtml-C5bFtARM.js → withTranslation-BpO8BC5B.js} +144 -126
- package/dist/schemas/axis.schema.json +52 -0
- package/dist/schemas/i18n.schema.json +31 -0
- package/dist/schemas/partof.schema.json +33 -0
- package/dist/schemas/ruleset.schema.json +59 -0
- package/dist/schemas/stack.schema.json +51 -0
- package/dist/schemas/theme.schema.json +604 -0
- package/dist/schemas/thereof.schema.json +34 -0
- package/dist/types/components/bn-annotation-layer/bn-annotation-layer.d.ts +81 -0
- package/dist/types/components/bn-annotation-layer/utils/marks.d.ts +69 -0
- package/dist/types/components/bn-annotation-layer/utils/matchPoint.d.ts +17 -0
- package/dist/types/components/bn-annotation-list/bn-annotation-list.d.ts +35 -0
- package/dist/types/components/bn-body/bn-body.d.ts +5 -0
- package/dist/types/components/bn-card/bn-card.d.ts +5 -0
- package/dist/types/components/bn-chart-bubble/bn-chart-bubble-renderer/bn-chart-bubble-renderer.d.ts +97 -0
- package/dist/types/components/bn-chart-bubble/bn-chart-bubble.d.ts +20 -2
- package/dist/types/components/bn-chart-bullet/bn-chart-bullet-renderer/bn-chart-bullet-renderer.d.ts +81 -0
- package/dist/types/components/bn-chart-bullet/bn-chart-bullet.d.ts +21 -3
- package/dist/types/components/bn-chart-bullet/utils/BulletChart.d.ts +2 -0
- package/dist/types/components/bn-chart-bullet/utils/model/BulletChartStyle.d.ts +2 -2
- package/dist/types/components/bn-chart-scatter/bn-chart-scatter-renderer/bn-chart-scatter-renderer.d.ts +85 -0
- package/dist/types/components/bn-chart-scatter/bn-chart-scatter.d.ts +20 -2
- package/dist/types/components/bn-chart-structure/{ibcs-chart-structure.d.ts → bn-chart-structure-renderer/bn-chart-structure-renderer.d.ts} +43 -13
- package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +29 -17
- package/dist/types/components/bn-chart-structure/utils/StructureChart.d.ts +7 -0
- package/dist/types/components/bn-chart-structure/utils/elements/Label.d.ts +5 -0
- package/dist/types/components/bn-chart-structure/utils/elements/Marker.d.ts +1 -0
- package/dist/types/components/bn-chart-structure/utils/elements/StackedBar.d.ts +2 -1
- package/dist/types/components/bn-chart-structure/utils/model/DataPoint.d.ts +3 -0
- package/dist/types/components/bn-chart-time/{ibcs-chart-time.d.ts → bn-chart-time-renderer/bn-chart-time-renderer.d.ts} +50 -17
- package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +36 -66
- package/dist/types/components/bn-chart-time/utils/TimeChart.d.ts +7 -0
- package/dist/types/components/bn-chart-time/utils/elements/Label.d.ts +5 -0
- package/dist/types/components/bn-chart-time/utils/elements/LineSeries.d.ts +5 -1
- package/dist/types/components/bn-chart-time/utils/elements/Marker.d.ts +1 -0
- package/dist/types/components/bn-chart-time/utils/elements/StackedColumn.d.ts +2 -1
- package/dist/types/components/bn-chart-time/utils/factories/ScenarioFactory.d.ts +1 -1
- package/dist/types/components/bn-chart-time/utils/model/DataPoint.d.ts +3 -0
- package/dist/types/components/bn-chart-time/utils/model/TimeChartComponentConfig.d.ts +2 -8
- package/dist/types/components/bn-context/bn-context.d.ts +7 -1
- package/dist/types/components/bn-dataset/bn-dataset.d.ts +2 -2
- package/dist/types/components/bn-datasource/bn-datasource.d.ts +2 -2
- package/dist/types/components/bn-footer/bn-footer.d.ts +5 -7
- package/dist/types/components/bn-grid/bn-grid.d.ts +8 -6
- package/dist/types/components/bn-image/bn-image.d.ts +4 -0
- package/dist/types/components/bn-layout-card/bn-layout-card.d.ts +0 -1
- package/dist/types/components/bn-layout-page/bn-layout-page.d.ts +0 -1
- package/dist/types/components/bn-message/bn-message.d.ts +5 -0
- package/dist/types/components/bn-page/bn-page.d.ts +5 -0
- package/dist/types/components/bn-table/{ibcs-table.d.ts → bn-table-renderer/bn-table-renderer.d.ts} +49 -12
- package/dist/types/components/bn-table/bn-table.d.ts +48 -49
- package/dist/types/components/bn-table/utils/elements/Cell.d.ts +2 -0
- package/dist/types/components/bn-table/utils/elements/CellBarChart.d.ts +2 -1
- package/dist/types/components/bn-table/utils/elements/TableRow.d.ts +3 -0
- package/dist/types/components/bn-table/utils/factories/tableDataSetFactory.d.ts +9 -2
- package/dist/types/components/bn-text/bn-text.d.ts +19 -1
- package/dist/types/components/bn-title/{ibcs-title/ibcs-title.d.ts → bn-title-renderer/bn-title-renderer.d.ts} +15 -4
- package/dist/types/components/bn-title/bn-title.d.ts +15 -3
- package/dist/types/components/bn-tree/bn-tree.d.ts +6 -2
- package/dist/types/components.d.ts +2070 -2406
- package/dist/types/context/context-protocol.d.ts +2 -0
- package/dist/types/context/scopedDb.d.ts +9 -12
- package/dist/types/index.d.ts +0 -1
- package/dist/types/schemas.d.ts +50 -0
- package/dist/types/stores/componentStyles.d.ts +8 -0
- package/dist/types/stores/createScopedStores.d.ts +1 -0
- package/dist/types/stores/internationalization.d.ts +3 -2
- package/dist/types/stores/ruleSets.d.ts +15 -3
- package/dist/types/utils/annotations.d.ts +45 -0
- package/dist/types/utils/autoFit.d.ts +2 -2
- package/dist/types/utils/emptyState.d.ts +1 -1
- package/dist/types/utils/ibcsRuleSet.d.ts +16 -0
- package/dist/types/utils/layoutState/dataPoint.d.ts +13 -0
- package/dist/types/utils/layoutState/geometry.d.ts +12 -0
- package/dist/types/utils/layoutState/index.d.ts +1 -0
- package/dist/types/utils/layoutState/svgChartElements.d.ts +9 -6
- package/dist/types/utils/layoutState/types.d.ts +29 -0
- package/dist/types/utils/model/ChartStyles.d.ts +2 -1
- package/dist/types/utils/scaling.d.ts +2 -0
- package/dist/types/utils/validate.d.ts +0 -1
- package/dist/types/utils/withComponentStyle.d.ts +4 -4
- package/dist/types/utils/withDataset.d.ts +3 -3
- package/dist/types/utils/withHasError.d.ts +22 -1
- package/dist/types/utils/withRuleSet.d.ts +3 -2
- package/dist/types/utils/withTranslation.d.ts +1 -2
- package/dist/types/utils/xy/model/ScaleFactorsXYChart.d.ts +6 -7
- package/dist/types/utils/xy/pointKey.d.ts +9 -0
- package/package.json +24 -8
- package/readme.md +14 -8
- package/dist/bn-template-engine/assets/bar.png +0 -0
- package/dist/bn-template-engine/assets/matrix.png +0 -0
- package/dist/bn-template-engine/p-5075771a.entry.js +0 -1
- package/dist/bn-template-engine/p-5d516435.entry.js +0 -1
- package/dist/bn-template-engine/p-5e90e728.entry.js +0 -1
- package/dist/bn-template-engine/p-9ef7e132.entry.js +0 -1
- package/dist/bn-template-engine/p-9f7a1980.entry.js +0 -1
- package/dist/bn-template-engine/p-BeXgxHkW.js +0 -1
- package/dist/bn-template-engine/p-C5UYpZUU.js +0 -2
- package/dist/bn-template-engine/p-CH0bpt_k.js +0 -1
- package/dist/bn-template-engine/p-DI3efDSV.js +0 -1
- package/dist/bn-template-engine/p-DXLTTILG.js +0 -1
- package/dist/bn-template-engine/p-DtP4jqG5.js +0 -1
- package/dist/bn-template-engine/p-a8281b71.entry.js +0 -1
- package/dist/bn-template-engine/p-b31277e7.entry.js +0 -1
- package/dist/bn-template-engine/p-b396ac84.entry.js +0 -1
- package/dist/cjs/bn-template.cjs.entry.js +0 -18
- package/dist/cjs/editor-companion.cjs.entry.js +0 -56
- package/dist/cjs/withHasError-qGW_yqIv.js +0 -426
- package/dist/collection/components/bn-footer/assets/bar.png +0 -0
- package/dist/collection/components/bn-footer/assets/matrix.png +0 -0
- package/dist/collection/components/bn-message/assets/bar.png +0 -0
- package/dist/collection/components/bn-message/assets/matrix.png +0 -0
- package/dist/collection/components/bn-template/bn-template.js +0 -38
- package/dist/collection/components/editor-companion/editor-companion.css +0 -3
- package/dist/collection/components/editor-companion/editor-companion.js +0 -137
- package/dist/collection/utils/templateId.js +0 -12
- package/dist/collection/utils/testing/fakeGroup.js +0 -21
- package/dist/collection/utils/testing/hostFont.js +0 -20
- package/dist/collection/utils/testing/mutationObserver.js +0 -44
- package/dist/collection/utils/testing/structureChart.js +0 -26
- package/dist/collection/utils/testing/timeChart.js +0 -28
- package/dist/components/AxisConfig.js +0 -1
- package/dist/components/CompareUtil.js +0 -1
- package/dist/components/DataFormatDigits.js +0 -1
- package/dist/components/DateStringFactory.js +0 -1
- package/dist/components/LabelCollisionManager.js +0 -1
- package/dist/components/Order.js +0 -1
- package/dist/components/SVGStyle.js +0 -1
- package/dist/components/SVGVariancesStyleGroup.js +0 -1
- package/dist/components/StringAdapter.js +0 -1
- package/dist/components/VarianceMeasure.js +0 -1
- package/dist/components/XYChartDataRow.js +0 -1
- package/dist/components/bn-body2.js +0 -1
- package/dist/components/bn-card2.js +0 -1
- package/dist/components/bn-footer2.js +0 -1
- package/dist/components/bn-message2.js +0 -1
- package/dist/components/bn-page2.js +0 -1
- package/dist/components/bn-template.js +0 -1
- package/dist/components/bn-title2.js +0 -1
- package/dist/components/checkXYOverflow.js +0 -1
- package/dist/components/contentDecoder.js +0 -1
- package/dist/components/context-protocol.js +0 -1
- package/dist/components/editor-companion.js +0 -1
- package/dist/components/formatter.js +0 -1
- package/dist/components/geometry.js +0 -1
- package/dist/components/ibcs-chart-bubble.js +0 -1
- package/dist/components/ibcs-chart-bubble2.js +0 -1
- package/dist/components/ibcs-chart-bullet.js +0 -1
- package/dist/components/ibcs-chart-bullet2.js +0 -1
- package/dist/components/ibcs-chart-scatter.js +0 -1
- package/dist/components/ibcs-chart-scatter2.js +0 -1
- package/dist/components/ibcs-chart-structure.d.ts +0 -11
- package/dist/components/ibcs-chart-structure.js +0 -1
- package/dist/components/ibcs-chart-structure2.js +0 -1
- package/dist/components/ibcs-chart-time.d.ts +0 -11
- package/dist/components/ibcs-chart-time.js +0 -1
- package/dist/components/ibcs-chart-time2.js +0 -1
- package/dist/components/ibcs-table.d.ts +0 -11
- package/dist/components/ibcs-table.js +0 -1
- package/dist/components/ibcs-table2.js +0 -1
- package/dist/components/ibcs-title.d.ts +0 -11
- package/dist/components/ibcs-title.js +0 -1
- package/dist/components/ibcs-title2.js +0 -1
- package/dist/components/layoutTemplate.js +0 -1
- package/dist/components/luxon.js +0 -1
- package/dist/components/scaling.js +0 -1
- package/dist/components/svg.esm.js +0 -1
- package/dist/components/svgChartElements.js +0 -1
- package/dist/components/types.js +0 -1
- package/dist/components/validate.js +0 -1
- package/dist/components/withBodyObserver.js +0 -1
- package/dist/components/withComponentStatus.js +0 -1
- package/dist/components/withComponentStyle.js +0 -1
- package/dist/components/withDataset.js +0 -1
- package/dist/components/withHasError.js +0 -1
- package/dist/components/withRuleSet.js +0 -1
- package/dist/components/withScalingGroup.js +0 -1
- package/dist/components/withStyled.js +0 -1
- package/dist/components/withTranslation.js +0 -1
- package/dist/esm/bn-template.entry.js +0 -16
- package/dist/esm/editor-companion.entry.js +0 -54
- package/dist/esm/withHasError-73WV2SP5.js +0 -422
- package/dist/types/components/bn-chart-bubble/ibcs-chart-bubble.d.ts +0 -59
- package/dist/types/components/bn-chart-bullet/ibcs-chart-bullet.d.ts +0 -53
- package/dist/types/components/bn-chart-scatter/ibcs-chart-scatter.d.ts +0 -54
- package/dist/types/components/bn-template/bn-template.d.ts +0 -10
- package/dist/types/components/editor-companion/editor-companion.d.ts +0 -20
- package/dist/types/utils/templateId.d.ts +0 -9
- package/dist/types/utils/testing/fakeGroup.d.ts +0 -8
- package/dist/types/utils/testing/hostFont.d.ts +0 -16
- package/dist/types/utils/testing/mutationObserver.d.ts +0 -5
- package/dist/types/utils/testing/structureChart.d.ts +0 -5
- package/dist/types/utils/testing/timeChart.d.ts +0 -5
- /package/dist/collection/components/bn-chart-bubble/{ibcs-chart-bubble.css → bn-chart-bubble-renderer/bn-chart-bubble-renderer.css} +0 -0
- /package/dist/collection/components/bn-chart-bullet/{ibcs-chart-bullet.css → bn-chart-bullet-renderer/bn-chart-bullet-renderer.css} +0 -0
- /package/dist/collection/components/bn-chart-scatter/{ibcs-chart-scatter.css → bn-chart-scatter-renderer/bn-chart-scatter-renderer.css} +0 -0
- /package/dist/collection/components/bn-chart-time/{ibcs-chart-time.css → bn-chart-time-renderer/bn-chart-time-renderer.css} +0 -0
- /package/dist/collection/components/bn-table/{ibcs-table.css → bn-table-renderer/bn-table-renderer.css} +0 -0
- /package/dist/collection/components/bn-title/{ibcs-title/ibcs-title.css → bn-title-renderer/bn-title-renderer.css} +0 -0
- /package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/factories/index.js +0 -0
- /package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/MeasureEntriy.js +0 -0
- /package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/TimePeriod.js +0 -0
- /package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/TitleConfig.js +0 -0
- /package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/index.js +0 -0
- /package/dist/components/{stackColors.js → p-4q8nRcWC.js} +0 -0
- /package/dist/components/{merge.js → p-B2NXsfMz.js} +0 -0
- /package/dist/components/{layoutObserver.js → p-B6kka9sT.js} +0 -0
- /package/dist/components/{NumericScale.js → p-BJmwHV0a.js} +0 -0
- /package/dist/components/{stackLayout.js → p-BTnRaHPb.js} +0 -0
- /package/dist/components/{emotion-hash.esm.js → p-BYBpC0EO.js} +0 -0
- /package/dist/components/{diagnostics.js → p-CckAR27O.js} +0 -0
- /package/dist/components/{SiPrefix.js → p-CeE4_3wQ.js} +0 -0
- /package/dist/components/{queryError.js → p-ClruFZD_.js} +0 -0
- /package/dist/components/{sanitizeHtml.js → p-CyUmrWfW.js} +0 -0
- /package/dist/components/{TableAttribute.js → p-DCPLGEs_.js} +0 -0
- /package/dist/components/{parentDimensions.js → p-DD1zlev_.js} +0 -0
- /package/dist/components/{pageFormats.js → p-DM7fwmH4.js} +0 -0
- /package/dist/components/{emptyState.js → p-DakXa7Dp.js} +0 -0
- /package/dist/components/{relativeVariance.js → p-fCjsrD7I.js} +0 -0
- /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/Title.d.ts +0 -0
- /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/factories/TitleDataSetFactory.d.ts +0 -0
- /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/factories/index.d.ts +0 -0
- /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/MeasureEntriy.d.ts +0 -0
- /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/TimePeriod.d.ts +0 -0
- /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/TitleConfig.d.ts +0 -0
- /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/index.d.ts +0 -0
|
@@ -1,45 +1,75 @@
|
|
|
1
|
-
import { StackConfigParsed } from "
|
|
2
|
-
import { StructureChartStyle } from "
|
|
3
|
-
import { Order } from "
|
|
4
|
-
import { AggregationLevel } from "
|
|
5
|
-
import { ParentDimensions } from "
|
|
6
|
-
import { AutoScalingReport } from "
|
|
7
|
-
import { DataFormatDigits } from "
|
|
8
|
-
import { ErrorDispatcher } from "
|
|
9
|
-
import { RuleSetConfig } from "
|
|
10
|
-
|
|
1
|
+
import { StackConfigParsed } from "../utils/model/StructureChartComponentConfig";
|
|
2
|
+
import { StructureChartStyle } from "../utils/model/styles/StructureChartStyle";
|
|
3
|
+
import { Order } from "../../../utils/model/Order";
|
|
4
|
+
import { AggregationLevel } from "../../../utils/constants";
|
|
5
|
+
import { ParentDimensions } from "../../../utils/parentDimensions";
|
|
6
|
+
import { AutoScalingReport } from "../../../utils/scaling";
|
|
7
|
+
import { DataFormatDigits } from "../../../utils/model/DataFormatDigits";
|
|
8
|
+
import { ErrorDispatcher } from "../../../utils/withHasError";
|
|
9
|
+
import { RuleSetConfig } from "../../../stores/ruleSets";
|
|
10
|
+
/** @internal */
|
|
11
|
+
export declare class BnChartStructureRenderer {
|
|
11
12
|
element: HTMLElement;
|
|
12
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* Name of the dataset (table or view in the shared alasql database).
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
13
17
|
tableName: string;
|
|
14
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Bumped by `bn-chart-structure` when the dataset changes; triggers re-render.
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
15
22
|
dataVersion: number;
|
|
23
|
+
/** @internal */
|
|
16
24
|
chartTitle: string;
|
|
25
|
+
/** @internal */
|
|
17
26
|
scenarios: string[];
|
|
27
|
+
/** @internal */
|
|
18
28
|
variances: string[];
|
|
29
|
+
/** @internal */
|
|
19
30
|
hideCategories: boolean;
|
|
31
|
+
/** @internal */
|
|
20
32
|
pixelPerUnit: number;
|
|
33
|
+
/** @internal */
|
|
21
34
|
pixelPerPercentage: number;
|
|
22
35
|
/**
|
|
23
36
|
* Internal wrapper channel: called with the auto-fitted values (px for one
|
|
24
37
|
* data unit / px per 1.0 fraction) whenever one of them was auto-resolved, so
|
|
25
38
|
* the outer `bn-chart-structure` can surface them in its AUTO_* warnings.
|
|
26
39
|
* Not for end users.
|
|
40
|
+
* @internal
|
|
27
41
|
*/
|
|
28
42
|
reportAutoScaling?: (report: AutoScalingReport) => void;
|
|
29
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* The wrapper's error dispatcher: a failed query is reported through it as `ERR_sql`. Not for end users.
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
30
47
|
errors?: ErrorDispatcher;
|
|
48
|
+
/** @internal */
|
|
31
49
|
limit: number;
|
|
50
|
+
/** @internal */
|
|
32
51
|
styles: StructureChartStyle | undefined;
|
|
52
|
+
/** @internal */
|
|
33
53
|
i18n: Map<string, string>;
|
|
54
|
+
/** @internal */
|
|
34
55
|
order: Order;
|
|
56
|
+
/** @internal */
|
|
35
57
|
level: AggregationLevel;
|
|
58
|
+
/** @internal */
|
|
36
59
|
filter: string;
|
|
60
|
+
/** @internal */
|
|
37
61
|
measureScale: string;
|
|
62
|
+
/** @internal */
|
|
38
63
|
measureUnit: string;
|
|
64
|
+
/** @internal */
|
|
39
65
|
showMeasureScale: boolean;
|
|
66
|
+
/** @internal */
|
|
40
67
|
dataFormatDigits: DataFormatDigits;
|
|
68
|
+
/** @internal */
|
|
41
69
|
stackConfig: StackConfigParsed | null;
|
|
70
|
+
/** @internal */
|
|
42
71
|
parentDimensions: ParentDimensions;
|
|
72
|
+
/** @internal */
|
|
43
73
|
ruleSetConfig?: RuleSetConfig;
|
|
44
74
|
private chart;
|
|
45
75
|
private pattern;
|
|
@@ -7,7 +7,7 @@ import { ComponentLayoutState, LayoutStateOptions } from "../../utils/layoutStat
|
|
|
7
7
|
* charts grouped by category, with up to four scenario layers, optional
|
|
8
8
|
* variance sub-charts, stacking, and proportional auto-scaling (height-
|
|
9
9
|
* based). The heavy SVG rendering is performed by the inner
|
|
10
|
-
* `
|
|
10
|
+
* `bn-chart-structure-renderer` element; this outer component validates props,
|
|
11
11
|
* resolves auto-detected metadata, and computes styles.
|
|
12
12
|
*/
|
|
13
13
|
export declare class Chart {
|
|
@@ -26,6 +26,24 @@ export declare class Chart {
|
|
|
26
26
|
private layoutObserver;
|
|
27
27
|
/** Last parent height seen, used to suppress ResizeObserver noise. */
|
|
28
28
|
private _lastScaledParentHeight;
|
|
29
|
+
/**
|
|
30
|
+
* Name of the dataset to render (the `name` of a `<bn-dataset>`). A name
|
|
31
|
+
* that starts with `$` reads a `<bn-datasource>` directly, which gives a
|
|
32
|
+
* warning.
|
|
33
|
+
*/
|
|
34
|
+
datasets?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Name of the component style to use (the `name` of a
|
|
37
|
+
* `<bn-component-style>`). Its values go on top of the default style.
|
|
38
|
+
*/
|
|
39
|
+
selectedStyle?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Namespace of the translations to use (the `namespace` of a
|
|
42
|
+
* `<bn-internationalization>`). Without it the component takes the
|
|
43
|
+
* `i18n-namespace` of the nearest ancestor that has one, then the built-in
|
|
44
|
+
* texts.
|
|
45
|
+
*/
|
|
46
|
+
i18nNamespace?: string;
|
|
29
47
|
/**
|
|
30
48
|
* Title displayed above the chart. When empty, the title is derived
|
|
31
49
|
* from the variance scenario labels (if variances are configured).
|
|
@@ -35,8 +53,8 @@ export declare class Chart {
|
|
|
35
53
|
chartTitle: string;
|
|
36
54
|
/**
|
|
37
55
|
* Name of a registered IBCS rule set (see `bn-ruleset`) used for scenario
|
|
38
|
-
* ordering. Supports `"inherited-closest"` / `"inherited-page"` to
|
|
39
|
-
* over the value from an ancestor `bn-layout-card` / `bn-layout-page`.
|
|
56
|
+
* ordering, look and names. Supports `"inherited-closest"` / `"inherited-page"` to
|
|
57
|
+
* take over the value from an ancestor `bn-layout-card` / `bn-layout-page`.
|
|
40
58
|
*/
|
|
41
59
|
ruleset?: string;
|
|
42
60
|
/**
|
|
@@ -92,7 +110,7 @@ export declare class Chart {
|
|
|
92
110
|
* | group name | References a `<bn-scaling-group>` for synchronized scaling |
|
|
93
111
|
*
|
|
94
112
|
* When using a custom value that causes the chart to exceed its container,
|
|
95
|
-
*
|
|
113
|
+
* an `ERR_overflow` error is emitted.
|
|
96
114
|
*
|
|
97
115
|
* @example unit-scaling="auto"
|
|
98
116
|
* @example unit-scaling="1M"
|
|
@@ -178,13 +196,10 @@ export declare class Chart {
|
|
|
178
196
|
/**
|
|
179
197
|
* Whether to display category labels on the left side of the chart.
|
|
180
198
|
*
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
* @default "true"
|
|
199
|
+
* @default true
|
|
184
200
|
* @example show-categories="false"
|
|
185
201
|
*/
|
|
186
|
-
showCategories:
|
|
187
|
-
validateShowCategories(newValue: string): void;
|
|
202
|
+
showCategories: boolean;
|
|
188
203
|
/**
|
|
189
204
|
* SI prefix applied to data values, dividing them for display
|
|
190
205
|
* (e.g. `"k"` divides by 1 000, showing 14 000 as "14").
|
|
@@ -208,16 +223,13 @@ export declare class Chart {
|
|
|
208
223
|
* Toggles display of the SI prefix and unit label in the chart footer
|
|
209
224
|
* (e.g. "k EUR").
|
|
210
225
|
*
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
* @default "false"
|
|
226
|
+
* @default false
|
|
214
227
|
* @example show-measure-scale="true"
|
|
215
228
|
*/
|
|
216
|
-
showMeasureScale:
|
|
217
|
-
validateShowMeasureScale(newValue: string): void;
|
|
229
|
+
showMeasureScale: boolean;
|
|
218
230
|
/**
|
|
219
231
|
* Unit label displayed alongside the SI prefix in the chart footer
|
|
220
|
-
* (e.g. "EUR", "USD", "pcs"). Only visible when `show-measure-scale` is
|
|
232
|
+
* (e.g. "EUR", "USD", "pcs"). Only visible when `show-measure-scale` is on.
|
|
221
233
|
*
|
|
222
234
|
* @default ""
|
|
223
235
|
* @example measure-unit="EUR"
|
|
@@ -279,7 +291,7 @@ export declare class Chart {
|
|
|
279
291
|
*/
|
|
280
292
|
private measureContentWidth;
|
|
281
293
|
/**
|
|
282
|
-
* Reports
|
|
294
|
+
* Reports an overflow item when the rendered chart exceeds its
|
|
283
295
|
* container. Overflow attributable to a fixed scaling attribute is an
|
|
284
296
|
* error (width: unit-scaling / percentage-scaling, height: scale);
|
|
285
297
|
* overflow in fully-auto mode is a warning - auto-fit prevents it by
|
|
@@ -302,7 +314,7 @@ export declare class Chart {
|
|
|
302
314
|
private preparePixelPerUnit;
|
|
303
315
|
private preparePixelPerPercentage;
|
|
304
316
|
/**
|
|
305
|
-
* Receives the auto-fitted values from the inner
|
|
317
|
+
* Receives the auto-fitted values from the inner bn-chart-structure-renderer (px
|
|
306
318
|
* per unit / px per 1.0 fraction) and surfaces them in the AUTO_* warnings,
|
|
307
319
|
* converted back to the attribute's units-per-em form so users can copy
|
|
308
320
|
* them into a bn-scaling-group.
|
|
@@ -39,6 +39,8 @@ export declare class StructureChart {
|
|
|
39
39
|
private highestVarianceDataPointValue;
|
|
40
40
|
private pixelPerUnit;
|
|
41
41
|
private pixelPerPercentage;
|
|
42
|
+
/** The dimension a bar stands for: names the `data-bn-*` key of its value. */
|
|
43
|
+
private level;
|
|
42
44
|
private hideCategories;
|
|
43
45
|
private axisScenario;
|
|
44
46
|
readonly CSS_CATEGORIES: string;
|
|
@@ -145,6 +147,11 @@ export declare class StructureChart {
|
|
|
145
147
|
setPattern(fc: string, fcPolygonPattern: SVGPolgonPattern): void;
|
|
146
148
|
private calculateTitleLength;
|
|
147
149
|
getFooter(): string;
|
|
150
|
+
/**
|
|
151
|
+
* The styles with each scenario on the bar style slot its colorIndex selects.
|
|
152
|
+
* `this.styles` stays the theme: the hatch pattern is built from its `fc` slot.
|
|
153
|
+
*/
|
|
154
|
+
private scenarioStyles;
|
|
148
155
|
private setAxisScenario;
|
|
149
156
|
private populateModel;
|
|
150
157
|
private detectNaNCells;
|
|
@@ -2,6 +2,7 @@ import { G } from "@svgdotjs/svg.js";
|
|
|
2
2
|
import { StructureChartStyle } from "../model";
|
|
3
3
|
import { DataFormatDigits } from "../../../../utils/model/DataFormatDigits";
|
|
4
4
|
import { SiPrefix } from "../../../../utils/model/SiPrefix";
|
|
5
|
+
import { DataPointKey, DataPointPart } from "../../../../utils/layoutState/types";
|
|
5
6
|
/**
|
|
6
7
|
* Anchor point for label positioning relative to its coordinates (structure chart variant).
|
|
7
8
|
* Vertical hooks shift the label up/down; horizontal hooks set SVG text-anchor alignment.
|
|
@@ -36,11 +37,15 @@ export declare class Label {
|
|
|
36
37
|
private isRelativeLabel;
|
|
37
38
|
private readonly verticalHookLocation;
|
|
38
39
|
private readonly horizontalHookLocation;
|
|
40
|
+
private pointKey?;
|
|
41
|
+
private pointPart;
|
|
39
42
|
constructor(parent: G | null, xPosition: number, yPosition: number, groupPrefix: string, value: number | string | null, styles: StructureChartStyle, verticalHookLocation: HookLocation, horizontalHookLocation: HookLocation);
|
|
40
43
|
setToVarianceLabel(): Label;
|
|
41
44
|
setToRelativeVarianceLabel(): Label;
|
|
42
45
|
setSegmentFill(color: string): Label;
|
|
43
46
|
setMaxWidth(width: number): Label;
|
|
47
|
+
/** The data row this label belongs to. Written on the label group when the label is drawn. */
|
|
48
|
+
setPoint(key: DataPointKey | undefined, part?: DataPointPart): Label;
|
|
44
49
|
updateGroup(newGroup: G): Label;
|
|
45
50
|
private createElementID;
|
|
46
51
|
draw(dataFormatDigits?: DataFormatDigits, measureScale?: SiPrefix): Label;
|
|
@@ -23,6 +23,7 @@ export declare class Marker {
|
|
|
23
23
|
private position;
|
|
24
24
|
private dimensions;
|
|
25
25
|
private hasData;
|
|
26
|
+
private pointKey?;
|
|
26
27
|
constructor(position: ElementPositions, markerGroup: G, markerPattern: SVGPolgonPattern, scenario: string, styles: StructureChartStyle, dataPoint: DataPoint, index: number, labelText: string | null, isPrimaryMarker: boolean);
|
|
27
28
|
createMarkerDimensions(dataPoint: DataPoint, index: number, isPrimaryMarker: boolean): StructureChartDimension;
|
|
28
29
|
private getScenarioLabel;
|
|
@@ -5,6 +5,7 @@ import { DataFormatDigits } from "../../../../utils/model/DataFormatDigits";
|
|
|
5
5
|
import { SiPrefix } from "../../../../utils/model/SiPrefix";
|
|
6
6
|
import { StackMode } from "../../../../utils/constants";
|
|
7
7
|
import { StackLayout, StackSegment } from "../../../../utils/stackLayout";
|
|
8
|
+
import { DataPointKey } from "../../../../utils/layoutState/types";
|
|
8
9
|
/**
|
|
9
10
|
* Renders a single horizontal stacked bar segment for the structure chart.
|
|
10
11
|
*/
|
|
@@ -22,5 +23,5 @@ export declare class StackedBar {
|
|
|
22
23
|
private hasData;
|
|
23
24
|
constructor(position: ElementPositions, styles: StructureChartStyle, dataPoint: DataPoint, index: number, segment: StackSegment, _segmentLabel: string | null, segmentIndex: number, stackMode: StackMode, stack: StackLayout, _isScenarioStack: boolean, parentGroup: G);
|
|
24
25
|
draw(dataFormatDigits?: DataFormatDigits, measureScale?: SiPrefix): void;
|
|
25
|
-
drawTotalLabel(dataFormatDigits?: DataFormatDigits, measureScale?: SiPrefix): void;
|
|
26
|
+
drawTotalLabel(dataFormatDigits?: DataFormatDigits, measureScale?: SiPrefix, key?: DataPointKey): void;
|
|
26
27
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Scenario } from "./index";
|
|
2
|
+
import { DataPointKey } from "../../../../utils/layoutState/types";
|
|
2
3
|
/**
|
|
3
4
|
* A single renderable data point in a structural (categorical) bar chart.
|
|
4
5
|
*
|
|
@@ -18,6 +19,8 @@ export declare class DataPoint {
|
|
|
18
19
|
pixelPerUnit: number;
|
|
19
20
|
/** Variance direction for IBCS color coding (POS=green, NEG=red, NEU=grey). */
|
|
20
21
|
variance: Scenario | string;
|
|
22
|
+
/** The data row this point shows. Written as `data-bn-*` attributes on what is drawn for it. */
|
|
23
|
+
key?: DataPointKey;
|
|
21
24
|
constructor(value: number | null | undefined, scenario: Scenario | string | null, pixelPerUnit: number | null, variance: Scenario | string | null);
|
|
22
25
|
isEmpty(): boolean;
|
|
23
26
|
/** Returns the value scaled to pixel length for absolute (non-percentage) bars. */
|
|
@@ -1,56 +1,89 @@
|
|
|
1
|
-
import { StackConfigParsed } from "
|
|
2
|
-
import { TimeChartStyle } from "
|
|
3
|
-
import { DateDistance } from "
|
|
4
|
-
import {
|
|
5
|
-
import { ParentDimensions } from "
|
|
6
|
-
import { AutoScalingReport } from "
|
|
7
|
-
import { ErrorDispatcher } from "
|
|
8
|
-
import { RuleSetConfig } from "
|
|
9
|
-
import { DataFormatDigits } from "
|
|
10
|
-
|
|
11
|
-
export declare class
|
|
1
|
+
import { StackConfigParsed } from "../utils/model/TimeChartComponentConfig";
|
|
2
|
+
import { TimeChartStyle } from "../utils/model/styles/TimeChartStyle";
|
|
3
|
+
import { DateDistance } from "../../../utils/DateStringFactory";
|
|
4
|
+
import { AxisLabelsMode, ChartMode } from "../../../utils/constants";
|
|
5
|
+
import { ParentDimensions } from "../../../utils/parentDimensions";
|
|
6
|
+
import { AutoScalingReport } from "../../../utils/scaling";
|
|
7
|
+
import { ErrorDispatcher } from "../../../utils/withHasError";
|
|
8
|
+
import { RuleSetConfig } from "../../../stores/ruleSets";
|
|
9
|
+
import { DataFormatDigits } from "../../../utils/model/DataFormatDigits";
|
|
10
|
+
/** @internal */
|
|
11
|
+
export declare class BnChartTimeRenderer {
|
|
12
12
|
element: HTMLElement;
|
|
13
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* Name of the dataset (table or view in the shared alasql database).
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
14
17
|
tableName: string;
|
|
15
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Bumped by `bn-chart-time` when the dataset changes; triggers re-render.
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
16
22
|
dataVersion: number;
|
|
23
|
+
/** @internal */
|
|
17
24
|
chartTitle?: string;
|
|
25
|
+
/** @internal */
|
|
18
26
|
scenarios: string[];
|
|
27
|
+
/** @internal */
|
|
19
28
|
variances: string[];
|
|
29
|
+
/** @internal */
|
|
20
30
|
hideAxisLabels: boolean;
|
|
31
|
+
/** @internal */
|
|
21
32
|
pixelPerUnit: number;
|
|
33
|
+
/** @internal */
|
|
22
34
|
pixelPerPercentage: number;
|
|
23
35
|
/**
|
|
24
36
|
* Internal wrapper channel: called with the auto-fitted values (px for one
|
|
25
37
|
* data unit / px per 1.0 fraction) whenever one of them was auto-resolved, so
|
|
26
38
|
* the outer `bn-chart-time` can surface them in its AUTO_* warnings.
|
|
27
39
|
* Not for end users.
|
|
40
|
+
* @internal
|
|
28
41
|
*/
|
|
29
42
|
reportAutoScaling?: (report: AutoScalingReport) => void;
|
|
30
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* The wrapper's error dispatcher: a failed query is reported through it as `ERR_sql`. Not for end users.
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
31
47
|
errors?: ErrorDispatcher;
|
|
32
|
-
|
|
48
|
+
/** @internal */
|
|
33
49
|
leftSideOffsetForHorizontalSync: number;
|
|
50
|
+
/** @internal */
|
|
34
51
|
styles: TimeChartStyle | undefined;
|
|
52
|
+
/** @internal */
|
|
35
53
|
i18n: Map<string, string>;
|
|
36
|
-
|
|
37
|
-
level: AggregationLevel;
|
|
54
|
+
/** @internal */
|
|
38
55
|
dateInterval: DateDistance;
|
|
56
|
+
/** @internal */
|
|
39
57
|
intervalSpanLimit: number;
|
|
58
|
+
/** @internal */
|
|
40
59
|
axisLabelsMode: AxisLabelsMode;
|
|
60
|
+
/** @internal */
|
|
41
61
|
filter: string;
|
|
62
|
+
/** @internal */
|
|
42
63
|
measureScale: string;
|
|
64
|
+
/** @internal */
|
|
43
65
|
measureUnit: string;
|
|
66
|
+
/** @internal */
|
|
44
67
|
showMeasureScale: boolean;
|
|
68
|
+
/** @internal */
|
|
45
69
|
showOverlayMedian: boolean;
|
|
70
|
+
/** @internal */
|
|
46
71
|
showOverlayAvg: boolean;
|
|
72
|
+
/** @internal */
|
|
47
73
|
chartMode: ChartMode;
|
|
74
|
+
/** @internal */
|
|
48
75
|
maxBars: number;
|
|
76
|
+
/** @internal */
|
|
49
77
|
stackConfig: StackConfigParsed | null;
|
|
78
|
+
/** @internal */
|
|
50
79
|
lineFullWidth: boolean;
|
|
80
|
+
/** @internal */
|
|
51
81
|
containerWidth: number;
|
|
82
|
+
/** @internal */
|
|
52
83
|
dataFormatDigits: DataFormatDigits;
|
|
84
|
+
/** @internal */
|
|
53
85
|
parentDimensions: ParentDimensions;
|
|
86
|
+
/** @internal */
|
|
54
87
|
ruleSetConfig?: RuleSetConfig;
|
|
55
88
|
drawElement: SVGElement | undefined;
|
|
56
89
|
patternElement: HTMLSpanElement | undefined;
|
|
@@ -7,7 +7,7 @@ import { ComponentLayoutState, LayoutStateOptions } from "../../utils/layoutStat
|
|
|
7
7
|
* line charts with up to four scenario layers, optional variance sub-charts,
|
|
8
8
|
* stacking, and proportional auto-scaling. Date normalization and interval
|
|
9
9
|
* detection are delegated to `DateStringFactory`. The heavy SVG rendering
|
|
10
|
-
* is performed by the inner `
|
|
10
|
+
* is performed by the inner `bn-chart-time-renderer` element; this outer component
|
|
11
11
|
* validates props, resolves auto-detected metadata, and computes styles.
|
|
12
12
|
*/
|
|
13
13
|
export declare class Chart {
|
|
@@ -24,10 +24,28 @@ export declare class Chart {
|
|
|
24
24
|
private readonly errors;
|
|
25
25
|
private readonly resolveInherited;
|
|
26
26
|
private layoutObserver;
|
|
27
|
+
/**
|
|
28
|
+
* Name of the dataset to render (the `name` of a `<bn-dataset>`). A name
|
|
29
|
+
* that starts with `$` reads a `<bn-datasource>` directly, which gives a
|
|
30
|
+
* warning.
|
|
31
|
+
*/
|
|
32
|
+
datasets?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Name of the component style to use (the `name` of a
|
|
35
|
+
* `<bn-component-style>`). Its values go on top of the default style.
|
|
36
|
+
*/
|
|
37
|
+
selectedStyle?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Namespace of the translations to use (the `namespace` of a
|
|
40
|
+
* `<bn-internationalization>`). Without it the component takes the
|
|
41
|
+
* `i18n-namespace` of the nearest ancestor that has one, then the built-in
|
|
42
|
+
* texts.
|
|
43
|
+
*/
|
|
44
|
+
i18nNamespace?: string;
|
|
27
45
|
/**
|
|
28
46
|
* Name of a registered IBCS rule set (see `bn-ruleset`) used for scenario
|
|
29
|
-
* ordering. Supports `"inherited-closest"` / `"inherited-page"` to
|
|
30
|
-
* over the value from an ancestor `bn-layout-card` / `bn-layout-page`.
|
|
47
|
+
* ordering, look and names. Supports `"inherited-closest"` / `"inherited-page"` to
|
|
48
|
+
* take over the value from an ancestor `bn-layout-card` / `bn-layout-page`.
|
|
31
49
|
*/
|
|
32
50
|
ruleset?: string;
|
|
33
51
|
/**
|
|
@@ -82,15 +100,6 @@ export declare class Chart {
|
|
|
82
100
|
validateVariances(newValue: string): void;
|
|
83
101
|
syncSpaceLeft: number;
|
|
84
102
|
validateLeftSync(newValue: string | number): void;
|
|
85
|
-
/**
|
|
86
|
-
* Set the maximum number of columns stacks The value 0 means *no limit*
|
|
87
|
-
* <br /><br />
|
|
88
|
-
*
|
|
89
|
-
* columns stacks wich where cut by the limit are cumulated as REST
|
|
90
|
-
*
|
|
91
|
-
*/
|
|
92
|
-
limit: number;
|
|
93
|
-
validateLimit(newValue: number): void;
|
|
94
103
|
/**
|
|
95
104
|
* Data units displayed per 1 em of bar length (vertical bars) - map-scale
|
|
96
105
|
* semantics: a larger value means smaller bars.
|
|
@@ -124,37 +133,6 @@ export declare class Chart {
|
|
|
124
133
|
*/
|
|
125
134
|
percentageScaling: string | number;
|
|
126
135
|
validatePercentageScaling(newValue: string | number): void;
|
|
127
|
-
/**
|
|
128
|
-
* Determines level on which the chart is aggregated on.
|
|
129
|
-
* <br /> <br />
|
|
130
|
-
*
|
|
131
|
-
* values:<br/>
|
|
132
|
-
* ``` rowcategory // category // subcategory // auto```
|
|
133
|
-
* <br /> <br />
|
|
134
|
-
* When set to ```auto```, level is detected from the dataset silently.
|
|
135
|
-
* When left blank, level is detected from the dataset with a warning.
|
|
136
|
-
*
|
|
137
|
-
*/
|
|
138
|
-
level: string;
|
|
139
|
-
validateLevel(newValue: string): void;
|
|
140
|
-
/** List of the primary scenarios on which the order direction are applied valid scenarios are
|
|
141
|
-
* If order is set to a scenario it has also exists in scenariolist
|
|
142
|
-
* <br /><br />
|
|
143
|
-
* values:<br />
|
|
144
|
-
* ``` category // categoryindex // rowgroup // rowgroup // rowgroupindex // ac[1-4] // fc[1-4] // py[1-4] // pl[1-4] // auto```
|
|
145
|
-
* <br /><br />
|
|
146
|
-
* When set to ```auto```, order is detected from the dataset silently.
|
|
147
|
-
* When left blank, order is detected from the dataset with a warning.
|
|
148
|
-
*/
|
|
149
|
-
order: string;
|
|
150
|
-
validateOrderList(newValue: string): void;
|
|
151
|
-
/** set sorting order direction
|
|
152
|
-
* <br /><br />
|
|
153
|
-
* values:<br />
|
|
154
|
-
* ```asc // desc```
|
|
155
|
-
*/
|
|
156
|
-
orderDirection: string;
|
|
157
|
-
validateOrderDirection(newValue: string): void;
|
|
158
136
|
/** Axis Date Interval
|
|
159
137
|
* <br /><br />
|
|
160
138
|
* values:<br />
|
|
@@ -192,16 +170,16 @@ export declare class Chart {
|
|
|
192
170
|
* **JSON schema:**
|
|
193
171
|
* ```json
|
|
194
172
|
* {
|
|
195
|
-
* "by": "
|
|
173
|
+
* "by": "scenarios" | "dimensions",
|
|
196
174
|
* "mode": "absolute" | "relative" | "absolute-relative",
|
|
197
175
|
* "order": "asc" | "desc" | "dataset"
|
|
198
176
|
* }
|
|
199
177
|
* ```
|
|
200
178
|
*
|
|
201
|
-
* - `by` (required):
|
|
202
|
-
* - `"
|
|
203
|
-
* - `"
|
|
204
|
-
*
|
|
179
|
+
* - `by` (required): What a stack is made of.
|
|
180
|
+
* - `"scenarios"` - stack the scenarios from the `scenarios` prop as layers.
|
|
181
|
+
* - `"dimensions"` - only the first scenario is drawn. A time chart has one
|
|
182
|
+
* value per period, so each stack has one segment.
|
|
205
183
|
* - `mode` (optional, default `"absolute"`):
|
|
206
184
|
* - `"absolute"` - additive stacking, axis shows absolute units.
|
|
207
185
|
* - `"relative"` - 100% stacking, axis shows 0%-100%. `unit-scaling` is
|
|
@@ -217,11 +195,11 @@ export declare class Chart {
|
|
|
217
195
|
*
|
|
218
196
|
* @example
|
|
219
197
|
* // Stack scenarios
|
|
220
|
-
* stack='{"by":"
|
|
198
|
+
* stack='{"by":"scenarios"}'
|
|
221
199
|
*
|
|
222
200
|
* @example
|
|
223
|
-
* // Stack
|
|
224
|
-
* stack='{"by":"
|
|
201
|
+
* // Stack scenarios, relative mode
|
|
202
|
+
* stack='{"by":"scenarios","mode":"relative"}'
|
|
225
203
|
*/
|
|
226
204
|
stack: string;
|
|
227
205
|
validateStack(newValue: string): void;
|
|
@@ -259,10 +237,8 @@ export declare class Chart {
|
|
|
259
237
|
* values:<br />
|
|
260
238
|
* ```true // false```
|
|
261
239
|
*/
|
|
262
|
-
lineFullWidth:
|
|
263
|
-
|
|
264
|
-
showCategories: string;
|
|
265
|
-
validateShowCategories(newValue: string): void;
|
|
240
|
+
lineFullWidth: boolean;
|
|
241
|
+
showCategories: boolean;
|
|
266
242
|
/**
|
|
267
243
|
* Sets the SiPrefix of the Mesaurements and converts the
|
|
268
244
|
* original value.
|
|
@@ -305,12 +281,9 @@ export declare class Chart {
|
|
|
305
281
|
* values: <br />
|
|
306
282
|
* ```true // false```
|
|
307
283
|
*/
|
|
308
|
-
showMeasureScale:
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
validateShowOverlayAvg(newValue: string): void;
|
|
312
|
-
showOverlayMedian: string;
|
|
313
|
-
validateShowOverlayMedian(newValue: string): void;
|
|
284
|
+
showMeasureScale: boolean;
|
|
285
|
+
showOverlayAvg: boolean;
|
|
286
|
+
showOverlayMedian: boolean;
|
|
314
287
|
/**
|
|
315
288
|
* measureUnit displayed in table.
|
|
316
289
|
*/
|
|
@@ -331,7 +304,7 @@ export declare class Chart {
|
|
|
331
304
|
/** Content height as the sum of the vertically stacked segment SVGs. */
|
|
332
305
|
private measureContentHeight;
|
|
333
306
|
/**
|
|
334
|
-
* Reports
|
|
307
|
+
* Reports an overflow item when the rendered chart exceeds its
|
|
335
308
|
* container. Overflow attributable to a fixed scaling attribute is an
|
|
336
309
|
* error (height: unit-scaling / percentage-scaling, width: scale);
|
|
337
310
|
* overflow in fully-auto mode is a warning - auto-fit prevents it by
|
|
@@ -374,18 +347,15 @@ export declare class Chart {
|
|
|
374
347
|
private preparePixelPerUnit;
|
|
375
348
|
private preparePixelPerPercentage;
|
|
376
349
|
/**
|
|
377
|
-
* Receives the auto-fitted values from the inner
|
|
350
|
+
* Receives the auto-fitted values from the inner bn-chart-time-renderer (px per
|
|
378
351
|
* unit / px per 1.0 fraction) and surfaces them in the AUTO_* warnings,
|
|
379
352
|
* converted back to the attribute's units-per-em form so users can copy
|
|
380
353
|
* them into a bn-scaling-group.
|
|
381
354
|
*/
|
|
382
355
|
private handleAutoScalingReport;
|
|
383
|
-
private prepareLevel;
|
|
384
|
-
private prepareOrder;
|
|
385
356
|
private prepareStyle;
|
|
386
357
|
private prepareLeftSideOffset;
|
|
387
358
|
private prepareChartTitle;
|
|
388
|
-
private prepareLimit;
|
|
389
359
|
private prepareDateInterval;
|
|
390
360
|
private prepareIntervalSpanLimit;
|
|
391
361
|
private prepareAxisLabelsMode;
|
|
@@ -175,6 +175,11 @@ export declare class TimeChart {
|
|
|
175
175
|
private createI18n;
|
|
176
176
|
private createElementPosition;
|
|
177
177
|
private calculateTitleLength;
|
|
178
|
+
/**
|
|
179
|
+
* The styles with each scenario on the bar style slot its colorIndex selects.
|
|
180
|
+
* `this.styles` stays the theme: the hatch pattern is built from its `fc` slot.
|
|
181
|
+
*/
|
|
182
|
+
private scenarioStyles;
|
|
178
183
|
private setAxisScenario;
|
|
179
184
|
private populateModel;
|
|
180
185
|
private detectNaNCells;
|
|
@@ -184,6 +189,8 @@ export declare class TimeChart {
|
|
|
184
189
|
private static coerceDateTime;
|
|
185
190
|
private queryDataSet;
|
|
186
191
|
private createDataRows;
|
|
192
|
+
/** The bucket a point belongs to. */
|
|
193
|
+
private static pointDate;
|
|
187
194
|
private findSmallestDataPointValue;
|
|
188
195
|
private findHighestDataPointValue;
|
|
189
196
|
private populateVarianceModel;
|
|
@@ -2,6 +2,7 @@ import { G } from "@svgdotjs/svg.js";
|
|
|
2
2
|
import { TimeChartStyle } from "../model/styles/TimeChartStyle";
|
|
3
3
|
import { DataFormatDigits } from "../../../../components";
|
|
4
4
|
import { SiPrefix } from "../../../../utils/model/SiPrefix";
|
|
5
|
+
import { DataPointKey, DataPointPart } from "../../../../utils/layoutState/types";
|
|
5
6
|
/**
|
|
6
7
|
* Anchor point for label positioning relative to its coordinates.
|
|
7
8
|
* Vertical hooks control how the label is offset from its Y coordinate;
|
|
@@ -41,10 +42,14 @@ export declare class Label {
|
|
|
41
42
|
private segmentFillColor;
|
|
42
43
|
private verticalHookLocation;
|
|
43
44
|
private horizontalHookLocation;
|
|
45
|
+
private pointKey?;
|
|
46
|
+
private pointPart;
|
|
44
47
|
constructor(parent: G, xPosition: number, yPosition: number, groupPrefix: string, value: number | string | null, styles: TimeChartStyle, verticalHookLocation: HookLocation, horizontalHookLocation: HookLocation);
|
|
45
48
|
setToVarianceLabel(): Label;
|
|
46
49
|
setToRelativeVarianceLabel(): Label;
|
|
47
50
|
setSegmentFill(color: string): Label;
|
|
51
|
+
/** The data row this label belongs to. Written on the label group when the label is visible. */
|
|
52
|
+
setPoint(key: DataPointKey | undefined, part?: DataPointPart): Label;
|
|
48
53
|
updateGroup(newGroup: G): Label;
|
|
49
54
|
draw(displayLabel?: boolean, dataFormatDigits?: DataFormatDigits, measureScale?: SiPrefix): Label;
|
|
50
55
|
isEmpty(): boolean;
|
|
@@ -9,6 +9,8 @@ export interface LineSeriesDataPoint {
|
|
|
9
9
|
index: number;
|
|
10
10
|
}
|
|
11
11
|
export declare class LineSeries {
|
|
12
|
+
/** Style slot (ac, pp, fc, pl) of the line. Without it the scenario name decides. */
|
|
13
|
+
private readonly lineSlot?;
|
|
12
14
|
private readonly MARKER_SIZE;
|
|
13
15
|
private readonly LINE_WIDTH;
|
|
14
16
|
private readonly ID_LINE_PREFIX;
|
|
@@ -24,7 +26,9 @@ export declare class LineSeries {
|
|
|
24
26
|
private readonly scenarioName;
|
|
25
27
|
private readonly scenarioLabel;
|
|
26
28
|
private readonly collisionManager;
|
|
27
|
-
constructor(position: ElementPositions, styles: TimeChartStyle, dataPoints: LineSeriesDataPoint[], scenarioGroup: G, labelGroup: G, scenarioName: string, scenarioLabel: string | null, _i18n: Map<string | number, string>, collisionManager?: LabelCollisionManager | null
|
|
29
|
+
constructor(position: ElementPositions, styles: TimeChartStyle, dataPoints: LineSeriesDataPoint[], scenarioGroup: G, labelGroup: G, scenarioName: string, scenarioLabel: string | null, _i18n: Map<string | number, string>, collisionManager?: LabelCollisionManager | null,
|
|
30
|
+
/** Style slot (ac, pp, fc, pl) of the line. Without it the scenario name decides. */
|
|
31
|
+
lineSlot?: string);
|
|
28
32
|
/**
|
|
29
33
|
* Backward-compatible: draws everything (geometry + labels) in one call.
|
|
30
34
|
*/
|
|
@@ -27,6 +27,7 @@ export declare class Marker {
|
|
|
27
27
|
private position;
|
|
28
28
|
private dimensions;
|
|
29
29
|
private hasData;
|
|
30
|
+
private pointKey?;
|
|
30
31
|
constructor(position: ElementPositions, markerGroup: G, markerPattern: SVGPolgonPattern, scenario: string | null, styles: TimeChartStyle, dataPoint: DataPoint, index: number, labelText: string | null, isPrimaryMarker: boolean);
|
|
31
32
|
draw(): Marker;
|
|
32
33
|
createMarkerDimensions(dataPoint: DataPoint, index: number, isPrimaryMarker: boolean): TimeChartDimension;
|