@progress/kendo-angular-charts 17.0.0-develop.4 → 17.0.0-develop.41
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/README.md +52 -49
- package/chart/axis-defaults/crosshair.component.d.ts +1 -1
- package/chart/axis-defaults/crosshair.tooltip.component.d.ts +1 -1
- package/chart/axis-defaults/labels.component.d.ts +1 -1
- package/chart/axis-defaults/title.component.d.ts +1 -1
- package/chart/axis-defaults.component.d.ts +1 -1
- package/chart/category-axis-item/crosshair.component.d.ts +1 -1
- package/chart/category-axis-item/crosshair.tooltip.component.d.ts +1 -1
- package/chart/category-axis-item/labels.component.d.ts +1 -1
- package/chart/category-axis-item/notes.component.d.ts +1 -1
- package/chart/category-axis-item/notes.icon.component.d.ts +1 -1
- package/chart/category-axis-item/notes.label.component.d.ts +1 -1
- package/chart/category-axis-item/select.component.d.ts +1 -1
- package/chart/category-axis-item/title.component.d.ts +1 -1
- package/chart/category-axis-item.component.d.ts +1 -1
- package/chart/chart-area.component.d.ts +1 -1
- package/chart/legend/inactive-items.component.d.ts +1 -1
- package/chart/legend/item.component.d.ts +1 -1
- package/chart/legend.component.d.ts +1 -1
- package/chart/localization/custom-messages.component.d.ts +23 -0
- package/chart/localization/localized-messages.directive.d.ts +16 -0
- package/chart/localization/messages.d.ts +17 -0
- package/chart/no-data-template.directive.d.ts +17 -0
- package/chart/pane/title.component.d.ts +1 -1
- package/chart/pane-defaults/title.component.d.ts +1 -1
- package/chart/pane-defaults.component.d.ts +1 -1
- package/chart/pane.component.d.ts +1 -1
- package/chart/plot-area.component.d.ts +1 -1
- package/chart/series-defaults/labels.component.d.ts +1 -1
- package/chart/series-defaults/labels.from.component.d.ts +1 -1
- package/chart/series-defaults/labels.to.component.d.ts +1 -1
- package/chart/series-defaults/notes.component.d.ts +1 -1
- package/chart/series-defaults/notes.icon.component.d.ts +1 -1
- package/chart/series-defaults/notes.label.component.d.ts +1 -1
- package/chart/series-defaults/tooltip.component.d.ts +1 -1
- package/chart/series-defaults.component.d.ts +1 -1
- package/chart/series-item/error-bars.component.d.ts +1 -1
- package/chart/series-item/extremes.component.d.ts +1 -1
- package/chart/series-item/highlight.component.d.ts +1 -1
- package/chart/series-item/labels.component.d.ts +1 -1
- package/chart/series-item/labels.from.component.d.ts +1 -1
- package/chart/series-item/labels.to.component.d.ts +1 -1
- package/chart/series-item/markers.component.d.ts +1 -1
- package/chart/series-item/notes.component.d.ts +1 -1
- package/chart/series-item/notes.icon.component.d.ts +1 -1
- package/chart/series-item/notes.label.component.d.ts +1 -1
- package/chart/series-item/outliers.component.d.ts +1 -1
- package/chart/series-item/tooltip.component.d.ts +1 -1
- package/chart/series-item/trendline.component.d.ts +1 -1
- package/chart/series-item/trendline.forecast.component.d.ts +1 -1
- package/chart/series-item.component.d.ts +11 -2
- package/chart/subtitle.component.d.ts +1 -1
- package/chart/title.component.d.ts +1 -1
- package/chart/tooltip/base-tooltip.d.ts +1 -1
- package/chart/tooltip/crosshair-tooltip.component.d.ts +1 -3
- package/chart/tooltip/crosshair-tooltips-container.component.d.ts +2 -2
- package/chart/tooltip/tooltip-popup.component.d.ts +1 -3
- package/chart/tooltip.component.d.ts +1 -1
- package/chart/value-axis-item/crosshair.component.d.ts +1 -1
- package/chart/value-axis-item/crosshair.tooltip.component.d.ts +1 -1
- package/chart/value-axis-item/labels.component.d.ts +1 -1
- package/chart/value-axis-item/notes.component.d.ts +1 -1
- package/chart/value-axis-item/notes.icon.component.d.ts +1 -1
- package/chart/value-axis-item/notes.label.component.d.ts +1 -1
- package/chart/value-axis-item/title.component.d.ts +1 -1
- package/chart/value-axis-item.component.d.ts +1 -1
- package/chart/x-axis-item/crosshair.component.d.ts +1 -1
- package/chart/x-axis-item/crosshair.tooltip.component.d.ts +1 -1
- package/chart/x-axis-item/labels.component.d.ts +1 -1
- package/chart/x-axis-item/notes.component.d.ts +1 -1
- package/chart/x-axis-item/notes.icon.component.d.ts +1 -1
- package/chart/x-axis-item/notes.label.component.d.ts +1 -1
- package/chart/x-axis-item/title.component.d.ts +1 -1
- package/chart/x-axis-item.component.d.ts +1 -1
- package/chart/y-axis-item/crosshair.component.d.ts +1 -1
- package/chart/y-axis-item/crosshair.tooltip.component.d.ts +1 -1
- package/chart/y-axis-item/labels.component.d.ts +1 -1
- package/chart/y-axis-item/notes.component.d.ts +1 -1
- package/chart/y-axis-item/notes.icon.component.d.ts +1 -1
- package/chart/y-axis-item/notes.label.component.d.ts +1 -1
- package/chart/y-axis-item/title.component.d.ts +1 -1
- package/chart/y-axis-item.component.d.ts +1 -1
- package/chart/zoomable.component.d.ts +1 -1
- package/chart-breadcrumb.component.d.ts +1 -1
- package/chart-options.interface.d.ts +7 -0
- package/chart.component.d.ts +8 -1
- package/chart.directives.d.ts +4 -1
- package/chart.module.d.ts +92 -89
- package/charts.module.d.ts +135 -132
- package/common/property-types.d.ts +1 -0
- package/directives.d.ts +5 -2
- package/{esm2020 → esm2022}/chart/axis-defaults/crosshair.component.mjs +28 -3
- package/{esm2020 → esm2022}/chart/axis-defaults/crosshair.tooltip.component.mjs +29 -3
- package/esm2022/chart/axis-defaults/labels.component.mjs +105 -0
- package/{esm2020 → esm2022}/chart/axis-defaults/title.component.mjs +39 -3
- package/{esm2020 → esm2022}/chart/axis-defaults.component.mjs +40 -3
- package/{esm2020 → esm2022}/chart/category-axis-item/crosshair.component.mjs +28 -3
- package/{esm2020 → esm2022}/chart/category-axis-item/crosshair.tooltip.component.mjs +29 -3
- package/esm2022/chart/category-axis-item/labels.component.mjs +129 -0
- package/{esm2020 → esm2022}/chart/category-axis-item/notes.component.mjs +11 -3
- package/{esm2020 → esm2022}/chart/category-axis-item/notes.icon.component.mjs +9 -3
- package/{esm2020/chart/y-axis-item → esm2022/chart/category-axis-item}/notes.label.component.mjs +37 -5
- package/{esm2020 → esm2022}/chart/category-axis-item/range-labels.component.mjs +4 -3
- package/{esm2020 → esm2022}/chart/category-axis-item/select.component.mjs +9 -3
- package/{esm2020 → esm2022}/chart/category-axis-item/title.component.mjs +40 -3
- package/{esm2020 → esm2022}/chart/category-axis-item.component.mjs +76 -3
- package/{esm2020 → esm2022}/chart/category-axis.component.mjs +6 -3
- package/{esm2020 → esm2022}/chart/chart-area.component.mjs +30 -3
- package/{esm2020 → esm2022}/chart/donut-center-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/chart/legend/inactive-items.component.mjs +5 -3
- package/{esm2020 → esm2022}/chart/legend/item.component.mjs +11 -3
- package/esm2022/chart/legend.component.mjs +136 -0
- package/esm2022/chart/localization/custom-messages.component.mjs +49 -0
- package/esm2022/chart/localization/localized-messages.directive.mjs +39 -0
- package/esm2022/chart/localization/messages.mjs +27 -0
- package/esm2022/chart/no-data-template.directive.mjs +28 -0
- package/{esm2020 → esm2022}/chart/pane/title.component.mjs +31 -3
- package/{esm2020 → esm2022}/chart/pane-defaults/title.component.mjs +30 -3
- package/{esm2020 → esm2022}/chart/pane-defaults.component.mjs +19 -3
- package/{esm2020 → esm2022}/chart/pane.component.mjs +21 -3
- package/{esm2020 → esm2022}/chart/panes.component.mjs +6 -3
- package/{esm2020 → esm2022}/chart/plot-area.component.mjs +27 -3
- package/{esm2020 → esm2022}/chart/series-defaults/labels.component.mjs +37 -3
- package/{esm2020 → esm2022}/chart/series-defaults/labels.from.component.mjs +33 -3
- package/{esm2020 → esm2022}/chart/series-defaults/labels.to.component.mjs +33 -3
- package/{esm2020 → esm2022}/chart/series-defaults/notes.component.mjs +9 -3
- package/{esm2020/chart/y-axis-item → esm2022/chart/series-defaults}/notes.icon.component.mjs +20 -6
- package/{esm2020 → esm2022}/chart/series-defaults/notes.label.component.mjs +34 -3
- package/{esm2020 → esm2022}/chart/series-defaults/tooltip.component.mjs +23 -3
- package/{esm2020 → esm2022}/chart/series-defaults.component.mjs +32 -3
- package/{esm2020 → esm2022}/chart/series-drilldown-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/chart/series-item/error-bars.component.mjs +15 -3
- package/{esm2020 → esm2022}/chart/series-item/extremes.component.mjs +17 -3
- package/{esm2020 → esm2022}/chart/series-item/highlight.component.mjs +16 -3
- package/{esm2020 → esm2022}/chart/series-item/labels.component.mjs +50 -3
- package/{esm2020 → esm2022}/chart/series-item/labels.from.component.mjs +34 -3
- package/{esm2020 → esm2022}/chart/series-item/labels.to.component.mjs +34 -3
- package/{esm2020 → esm2022}/chart/series-item/markers.component.mjs +25 -3
- package/{esm2020 → esm2022}/chart/series-item/notes.component.mjs +10 -3
- package/{esm2020 → esm2022}/chart/series-item/notes.icon.component.mjs +19 -3
- package/{esm2020 → esm2022}/chart/series-item/notes.label.component.mjs +39 -3
- package/{esm2020 → esm2022}/chart/series-item/outliers.component.mjs +19 -3
- package/{esm2020 → esm2022}/chart/series-item/tooltip.component.mjs +20 -3
- package/{esm2020 → esm2022}/chart/series-item/trendline.component.mjs +8 -3
- package/{esm2020 → esm2022}/chart/series-item/trendline.forecast.component.mjs +12 -3
- package/esm2022/chart/series-item.component.mjs +647 -0
- package/{esm2020 → esm2022}/chart/series.component.mjs +8 -3
- package/{esm2020 → esm2022}/chart/subtitle.component.mjs +39 -3
- package/{esm2020 → esm2022}/chart/title.component.mjs +47 -3
- package/{esm2020 → esm2022}/chart/tooltip/base-tooltip.mjs +14 -7
- package/{esm2020 → esm2022}/chart/tooltip/crosshair-tooltip.component.mjs +11 -10
- package/{esm2020 → esm2022}/chart/tooltip/crosshair-tooltips-container.component.mjs +12 -12
- package/{esm2020 → esm2022}/chart/tooltip/series-tooltip-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/chart/tooltip/shared-tooltip-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/chart/tooltip/tooltip-popup.component.mjs +25 -15
- package/esm2022/chart/tooltip/tooltip-template-point.mjs +105 -0
- package/{esm2020 → esm2022}/chart/tooltip.component.mjs +32 -3
- package/{esm2020 → esm2022}/chart/value-axis-item/crosshair.component.mjs +25 -3
- package/{esm2020 → esm2022}/chart/value-axis-item/crosshair.tooltip.component.mjs +27 -3
- package/esm2022/chart/value-axis-item/labels.component.mjs +118 -0
- package/{esm2020 → esm2022}/chart/value-axis-item/notes.component.mjs +11 -3
- package/{esm2020 → esm2022}/chart/value-axis-item/notes.icon.component.mjs +17 -3
- package/{esm2020 → esm2022}/chart/value-axis-item/notes.label.component.mjs +34 -3
- package/{esm2020 → esm2022}/chart/value-axis-item/title.component.mjs +39 -3
- package/{esm2020 → esm2022}/chart/value-axis-item.component.mjs +64 -3
- package/{esm2020 → esm2022}/chart/value-axis.component.mjs +6 -3
- package/{esm2020 → esm2022}/chart/x-axis-item/crosshair.component.mjs +22 -3
- package/{esm2020 → esm2022}/chart/x-axis-item/crosshair.tooltip.component.mjs +29 -3
- package/{esm2020 → esm2022}/chart/x-axis-item/labels.component.mjs +50 -3
- package/{esm2020 → esm2022}/chart/x-axis-item/notes.component.mjs +11 -3
- package/{esm2020 → esm2022}/chart/x-axis-item/notes.icon.component.mjs +17 -3
- package/{esm2020 → esm2022}/chart/x-axis-item/notes.label.component.mjs +35 -3
- package/{esm2020 → esm2022}/chart/x-axis-item/title.component.mjs +40 -3
- package/{esm2020 → esm2022}/chart/x-axis-item.component.mjs +47 -3
- package/{esm2020 → esm2022}/chart/x-axis.component.mjs +6 -3
- package/{esm2020 → esm2022}/chart/y-axis-item/crosshair.component.mjs +10 -3
- package/{esm2020 → esm2022}/chart/y-axis-item/crosshair.tooltip.component.mjs +11 -3
- package/esm2022/chart/y-axis-item/labels.component.mjs +123 -0
- package/{esm2020 → esm2022}/chart/y-axis-item/notes.component.mjs +11 -3
- package/esm2022/chart/y-axis-item/notes.icon.component.mjs +53 -0
- package/esm2022/chart/y-axis-item/notes.label.component.mjs +79 -0
- package/{esm2020 → esm2022}/chart/y-axis-item/title.component.mjs +40 -3
- package/{esm2020 → esm2022}/chart/y-axis-item.component.mjs +54 -3
- package/{esm2020 → esm2022}/chart/y-axis.component.mjs +6 -3
- package/{esm2020 → esm2022}/chart/zoomable.component.mjs +6 -3
- package/{esm2020 → esm2022}/chart-breadcrumb.component.mjs +21 -14
- package/{esm2020 → esm2022}/chart.component.mjs +280 -172
- package/{esm2020 → esm2022}/chart.directives.mjs +4 -1
- package/esm2022/chart.module.mjs +140 -0
- package/esm2022/charts.module.mjs +184 -0
- package/{esm2020 → esm2022}/common/chart-instance-observer.mjs +7 -7
- package/{esm2020 → esm2022}/common/collection-item.component.mjs +8 -5
- package/{esm2020 → esm2022}/common/collection.component.mjs +9 -4
- package/{esm2020 → esm2022}/common/collection.service.mjs +7 -3
- package/{esm2020 → esm2022}/common/configuration.service.mjs +10 -5
- package/{esm2020 → esm2022}/common/prefix-configuration.service.mjs +5 -3
- package/{esm2020 → esm2022}/common/root-configuration.service.mjs +3 -3
- package/{esm2020 → esm2022}/common/settings.component.mjs +6 -4
- package/{esm2020 → esm2022}/common/theme.service.mjs +5 -4
- package/{esm2020 → esm2022}/common/tooltip-template.service.mjs +6 -3
- package/{esm2020 → esm2022}/directives.mjs +6 -0
- package/{esm2020 → esm2022}/events/axis-label-click-event.mjs +21 -0
- package/{esm2020 → esm2022}/events/base-event.mjs +7 -3
- package/{esm2020 → esm2022}/events/drag-end-event.mjs +9 -0
- package/{esm2020 → esm2022}/events/drag-event.mjs +9 -0
- package/{esm2020 → esm2022}/events/drag-start-event.mjs +9 -0
- package/{esm2020 → esm2022}/events/drilldown-event.mjs +12 -0
- package/{esm2020 → esm2022}/events/legend-event.mjs +17 -0
- package/{esm2020 → esm2022}/events/note-event.mjs +20 -0
- package/{esm2020 → esm2022}/events/pane-render-event.mjs +12 -0
- package/{esm2020 → esm2022}/events/plot-area-click-event.mjs +20 -0
- package/{esm2020 → esm2022}/events/plot-area-hover-event.mjs +20 -0
- package/{esm2020 → esm2022}/events/preventable-event.mjs +4 -7
- package/{esm2020 → esm2022}/events/select-end-event.mjs +12 -0
- package/{esm2020 → esm2022}/events/select-event.mjs +12 -0
- package/{esm2020 → esm2022}/events/select-start-event.mjs +12 -0
- package/{esm2020 → esm2022}/events/series-click-event.mjs +33 -0
- package/{esm2020 → esm2022}/events/series-event.mjs +32 -0
- package/{esm2020 → esm2022}/events/zoom-end-event.mjs +12 -0
- package/{esm2020 → esm2022}/events/zoom-event.mjs +18 -0
- package/{esm2020 → esm2022}/events/zoom-start-event.mjs +9 -0
- package/{esm2020 → esm2022}/index.mjs +1 -0
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/{esm2020 → esm2022}/sankey/data-binding/flat-binding.directive.mjs +22 -13
- package/{esm2020 → esm2022}/sankey/data-binding/flat-binding.event.mjs +10 -0
- package/{esm2020 → esm2022}/sankey/events/sankey-base-event.mjs +8 -0
- package/{esm2020 → esm2022}/sankey/events/sankey-link-event.mjs +4 -0
- package/{esm2020 → esm2022}/sankey/events/sankey-node-event.mjs +4 -0
- package/{esm2020 → esm2022}/sankey/labels.component.mjs +14 -3
- package/esm2022/sankey/legend.component.mjs +129 -0
- package/{esm2020 → esm2022}/sankey/links.component.mjs +8 -3
- package/{esm2020 → esm2022}/sankey/localization/custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/sankey/localization/localized-messages.directive.mjs +9 -8
- package/{esm2020 → esm2022}/sankey/localization/messages.mjs +7 -3
- package/{esm2020 → esm2022}/sankey/nodes.component.mjs +20 -3
- package/{esm2020 → esm2022}/sankey/title.component.mjs +47 -3
- package/{esm2020 → esm2022}/sankey/tooltip/link-tooltip-template-context.mjs +12 -0
- package/{esm2020 → esm2022}/sankey/tooltip/link-tooltip-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/sankey/tooltip/node-tooltip-template-context.mjs +12 -0
- package/{esm2020 → esm2022}/sankey/tooltip/node-tooltip-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/sankey/tooltip/square-symbol.directive.mjs +7 -8
- package/{esm2020 → esm2022}/sankey/tooltip/tooltip-popup.component.mjs +36 -19
- package/{esm2020 → esm2022}/sankey/tooltip/tooltip-template.service.mjs +5 -3
- package/{esm2020 → esm2022}/sankey/tooltip.component.mjs +30 -3
- package/{esm2020 → esm2022}/sankey.component.mjs +107 -50
- package/{esm2020 → esm2022}/sankey.module.mjs +4 -4
- package/{esm2020 → esm2022}/sparkline.component.mjs +67 -43
- package/esm2022/sparkline.module.mjs +142 -0
- package/{esm2020 → esm2022}/stock-chart/events/navigator-filter-event.mjs +8 -0
- package/{esm2020 → esm2022}/stock-chart/navigator/category-axis/crosshair.component.mjs +4 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/category-axis/crosshair.tooltip.component.mjs +4 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/category-axis/labels.component.mjs +4 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/category-axis/notes.component.mjs +4 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/category-axis/notes.icon.component.mjs +4 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/category-axis/notes.label.component.mjs +4 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/category-axis/select.component.mjs +4 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/category-axis/title.component.mjs +4 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/category-axis.component.mjs +10 -9
- package/{esm2020 → esm2022}/stock-chart/navigator/hint.component.mjs +7 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/pane/title.component.mjs +4 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/pane.component.mjs +4 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/select.component.mjs +7 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/series-item/error-bars.component.mjs +4 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/series-item/extremes.component.mjs +4 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/series-item/highlight.component.mjs +4 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/series-item/labels.component.mjs +4 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/series-item/labels.from.component.mjs +4 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/series-item/labels.to.component.mjs +4 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/series-item/markers.component.mjs +4 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/series-item/notes.component.mjs +4 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/series-item/notes.icon.component.mjs +4 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/series-item/notes.label.component.mjs +4 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/series-item/outliers.component.mjs +4 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/series-item/tooltip.component.mjs +4 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/series-item.component.mjs +9 -3
- package/{esm2020 → esm2022}/stock-chart/navigator/series.component.mjs +8 -3
- package/{esm2020 → esm2022}/stock-chart/navigator.component.mjs +12 -3
- package/{esm2020 → esm2022}/stock-chart.component.mjs +60 -39
- package/esm2022/stock-chart.module.mjs +170 -0
- package/{fesm2020 → fesm2022}/progress-kendo-angular-charts.mjs +4311 -888
- package/field-types/axis-labels-position.d.ts +1 -1
- package/field-types/axis-title-position.d.ts +1 -1
- package/field-types/base-unit.d.ts +1 -1
- package/field-types/category-base-unit.d.ts +1 -1
- package/field-types/dash-type.d.ts +1 -1
- package/field-types/line-style.d.ts +1 -1
- package/field-types/lock-axis.d.ts +1 -1
- package/field-types/marker-type.d.ts +1 -1
- package/field-types/modifier-key.d.ts +1 -1
- package/field-types/note-label-position.d.ts +1 -1
- package/field-types/note-position.d.ts +1 -1
- package/field-types/series-labels-alignment.d.ts +1 -1
- package/field-types/series-labels-position.d.ts +1 -1
- package/field-types/series-type.d.ts +1 -1
- package/index.d.ts +1 -0
- package/option-types/legend/item.interface.d.ts +1 -1
- package/option-types/series-item.interface.d.ts +10 -0
- package/package.json +18 -24
- package/sankey/data-binding/flat-binding.directive.d.ts +1 -1
- package/sankey/labels.component.d.ts +1 -1
- package/sankey/legend.component.d.ts +1 -1
- package/sankey/links.component.d.ts +1 -1
- package/sankey/localization/messages.d.ts +1 -1
- package/sankey/nodes.component.d.ts +1 -1
- package/sankey/title.component.d.ts +1 -1
- package/sankey/tooltip/square-symbol.directive.d.ts +1 -1
- package/sankey/tooltip/tooltip-popup.component.d.ts +1 -3
- package/sankey/tooltip.component.d.ts +1 -1
- package/sankey.component.d.ts +1 -1
- package/sparkline.component.d.ts +5 -1
- package/sparkline.module.d.ts +94 -2
- package/stock-chart/navigator/hint.component.d.ts +1 -1
- package/stock-chart/navigator/select.component.d.ts +1 -1
- package/stock-chart/navigator/series-item.component.d.ts +1 -1
- package/stock-chart/navigator.component.d.ts +1 -1
- package/stock-chart.component.d.ts +1 -1
- package/stock-chart.module.d.ts +25 -2
- package/esm2020/chart/axis-defaults/labels.component.mjs +0 -52
- package/esm2020/chart/category-axis-item/labels.component.mjs +0 -63
- package/esm2020/chart/category-axis-item/notes.label.component.mjs +0 -47
- package/esm2020/chart/legend.component.mjs +0 -69
- package/esm2020/chart/series-defaults/notes.icon.component.mjs +0 -39
- package/esm2020/chart/series-item.component.mjs +0 -249
- package/esm2020/chart/tooltip/tooltip-template-point.mjs +0 -37
- package/esm2020/chart/value-axis-item/labels.component.mjs +0 -59
- package/esm2020/chart/y-axis-item/labels.component.mjs +0 -63
- package/esm2020/chart.module.mjs +0 -137
- package/esm2020/charts.module.mjs +0 -181
- package/esm2020/sankey/legend.component.mjs +0 -65
- package/esm2020/sparkline.module.mjs +0 -50
- package/esm2020/stock-chart.module.mjs +0 -147
- package/fesm2015/progress-kendo-angular-charts.mjs +0 -9270
- /package/{esm2020 → esm2022}/api-types/axis-range.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/api-types/chart-axis.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/api-types/chart-pane.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/api-types/chart-plotarea.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/api-types/chart-svg-export-options.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/api-types/chart-visual-export-options.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/api-types/event-axis-options.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/api-types/event-series-options.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/api-types/series-point-marker.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/api-types/series-point.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/argument-types/axis-label-content-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/argument-types/axis-label-visual-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/argument-types/axis-note-content-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/argument-types/axis-note-visual-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/argument-types/error-bars-value-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/argument-types/error-bars-visual-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/argument-types/highlight-toggle-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/argument-types/highlight-visual-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/argument-types/legend-item-visual-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/argument-types/legend-labels-content-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/argument-types/markers-visual-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/argument-types/plot-band-label-visual-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/argument-types/series-labels-content-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/argument-types/series-labels-visual-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/argument-types/series-note-content-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/argument-types/series-note-visual-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/argument-types/series-visual-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/argument-types/title-visual-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/chart/tooltip/body-factory.mjs +0 -0
- /package/{esm2020 → esm2022}/chart/tooltip/popup-settings.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/chart-defaults.mjs +0 -0
- /package/{esm2020 → esm2022}/chart-options.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/common/api-types.mjs +0 -0
- /package/{esm2020 → esm2022}/common/chart-default-theme.mjs +0 -0
- /package/{esm2020 → esm2022}/common/copy-changes.mjs +0 -0
- /package/{esm2020 → esm2022}/common/events.mjs +0 -0
- /package/{esm2020 → esm2022}/common/has-observers.mjs +0 -0
- /package/{esm2020 → esm2022}/common/has-parent.mjs +0 -0
- /package/{esm2020 → esm2022}/common/property-types.mjs +0 -0
- /package/{esm2020 → esm2022}/common/to-simple-changes.mjs +0 -0
- /package/{esm2020 → esm2022}/common.directives.mjs +0 -0
- /package/{esm2020 → esm2022}/events/instance-event.service.mjs +0 -0
- /package/{esm2020 → esm2022}/events/legend-item-click-event.mjs +0 -0
- /package/{esm2020 → esm2022}/events/legend-item-hover-event.mjs +0 -0
- /package/{esm2020 → esm2022}/events/legend-item-leave-event.mjs +0 -0
- /package/{esm2020 → esm2022}/events/note-click-event.mjs +0 -0
- /package/{esm2020 → esm2022}/events/note-hover-event.mjs +0 -0
- /package/{esm2020 → esm2022}/events/note-leave-event.mjs +0 -0
- /package/{esm2020 → esm2022}/events/plot-area-leave-event.mjs +0 -0
- /package/{esm2020 → esm2022}/events/render-event.mjs +0 -0
- /package/{esm2020 → esm2022}/events/series-hover-event.mjs +0 -0
- /package/{esm2020 → esm2022}/events/series-leave-event.mjs +0 -0
- /package/{esm2020 → esm2022}/events/series-over-event.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/auto-base-unit-steps.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/axis-labels-position.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/axis-line.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/axis-ticks.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/axis-title-position.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/base-unit.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/border.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/bullet-target-line.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/bullet-target.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/category-base-unit.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/dash-type.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/date-formats.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/drag-action.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/error-bar-line.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/grid-lines.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/highlight-line.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/label-connectors.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/label-rotation.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/legend-labels.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/line-style.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/lock-axis.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/margin.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/marker-type.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/modifier-key.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/mousewheel-select.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/mousewheel-zoom.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/negative-bubble-values.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/note-label-position.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/note-line.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/note-position.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/overlay.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/padding.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/plot-band-label.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/plot-band.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/series-labels-alignment.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/series-labels-position.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/series-line.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/series-mean.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/series-median.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/series-stack.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/series-type.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/series-whiskers.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/trendline-forecast.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/field-types/week-start-day.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/axis-defaults/crosshair.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/axis-defaults/crosshair.tooltip.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/axis-defaults/labels.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/axis-defaults/title.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/axis-defaults.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/category-axis-item/crosshair.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/category-axis-item/crosshair.tooltip.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/category-axis-item/labels.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/category-axis-item/notes.icon.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/category-axis-item/notes.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/category-axis-item/notes.label.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/category-axis-item/range-labels.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/category-axis-item/select.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/category-axis-item/title.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/category-axis-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/chart-area.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/legend/inactive-items.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/legend/item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/legend/legend-title.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/legend/markers.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/legend.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/pane/title.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/pane-defaults/title.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/pane-defaults.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/pane.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/plot-area.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/series-defaults/labels.from.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/series-defaults/labels.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/series-defaults/labels.to.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/series-defaults/notes.icon.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/series-defaults/notes.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/series-defaults/notes.label.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/series-defaults/tooltip.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/series-defaults.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/series-item/error-bars.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/series-item/extremes.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/series-item/highlight.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/series-item/labels.from.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/series-item/labels.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/series-item/labels.to.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/series-item/markers-highlight.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/series-item/markers.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/series-item/notes.icon.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/series-item/notes.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/series-item/notes.label.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/series-item/outliers.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/series-item/tooltip.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/series-item/trendline.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/series-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/subtitle.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/title.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/tooltip.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/value-axis-item/crosshair.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/value-axis-item/crosshair.tooltip.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/value-axis-item/labels.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/value-axis-item/notes.icon.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/value-axis-item/notes.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/value-axis-item/notes.label.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/value-axis-item/title.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/value-axis-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/x-axis-item/crosshair.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/x-axis-item/crosshair.tooltip.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/x-axis-item/labels.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/x-axis-item/notes.icon.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/x-axis-item/notes.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/x-axis-item/notes.label.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/x-axis-item/title.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/x-axis-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/y-axis-item/crosshair.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/y-axis-item/crosshair.tooltip.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/y-axis-item/labels.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/y-axis-item/notes.icon.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/y-axis-item/notes.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/y-axis-item/notes.label.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/y-axis-item/title.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/y-axis-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/option-types/zoomable.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-kendo-angular-charts.mjs +0 -0
- /package/{esm2020 → esm2022}/sankey/api-types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/sankey/events/index.mjs +0 -0
- /package/{esm2020 → esm2022}/sankey/events/instance-event.service.mjs +0 -0
- /package/{esm2020 → esm2022}/sankey.directives.mjs +0 -0
- /package/{esm2020 → esm2022}/sparkline.directives.mjs +0 -0
- /package/{esm2020 → esm2022}/stock-chart/events/instance-event.service.mjs +0 -0
- /package/{esm2020 → esm2022}/stock-chart/events.mjs +0 -0
- /package/{esm2020 → esm2022}/stock-chart/option-types/navigator/hint-content-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/stock-chart/option-types/navigator/hint.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/stock-chart/option-types/navigator/select.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/stock-chart/option-types/navigator.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/stock-chart/option-types.mjs +0 -0
- /package/{esm2020 → esm2022}/stock-chart.directives.mjs +0 -0
|
@@ -12,14 +12,25 @@ import * as i1 from "../common/configuration.service";
|
|
|
12
12
|
* ([see example](slug:customization_sankey#toc-customizing-the-sankey-diagram-elements)).
|
|
13
13
|
*/
|
|
14
14
|
export class SankeyLabelsComponent extends SettingsComponent {
|
|
15
|
+
configurationService;
|
|
16
|
+
visible;
|
|
17
|
+
font;
|
|
18
|
+
color;
|
|
19
|
+
align;
|
|
20
|
+
position;
|
|
21
|
+
padding;
|
|
22
|
+
margin;
|
|
23
|
+
border;
|
|
24
|
+
offset;
|
|
25
|
+
stroke;
|
|
15
26
|
constructor(configurationService) {
|
|
16
27
|
super('labels', configurationService);
|
|
17
28
|
this.configurationService = configurationService;
|
|
18
29
|
}
|
|
30
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SankeyLabelsComponent, deps: [{ token: i1.ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
31
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SankeyLabelsComponent, isStandalone: true, selector: "kendo-sankey-labels", inputs: { visible: "visible", font: "font", color: "color", align: "align", position: "position", padding: "padding", margin: "margin", border: "border", offset: "offset", stroke: "stroke" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
19
32
|
}
|
|
20
|
-
|
|
21
|
-
SankeyLabelsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SankeyLabelsComponent, isStandalone: true, selector: "kendo-sankey-labels", inputs: { visible: "visible", font: "font", color: "color", align: "align", position: "position", padding: "padding", margin: "margin", border: "border", offset: "offset", stroke: "stroke" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SankeyLabelsComponent, decorators: [{
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SankeyLabelsComponent, decorators: [{
|
|
23
34
|
type: Component,
|
|
24
35
|
args: [{
|
|
25
36
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
6
|
+
import { ConfigurationService } from '../common/configuration.service';
|
|
7
|
+
import { SettingsComponent } from '../common/settings.component';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "../common/configuration.service";
|
|
10
|
+
/**
|
|
11
|
+
* The configuration options of the Sankey legend
|
|
12
|
+
* ([see example]({% slug legend_sankey %})).
|
|
13
|
+
*/
|
|
14
|
+
export class SankeyLegendComponent extends SettingsComponent {
|
|
15
|
+
configurationService;
|
|
16
|
+
/**
|
|
17
|
+
* The legend is horizontally aligned when [`legend.position`]({% slug api_charts_sankeylegend %}#toc-position) is set to `"top"` or `"bottom"`.
|
|
18
|
+
* The legend is vertically aligned when [`legend.position`]({% slug api_charts_sankeylegend %}#toc-position) is set to `"left"` or `"right"`.
|
|
19
|
+
* @default 'center'
|
|
20
|
+
*/
|
|
21
|
+
align;
|
|
22
|
+
/**
|
|
23
|
+
* The background color of the legend. Accepts a valid CSS color string, including hex and rgb.
|
|
24
|
+
* @default 'white'
|
|
25
|
+
*/
|
|
26
|
+
background;
|
|
27
|
+
border;
|
|
28
|
+
height;
|
|
29
|
+
labels;
|
|
30
|
+
/**
|
|
31
|
+
* The margin of the Sankey legend. A numeric value sets all paddings.
|
|
32
|
+
* @default 5
|
|
33
|
+
*/
|
|
34
|
+
margin;
|
|
35
|
+
/**
|
|
36
|
+
* The X offset of the Sankey legend. The offset is relative to the default position of the legend.
|
|
37
|
+
* For example, a value of `20` moves the legend 20 pixels to the right of its initial position.
|
|
38
|
+
* Negative values move the legend to the left of its current position.
|
|
39
|
+
* @default 0
|
|
40
|
+
*/
|
|
41
|
+
offsetX;
|
|
42
|
+
/**
|
|
43
|
+
* The Y offset of the Sankey legend. The offset is relative to the current position of the legend.
|
|
44
|
+
* For example, a value of `20` moves the legend 20 pixels down from its initial position.
|
|
45
|
+
* Negative values move the legend upwards from its current position.
|
|
46
|
+
* @default 0
|
|
47
|
+
*/
|
|
48
|
+
offsetY;
|
|
49
|
+
/**
|
|
50
|
+
* The orientation of the legend items.
|
|
51
|
+
* @default 'vertical'
|
|
52
|
+
*/
|
|
53
|
+
orientation;
|
|
54
|
+
/**
|
|
55
|
+
* The padding of the Sankey legend. A numeric value sets all paddings.
|
|
56
|
+
* @default 5
|
|
57
|
+
*/
|
|
58
|
+
padding;
|
|
59
|
+
/**
|
|
60
|
+
* The position of the Sankey legend.
|
|
61
|
+
* Setting the legend position to `custom` allows you to position the legend using the [`legend.offsetX`](slug:api_charts_sankeylegend#toc-offsetx) and [`legend.offsetY`](slug:api_charts_sankeylegend#toc-offsety) options.
|
|
62
|
+
* @default 'right'
|
|
63
|
+
*/
|
|
64
|
+
position;
|
|
65
|
+
/**
|
|
66
|
+
* If set to `true`, the legend items are reversed.
|
|
67
|
+
* @default false
|
|
68
|
+
*/
|
|
69
|
+
reverse;
|
|
70
|
+
/**
|
|
71
|
+
* If set to `true`, the Sankey displays the legend. By default, the Sankey legend is visible.
|
|
72
|
+
* @default true
|
|
73
|
+
*/
|
|
74
|
+
visible;
|
|
75
|
+
width;
|
|
76
|
+
markers;
|
|
77
|
+
spacing;
|
|
78
|
+
title;
|
|
79
|
+
constructor(configurationService) {
|
|
80
|
+
super('legend', configurationService);
|
|
81
|
+
this.configurationService = configurationService;
|
|
82
|
+
this.markAsVisible();
|
|
83
|
+
}
|
|
84
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SankeyLegendComponent, deps: [{ token: i1.ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
85
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SankeyLegendComponent, isStandalone: true, selector: "kendo-sankey-legend", inputs: { align: "align", background: "background", border: "border", height: "height", labels: "labels", margin: "margin", offsetX: "offsetX", offsetY: "offsetY", orientation: "orientation", padding: "padding", position: "position", reverse: "reverse", visible: "visible", width: "width", markers: "markers", spacing: "spacing", title: "title" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
86
|
+
}
|
|
87
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SankeyLegendComponent, decorators: [{
|
|
88
|
+
type: Component,
|
|
89
|
+
args: [{
|
|
90
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
91
|
+
selector: 'kendo-sankey-legend',
|
|
92
|
+
template: '',
|
|
93
|
+
standalone: true
|
|
94
|
+
}]
|
|
95
|
+
}], ctorParameters: function () { return [{ type: i1.ConfigurationService }]; }, propDecorators: { align: [{
|
|
96
|
+
type: Input
|
|
97
|
+
}], background: [{
|
|
98
|
+
type: Input
|
|
99
|
+
}], border: [{
|
|
100
|
+
type: Input
|
|
101
|
+
}], height: [{
|
|
102
|
+
type: Input
|
|
103
|
+
}], labels: [{
|
|
104
|
+
type: Input
|
|
105
|
+
}], margin: [{
|
|
106
|
+
type: Input
|
|
107
|
+
}], offsetX: [{
|
|
108
|
+
type: Input
|
|
109
|
+
}], offsetY: [{
|
|
110
|
+
type: Input
|
|
111
|
+
}], orientation: [{
|
|
112
|
+
type: Input
|
|
113
|
+
}], padding: [{
|
|
114
|
+
type: Input
|
|
115
|
+
}], position: [{
|
|
116
|
+
type: Input
|
|
117
|
+
}], reverse: [{
|
|
118
|
+
type: Input
|
|
119
|
+
}], visible: [{
|
|
120
|
+
type: Input
|
|
121
|
+
}], width: [{
|
|
122
|
+
type: Input
|
|
123
|
+
}], markers: [{
|
|
124
|
+
type: Input
|
|
125
|
+
}], spacing: [{
|
|
126
|
+
type: Input
|
|
127
|
+
}], title: [{
|
|
128
|
+
type: Input
|
|
129
|
+
}] } });
|
|
@@ -12,14 +12,19 @@ import * as i1 from "../common/configuration.service";
|
|
|
12
12
|
* ([see example](slug:customization_sankey#toc-customizing-the-sankey-diagram-elements)).
|
|
13
13
|
*/
|
|
14
14
|
export class SankeyLinksComponent extends SettingsComponent {
|
|
15
|
+
configurationService;
|
|
16
|
+
colorType;
|
|
17
|
+
color;
|
|
18
|
+
opacity;
|
|
19
|
+
highlight;
|
|
15
20
|
constructor(configurationService) {
|
|
16
21
|
super('links', configurationService);
|
|
17
22
|
this.configurationService = configurationService;
|
|
18
23
|
}
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SankeyLinksComponent, deps: [{ token: i1.ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SankeyLinksComponent, isStandalone: true, selector: "kendo-sankey-links", inputs: { colorType: "colorType", color: "color", opacity: "opacity", highlight: "highlight" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
19
26
|
}
|
|
20
|
-
|
|
21
|
-
SankeyLinksComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SankeyLinksComponent, isStandalone: true, selector: "kendo-sankey-links", inputs: { colorType: "colorType", color: "color", opacity: "opacity", highlight: "highlight" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SankeyLinksComponent, decorators: [{
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SankeyLinksComponent, decorators: [{
|
|
23
28
|
type: Component,
|
|
24
29
|
args: [{
|
|
25
30
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -17,6 +17,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
19
|
export class SankeyCustomMessagesComponent extends Messages {
|
|
20
|
+
service;
|
|
20
21
|
constructor(service) {
|
|
21
22
|
super();
|
|
22
23
|
this.service = service;
|
|
@@ -24,15 +25,15 @@ export class SankeyCustomMessagesComponent extends Messages {
|
|
|
24
25
|
get override() {
|
|
25
26
|
return true;
|
|
26
27
|
}
|
|
28
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SankeyCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SankeyCustomMessagesComponent, isStandalone: true, selector: "kendo-sankey-messages", providers: [
|
|
30
|
+
{
|
|
31
|
+
provide: Messages,
|
|
32
|
+
useExisting: forwardRef(() => SankeyCustomMessagesComponent)
|
|
33
|
+
}
|
|
34
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
27
35
|
}
|
|
28
|
-
|
|
29
|
-
SankeyCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SankeyCustomMessagesComponent, isStandalone: true, selector: "kendo-sankey-messages", providers: [
|
|
30
|
-
{
|
|
31
|
-
provide: Messages,
|
|
32
|
-
useExisting: forwardRef(() => SankeyCustomMessagesComponent)
|
|
33
|
-
}
|
|
34
|
-
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SankeyCustomMessagesComponent, decorators: [{
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SankeyCustomMessagesComponent, decorators: [{
|
|
36
37
|
type: Component,
|
|
37
38
|
args: [{
|
|
38
39
|
providers: [
|
|
@@ -11,19 +11,20 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
13
13
|
export class LocalizedMessagesDirective extends Messages {
|
|
14
|
+
service;
|
|
14
15
|
constructor(service) {
|
|
15
16
|
super();
|
|
16
17
|
this.service = service;
|
|
17
18
|
}
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoSankeyLocalizedMessages]", providers: [
|
|
21
|
+
{
|
|
22
|
+
provide: Messages,
|
|
23
|
+
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
24
|
+
}
|
|
25
|
+
], usesInheritance: true, ngImport: i0 });
|
|
18
26
|
}
|
|
19
|
-
|
|
20
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoSankeyLocalizedMessages]", providers: [
|
|
21
|
-
{
|
|
22
|
-
provide: Messages,
|
|
23
|
-
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
24
|
-
}
|
|
25
|
-
], usesInheritance: true, ngImport: i0 });
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
27
28
|
type: Directive,
|
|
28
29
|
args: [{
|
|
29
30
|
providers: [
|
|
@@ -10,10 +10,14 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
* @hidden
|
|
11
11
|
*/
|
|
12
12
|
export class Messages extends ComponentMessages {
|
|
13
|
+
/**
|
|
14
|
+
* The format string to use when displaying node and link values in the tooltip.
|
|
15
|
+
*/
|
|
16
|
+
tooltipUnitFormat;
|
|
17
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
18
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: Messages, selector: "[kendoSankeyMessages]", inputs: { tooltipUnitFormat: "tooltipUnitFormat" }, usesInheritance: true, ngImport: i0 });
|
|
13
19
|
}
|
|
14
|
-
|
|
15
|
-
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: Messages, selector: "[kendoSankeyMessages]", inputs: { tooltipUnitFormat: "tooltipUnitFormat" }, usesInheritance: true, ngImport: i0 });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, decorators: [{
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, decorators: [{
|
|
17
21
|
type: Directive,
|
|
18
22
|
args: [{
|
|
19
23
|
selector: '[kendoSankeyMessages]'
|
|
@@ -12,14 +12,31 @@ import * as i1 from "../common/configuration.service";
|
|
|
12
12
|
* ([see example](slug:customization_sankey#toc-customizing-the-sankey-diagram-elements)).
|
|
13
13
|
*/
|
|
14
14
|
export class SankeyNodesComponent extends SettingsComponent {
|
|
15
|
+
configurationService;
|
|
16
|
+
/**
|
|
17
|
+
* The color type of the link.
|
|
18
|
+
* The supported values are:
|
|
19
|
+
* * `static`—The link color is static. The color is determined by the link's `color` option.
|
|
20
|
+
* * `source`—The link color is the same as the source node color.
|
|
21
|
+
* * `target`—The link color is the same as the target node color.
|
|
22
|
+
*
|
|
23
|
+
* @default 'static'
|
|
24
|
+
*/
|
|
25
|
+
colorType;
|
|
26
|
+
color;
|
|
27
|
+
opacity;
|
|
28
|
+
offset;
|
|
29
|
+
padding;
|
|
30
|
+
width;
|
|
31
|
+
align;
|
|
15
32
|
constructor(configurationService) {
|
|
16
33
|
super('nodes', configurationService);
|
|
17
34
|
this.configurationService = configurationService;
|
|
18
35
|
}
|
|
36
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SankeyNodesComponent, deps: [{ token: i1.ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SankeyNodesComponent, isStandalone: true, selector: "kendo-sankey-nodes", inputs: { colorType: "colorType", color: "color", opacity: "opacity", offset: "offset", padding: "padding", width: "width", align: "align" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
19
38
|
}
|
|
20
|
-
|
|
21
|
-
SankeyNodesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SankeyNodesComponent, isStandalone: true, selector: "kendo-sankey-nodes", inputs: { colorType: "colorType", color: "color", opacity: "opacity", offset: "offset", padding: "padding", width: "width", align: "align" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SankeyNodesComponent, decorators: [{
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SankeyNodesComponent, decorators: [{
|
|
23
40
|
type: Component,
|
|
24
41
|
args: [{
|
|
25
42
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -20,14 +20,58 @@ import * as i1 from "../common/configuration.service";
|
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
22
|
export class SankeyTitleComponent extends SettingsComponent {
|
|
23
|
+
configurationService;
|
|
24
|
+
/**
|
|
25
|
+
* The alignment of the title.
|
|
26
|
+
* The alignment options for text include `center` for middle alignment, `left` for left alignment, and `right` for right alignment, allowing for flexible positioning of the title.
|
|
27
|
+
*
|
|
28
|
+
* @default 'center'
|
|
29
|
+
*/
|
|
30
|
+
align;
|
|
31
|
+
/**
|
|
32
|
+
* The background color of the title. Accepts a valid CSS color string, including HEX and RGB.
|
|
33
|
+
*
|
|
34
|
+
* @default 'white'
|
|
35
|
+
*/
|
|
36
|
+
background;
|
|
37
|
+
border;
|
|
38
|
+
color;
|
|
39
|
+
/**
|
|
40
|
+
* The font of the title.
|
|
41
|
+
*
|
|
42
|
+
* @default '16px sans-serif'
|
|
43
|
+
*/
|
|
44
|
+
font;
|
|
45
|
+
margin;
|
|
46
|
+
/**
|
|
47
|
+
* The padding of the title. A numeric value sets all paddings.
|
|
48
|
+
*
|
|
49
|
+
* @default 5
|
|
50
|
+
*/
|
|
51
|
+
padding;
|
|
52
|
+
/**
|
|
53
|
+
* The position of the title.
|
|
54
|
+
* The positioning options for titles include `bottom` for positioning at the bottom and `top` for positioning at the top, providing flexibility in title placement.
|
|
55
|
+
*
|
|
56
|
+
* @default 'top'
|
|
57
|
+
*/
|
|
58
|
+
position;
|
|
59
|
+
text;
|
|
60
|
+
description;
|
|
61
|
+
/**
|
|
62
|
+
* If set to `true`, the Sankey displays the title.
|
|
63
|
+
*
|
|
64
|
+
* @default true
|
|
65
|
+
*/
|
|
66
|
+
visible;
|
|
23
67
|
constructor(configurationService) {
|
|
24
68
|
super('title', configurationService);
|
|
25
69
|
this.configurationService = configurationService;
|
|
26
70
|
}
|
|
71
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SankeyTitleComponent, deps: [{ token: i1.ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
72
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SankeyTitleComponent, isStandalone: true, selector: "kendo-sankey-title", inputs: { align: "align", background: "background", border: "border", color: "color", font: "font", margin: "margin", padding: "padding", position: "position", text: "text", description: "description", visible: "visible" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
27
73
|
}
|
|
28
|
-
|
|
29
|
-
SankeyTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SankeyTitleComponent, isStandalone: true, selector: "kendo-sankey-title", inputs: { align: "align", background: "background", border: "border", color: "color", font: "font", margin: "margin", padding: "padding", position: "position", text: "text", description: "description", visible: "visible" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SankeyTitleComponent, decorators: [{
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SankeyTitleComponent, decorators: [{
|
|
31
75
|
type: Component,
|
|
32
76
|
args: [{
|
|
33
77
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -6,6 +6,18 @@
|
|
|
6
6
|
* The context that is passed to the Sankey diagram Link tooltip template.
|
|
7
7
|
*/
|
|
8
8
|
export class SankeyLinkTooltipTemplateContext {
|
|
9
|
+
/**
|
|
10
|
+
* The link source data item.
|
|
11
|
+
*/
|
|
12
|
+
source;
|
|
13
|
+
/**
|
|
14
|
+
* The link target data item.
|
|
15
|
+
*/
|
|
16
|
+
target;
|
|
17
|
+
/**
|
|
18
|
+
* The link value.
|
|
19
|
+
*/
|
|
20
|
+
value;
|
|
9
21
|
/**
|
|
10
22
|
* @hidden
|
|
11
23
|
*/
|
|
@@ -71,13 +71,14 @@ import * as i0 from "@angular/core";
|
|
|
71
71
|
* ```
|
|
72
72
|
*/
|
|
73
73
|
export class SankeyLinkTooltipTemplateDirective {
|
|
74
|
+
templateRef;
|
|
74
75
|
constructor(templateRef) {
|
|
75
76
|
this.templateRef = templateRef;
|
|
76
77
|
}
|
|
78
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SankeyLinkTooltipTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
79
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SankeyLinkTooltipTemplateDirective, isStandalone: true, selector: "[kendoSankeyLinkTooltipTemplate]", ngImport: i0 });
|
|
77
80
|
}
|
|
78
|
-
|
|
79
|
-
SankeyLinkTooltipTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SankeyLinkTooltipTemplateDirective, isStandalone: true, selector: "[kendoSankeyLinkTooltipTemplate]", ngImport: i0 });
|
|
80
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SankeyLinkTooltipTemplateDirective, decorators: [{
|
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SankeyLinkTooltipTemplateDirective, decorators: [{
|
|
81
82
|
type: Directive,
|
|
82
83
|
args: [{
|
|
83
84
|
selector: '[kendoSankeyLinkTooltipTemplate]',
|
|
@@ -6,6 +6,18 @@
|
|
|
6
6
|
* The context that is passed to the Sankey diagram Node tooltip template.
|
|
7
7
|
*/
|
|
8
8
|
export class SankeyNodeTooltipTemplateContext {
|
|
9
|
+
/**
|
|
10
|
+
* The node color.
|
|
11
|
+
*/
|
|
12
|
+
color;
|
|
13
|
+
/**
|
|
14
|
+
* The node label data.
|
|
15
|
+
*/
|
|
16
|
+
label;
|
|
17
|
+
/**
|
|
18
|
+
* The node value.
|
|
19
|
+
*/
|
|
20
|
+
value;
|
|
9
21
|
/**
|
|
10
22
|
* @hidden
|
|
11
23
|
*/
|
|
@@ -48,13 +48,14 @@ import * as i0 from "@angular/core";
|
|
|
48
48
|
* ```
|
|
49
49
|
*/
|
|
50
50
|
export class SankeyNodeTooltipTemplateDirective {
|
|
51
|
+
templateRef;
|
|
51
52
|
constructor(templateRef) {
|
|
52
53
|
this.templateRef = templateRef;
|
|
53
54
|
}
|
|
55
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SankeyNodeTooltipTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
56
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SankeyNodeTooltipTemplateDirective, isStandalone: true, selector: "[kendoSankeyNodeTooltipTemplate]", ngImport: i0 });
|
|
54
57
|
}
|
|
55
|
-
|
|
56
|
-
SankeyNodeTooltipTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SankeyNodeTooltipTemplateDirective, isStandalone: true, selector: "[kendoSankeyNodeTooltipTemplate]", ngImport: i0 });
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SankeyNodeTooltipTemplateDirective, decorators: [{
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SankeyNodeTooltipTemplateDirective, decorators: [{
|
|
58
59
|
type: Directive,
|
|
59
60
|
args: [{
|
|
60
61
|
selector: '[kendoSankeyNodeTooltipTemplate]',
|
|
@@ -8,15 +8,14 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
* @hidden
|
|
9
9
|
*/
|
|
10
10
|
export class SquareSymbol {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
11
|
+
color;
|
|
12
|
+
size = 15;
|
|
13
|
+
display = 'inline-flex';
|
|
14
|
+
marginLeft = 3;
|
|
15
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SquareSymbol, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
16
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SquareSymbol, isStandalone: true, selector: "[squareSymbol]", inputs: { color: "color", size: "size" }, host: { properties: { "style.backgroundColor": "this.color", "style.width.px": "this.size", "style.height.px": "this.size", "style.display": "this.display", "style.marginLeft.px": "this.marginLeft" } }, ngImport: i0 });
|
|
16
17
|
}
|
|
17
|
-
|
|
18
|
-
SquareSymbol.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SquareSymbol, isStandalone: true, selector: "[squareSymbol]", inputs: { color: "color", size: "size" }, host: { properties: { "style.backgroundColor": "this.color", "style.width.px": "this.size", "style.height.px": "this.size", "style.display": "this.display", "style.marginLeft.px": "this.marginLeft" } }, ngImport: i0 });
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SquareSymbol, decorators: [{
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SquareSymbol, decorators: [{
|
|
20
19
|
type: Directive,
|
|
21
20
|
args: [{
|
|
22
21
|
selector: '[squareSymbol]',
|
|
@@ -27,6 +27,32 @@ const DEFAULT_OFFSET = 12;
|
|
|
27
27
|
* @hidden
|
|
28
28
|
*/
|
|
29
29
|
export class SankeyTooltipPopupComponent extends BaseTooltip {
|
|
30
|
+
element;
|
|
31
|
+
popupService;
|
|
32
|
+
templateService;
|
|
33
|
+
localizationService;
|
|
34
|
+
intlService;
|
|
35
|
+
ngZone;
|
|
36
|
+
renderer;
|
|
37
|
+
nodeTooltipTemplateRef;
|
|
38
|
+
linkTooltipTemplateRef;
|
|
39
|
+
nodeTooltipContext;
|
|
40
|
+
linkTooltipContext;
|
|
41
|
+
defaultNodeTooltipTemplate;
|
|
42
|
+
defaultLinkTooltipTemplate;
|
|
43
|
+
templateRef;
|
|
44
|
+
animate = false;
|
|
45
|
+
wrapperClass = 'k-chart-tooltip-wrapper';
|
|
46
|
+
tooltipUnitFormat;
|
|
47
|
+
offset;
|
|
48
|
+
isNode;
|
|
49
|
+
isLink;
|
|
50
|
+
arrowIcon = arrowRightIcon;
|
|
51
|
+
// TODO: Move to themes
|
|
52
|
+
textStyle = { margin: '0 3px' };
|
|
53
|
+
tooltipStyle = { display: 'flex', alignItems: 'center' };
|
|
54
|
+
subscriptions;
|
|
55
|
+
rtl = false;
|
|
30
56
|
constructor(element, popupService, templateService, localizationService, intlService, ngZone, renderer) {
|
|
31
57
|
super(popupService, localizationService);
|
|
32
58
|
this.element = element;
|
|
@@ -36,13 +62,6 @@ export class SankeyTooltipPopupComponent extends BaseTooltip {
|
|
|
36
62
|
this.intlService = intlService;
|
|
37
63
|
this.ngZone = ngZone;
|
|
38
64
|
this.renderer = renderer;
|
|
39
|
-
this.animate = false;
|
|
40
|
-
this.wrapperClass = 'k-chart-tooltip-wrapper';
|
|
41
|
-
this.arrowIcon = arrowRightIcon;
|
|
42
|
-
// TODO: Move to themes
|
|
43
|
-
this.textStyle = { margin: '0 3px' };
|
|
44
|
-
this.tooltipStyle = { display: 'flex', alignItems: 'center' };
|
|
45
|
-
this.rtl = false;
|
|
46
65
|
}
|
|
47
66
|
onInit() {
|
|
48
67
|
this.popupRef.popupElement.className += ` ${this.wrapperClass}`;
|
|
@@ -107,15 +126,14 @@ export class SankeyTooltipPopupComponent extends BaseTooltip {
|
|
|
107
126
|
get isRTL() {
|
|
108
127
|
return Boolean(this.localizationService.rtl);
|
|
109
128
|
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
},
|
|
118
|
-
], viewQueries: [{ propertyName: "defaultNodeTooltipTemplate", first: true, predicate: SankeyNodeTooltipTemplateDirective, descendants: true }, { propertyName: "defaultLinkTooltipTemplate", first: true, predicate: SankeyLinkTooltipTemplateDirective, descendants: true }, { propertyName: "templateRef", first: true, predicate: ["content"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
129
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SankeyTooltipPopupComponent, deps: [{ token: i0.ElementRef }, { token: i1.PopupService }, { token: i2.SankeyTooltipTemplateService }, { token: i3.LocalizationService }, { token: i4.IntlService }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
130
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SankeyTooltipPopupComponent, isStandalone: true, selector: "kendo-sankey-tooltip-popup", inputs: { animate: "animate", wrapperClass: "wrapperClass", tooltipUnitFormat: "tooltipUnitFormat", offset: "offset" }, providers: [
|
|
131
|
+
PopupService,
|
|
132
|
+
{
|
|
133
|
+
provide: POPUP_CONTAINER,
|
|
134
|
+
useFactory: bodyFactory,
|
|
135
|
+
},
|
|
136
|
+
], viewQueries: [{ propertyName: "defaultNodeTooltipTemplate", first: true, predicate: SankeyNodeTooltipTemplateDirective, descendants: true }, { propertyName: "defaultLinkTooltipTemplate", first: true, predicate: SankeyLinkTooltipTemplateDirective, descendants: true }, { propertyName: "templateRef", first: true, predicate: ["content"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
119
137
|
<ng-template #content>
|
|
120
138
|
<div class="k-tooltip k-sankey-tooltip k-chart-tooltip k-chart-shared-tooltip" [ngStyle]="style">
|
|
121
139
|
<div class="k-tooltip-content">
|
|
@@ -154,7 +172,8 @@ SankeyTooltipPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
|
|
|
154
172
|
</div>
|
|
155
173
|
</ng-template>
|
|
156
174
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: SankeyNodeTooltipTemplateDirective, selector: "[kendoSankeyNodeTooltipTemplate]" }, { kind: "directive", type: SquareSymbol, selector: "[squareSymbol]", inputs: ["color", "size"] }, { kind: "directive", type: SankeyLinkTooltipTemplateDirective, selector: "[kendoSankeyLinkTooltipTemplate]" }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
157
|
-
|
|
175
|
+
}
|
|
176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SankeyTooltipPopupComponent, decorators: [{
|
|
158
177
|
type: Component,
|
|
159
178
|
args: [{
|
|
160
179
|
providers: [
|
|
@@ -218,8 +237,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
218
237
|
args: ['content', { static: true }]
|
|
219
238
|
}], animate: [{
|
|
220
239
|
type: Input
|
|
221
|
-
}], popupSettings: [{
|
|
222
|
-
type: Input
|
|
223
240
|
}], wrapperClass: [{
|
|
224
241
|
type: Input
|
|
225
242
|
}], tooltipUnitFormat: [{
|
|
@@ -8,9 +8,11 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
* @hidden
|
|
9
9
|
*/
|
|
10
10
|
export class SankeyTooltipTemplateService {
|
|
11
|
+
nodeTemplate;
|
|
12
|
+
linkTemplate;
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SankeyTooltipTemplateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SankeyTooltipTemplateService });
|
|
11
15
|
}
|
|
12
|
-
|
|
13
|
-
SankeyTooltipTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SankeyTooltipTemplateService });
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SankeyTooltipTemplateService, decorators: [{
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SankeyTooltipTemplateService, decorators: [{
|
|
15
17
|
type: Injectable
|
|
16
18
|
}] });
|
|
@@ -16,6 +16,33 @@ import * as i2 from "./tooltip/tooltip-template.service";
|
|
|
16
16
|
* ([see example]({% slug tooltip_sankey %})).
|
|
17
17
|
*/
|
|
18
18
|
export class SankeyTooltipComponent extends SettingsComponent {
|
|
19
|
+
configurationService;
|
|
20
|
+
templateService;
|
|
21
|
+
/**
|
|
22
|
+
* Indicates whether the tooltip will follow the mouse pointer.
|
|
23
|
+
*
|
|
24
|
+
* @default false
|
|
25
|
+
*/
|
|
26
|
+
followPointer;
|
|
27
|
+
/**
|
|
28
|
+
* Represents the delay of the tooltip displaying.
|
|
29
|
+
* The delay is measured in milliseconds.
|
|
30
|
+
*
|
|
31
|
+
* @default 100
|
|
32
|
+
*/
|
|
33
|
+
delay;
|
|
34
|
+
/**
|
|
35
|
+
* The distance between the tooltip and the mouse pointer in pixels.
|
|
36
|
+
* @default 12
|
|
37
|
+
*/
|
|
38
|
+
offset;
|
|
39
|
+
/**
|
|
40
|
+
* If set to `true`, the Sankey displays the link and node tooltips.
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
43
|
+
visible;
|
|
44
|
+
linkTooltipTemplate;
|
|
45
|
+
nodeTooltipTemplate;
|
|
19
46
|
constructor(configurationService, templateService) {
|
|
20
47
|
super('tooltip', configurationService);
|
|
21
48
|
this.configurationService = configurationService;
|
|
@@ -26,10 +53,10 @@ export class SankeyTooltipComponent extends SettingsComponent {
|
|
|
26
53
|
this.templateService.linkTemplate = this.linkTooltipTemplate?.templateRef;
|
|
27
54
|
this.templateService.nodeTemplate = this.nodeTooltipTemplate?.templateRef;
|
|
28
55
|
}
|
|
56
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SankeyTooltipComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.SankeyTooltipTemplateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
57
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SankeyTooltipComponent, isStandalone: true, selector: "kendo-sankey-tooltip", inputs: { followPointer: "followPointer", delay: "delay", offset: "offset", visible: "visible" }, queries: [{ propertyName: "linkTooltipTemplate", first: true, predicate: SankeyLinkTooltipTemplateDirective, descendants: true }, { propertyName: "nodeTooltipTemplate", first: true, predicate: SankeyNodeTooltipTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
29
58
|
}
|
|
30
|
-
|
|
31
|
-
SankeyTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SankeyTooltipComponent, isStandalone: true, selector: "kendo-sankey-tooltip", inputs: { followPointer: "followPointer", delay: "delay", offset: "offset", visible: "visible" }, queries: [{ propertyName: "linkTooltipTemplate", first: true, predicate: SankeyLinkTooltipTemplateDirective, descendants: true }, { propertyName: "nodeTooltipTemplate", first: true, predicate: SankeyNodeTooltipTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SankeyTooltipComponent, decorators: [{
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SankeyTooltipComponent, decorators: [{
|
|
33
60
|
type: Component,
|
|
34
61
|
args: [{
|
|
35
62
|
selector: 'kendo-sankey-tooltip',
|