@progress/kendo-react-charts 13.3.0-develop.9 → 13.4.0-develop.1
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/BaseChart.d.ts +137 -0
- package/BaseChartProps.d.ts +207 -0
- package/Chart.d.ts +86 -0
- package/ChartBreadcrumb.d.ts +49 -0
- package/ChartBreadcrumb.js +1 -1
- package/ChartBreadcrumb.mjs +1 -2
- package/ChartContext.d.ts +24 -0
- package/ChartNoDataOverlay.d.ts +30 -0
- package/ChartProps.d.ts +17 -0
- package/Container.d.ts +15 -0
- package/DonutCenter.d.ts +45 -0
- package/Sparkline.d.ts +92 -0
- package/SparklineProps.d.ts +21 -0
- package/StockChart.d.ts +47 -0
- package/StockChartProps.d.ts +26 -0
- package/api-types/axis-range.interface.d.ts +20 -0
- package/api-types/chart-axis.interface.d.ts +43 -0
- package/api-types/chart-drilldown-state.interface.d.ts +31 -0
- package/api-types/chart-pane.interface.d.ts +21 -0
- package/api-types/chart-plotarea.interface.d.ts +21 -0
- package/api-types/event-axis-options.interface.d.ts +16 -0
- package/api-types/event-series-options.interface.d.ts +24 -0
- package/api-types/series-point.interface.d.ts +45 -0
- package/argument-types/axis-label-visual-args.interface.d.ts +50 -0
- package/argument-types/axis-note-visual-args.interface.d.ts +34 -0
- package/argument-types/drilldown-series-factory-props.interface.d.ts +24 -0
- package/argument-types/error-bars-visual-args.interface.d.ts +38 -0
- package/argument-types/highlight-toggle-args.interface.d.ts +41 -0
- package/argument-types/highlight-visual-args.interface.d.ts +58 -0
- package/argument-types/legend-item-visual-args.interface.d.ts +34 -0
- package/argument-types/legend-labels-content-args.interface.d.ts +28 -0
- package/argument-types/markers-visual-args.interface.d.ts +46 -0
- package/argument-types/plot-band-label-visual-args.interface.d.ts +34 -0
- package/argument-types/series-labels-visual-args.interface.d.ts +34 -0
- package/argument-types/series-note-visual-args.interface.d.ts +50 -0
- package/argument-types/series-visual-args.interface.d.ts +83 -0
- package/argument-types/title-visual-args.interface.d.ts +34 -0
- package/common/api-types.d.ts +15 -0
- package/common/charts.d.ts +12 -0
- package/common/events.d.ts +29 -0
- package/common/property-types.d.ts +140 -0
- package/components/AxisDefaults.d.ts +26 -0
- package/components/CategoryAxis.d.ts +25 -0
- package/components/CategoryAxisItem.d.ts +27 -0
- package/components/ChartArea.d.ts +22 -0
- package/components/Legend.d.ts +26 -0
- package/components/Navigator.d.ts +26 -0
- package/components/Pane.d.ts +22 -0
- package/components/PaneDefaults.d.ts +26 -0
- package/components/Panes.d.ts +25 -0
- package/components/PlotArea.d.ts +19 -0
- package/components/Series.d.ts +25 -0
- package/components/SeriesDefaults.d.ts +22 -0
- package/components/SeriesItem.d.ts +34 -0
- package/components/Subtitle.d.ts +19 -0
- package/components/Title.d.ts +19 -0
- package/components/Tooltip.d.ts +29 -0
- package/components/ValueAxis.d.ts +25 -0
- package/components/ValueAxisItem.d.ts +26 -0
- package/components/XAxis.d.ts +25 -0
- package/components/XAxisItem.d.ts +26 -0
- package/components/YAxis.d.ts +25 -0
- package/components/YAxisItem.d.ts +20 -0
- package/components/Zoomable.d.ts +19 -0
- package/components/axis-defaults/Crosshair.d.ts +26 -0
- package/components/axis-defaults/CrosshairTooltip.d.ts +19 -0
- package/components/axis-defaults/Labels.d.ts +19 -0
- package/components/axis-defaults/Title.d.ts +19 -0
- package/components/axis-defaults/index.d.ts +12 -0
- package/components/base/CollectionConfigurationComponent.d.ts +27 -0
- package/components/base/ConfigurationComponent.d.ts +33 -0
- package/components/category-axis-item/Crosshair.d.ts +26 -0
- package/components/category-axis-item/CrosshairTooltip.d.ts +19 -0
- package/components/category-axis-item/Labels.d.ts +19 -0
- package/components/category-axis-item/Notes.d.ts +25 -0
- package/components/category-axis-item/NotesIcon.d.ts +19 -0
- package/components/category-axis-item/NotesLabel.d.ts +19 -0
- package/components/category-axis-item/RangeLabels.d.ts +19 -0
- package/components/category-axis-item/Select.d.ts +14 -0
- package/components/category-axis-item/Title.d.ts +19 -0
- package/components/category-axis-item/index.d.ts +17 -0
- package/components/index.d.ts +42 -0
- package/components/legend/InactiveItems.d.ts +19 -0
- package/components/legend/Item.d.ts +19 -0
- package/components/legend/Title.d.ts +20 -0
- package/components/legend/index.d.ts +11 -0
- package/components/navigator/CategoryAxis.d.ts +23 -0
- package/components/navigator/Hint.d.ts +20 -0
- package/components/navigator/Pane.d.ts +22 -0
- package/components/navigator/Select.d.ts +19 -0
- package/components/navigator/Series.d.ts +25 -0
- package/components/navigator/SeriesItem.d.ts +23 -0
- package/components/navigator/category-axis/Crosshair.d.ts +22 -0
- package/components/navigator/category-axis/CrosshairTooltip.d.ts +19 -0
- package/components/navigator/category-axis/Labels.d.ts +19 -0
- package/components/navigator/category-axis/Notes.d.ts +19 -0
- package/components/navigator/category-axis/NotesIcon.d.ts +19 -0
- package/components/navigator/category-axis/NotesLabel.d.ts +19 -0
- package/components/navigator/category-axis/Select.d.ts +14 -0
- package/components/navigator/category-axis/Title.d.ts +19 -0
- package/components/navigator/category-axis/index.d.ts +16 -0
- package/components/navigator/index.d.ts +17 -0
- package/components/navigator/pane/Title.d.ts +19 -0
- package/components/navigator/pane/index.d.ts +9 -0
- package/components/navigator/series-item/ErrorBars.d.ts +19 -0
- package/components/navigator/series-item/Extremes.d.ts +19 -0
- package/components/navigator/series-item/Highlight.d.ts +19 -0
- package/components/navigator/series-item/Labels.d.ts +22 -0
- package/components/navigator/series-item/LabelsFrom.d.ts +19 -0
- package/components/navigator/series-item/LabelsTo.d.ts +19 -0
- package/components/navigator/series-item/Markers.d.ts +19 -0
- package/components/navigator/series-item/Notes.d.ts +22 -0
- package/components/navigator/series-item/NotesIcon.d.ts +19 -0
- package/components/navigator/series-item/NotesLabel.d.ts +19 -0
- package/components/navigator/series-item/Outliers.d.ts +19 -0
- package/components/navigator/series-item/Tooltip.d.ts +27 -0
- package/components/navigator/series-item/index.d.ts +20 -0
- package/components/pane/Title.d.ts +19 -0
- package/components/pane/index.d.ts +9 -0
- package/components/pane-defaults/Title.d.ts +19 -0
- package/components/pane-defaults/index.d.ts +9 -0
- package/components/series-defaults/Labels.d.ts +22 -0
- package/components/series-defaults/LabelsFrom.d.ts +19 -0
- package/components/series-defaults/LabelsTo.d.ts +19 -0
- package/components/series-defaults/Notes.d.ts +22 -0
- package/components/series-defaults/NotesIcon.d.ts +19 -0
- package/components/series-defaults/NotesLabel.d.ts +19 -0
- package/components/series-defaults/Tooltip.d.ts +27 -0
- package/components/series-defaults/index.d.ts +15 -0
- package/components/series-item/ErrorBars.d.ts +19 -0
- package/components/series-item/Extremes.d.ts +19 -0
- package/components/series-item/Highlight.d.ts +19 -0
- package/components/series-item/Labels.d.ts +26 -0
- package/components/series-item/LabelsFrom.d.ts +19 -0
- package/components/series-item/LabelsTo.d.ts +19 -0
- package/components/series-item/Markers.d.ts +19 -0
- package/components/series-item/Notes.d.ts +22 -0
- package/components/series-item/NotesIcon.d.ts +19 -0
- package/components/series-item/NotesLabel.d.ts +19 -0
- package/components/series-item/Outliers.d.ts +19 -0
- package/components/series-item/Tooltip.d.ts +27 -0
- package/components/series-item/index.d.ts +20 -0
- package/components/value-axis-item/Crosshair.d.ts +26 -0
- package/components/value-axis-item/CrosshairTooltip.d.ts +19 -0
- package/components/value-axis-item/Labels.d.ts +19 -0
- package/components/value-axis-item/Notes.d.ts +26 -0
- package/components/value-axis-item/NotesIcon.d.ts +19 -0
- package/components/value-axis-item/NotesLabel.d.ts +19 -0
- package/components/value-axis-item/Title.d.ts +19 -0
- package/components/value-axis-item/index.d.ts +15 -0
- package/components/x-axis-item/Crosshair.d.ts +26 -0
- package/components/x-axis-item/CrosshairTooltip.d.ts +19 -0
- package/components/x-axis-item/Labels.d.ts +19 -0
- package/components/x-axis-item/Notes.d.ts +26 -0
- package/components/x-axis-item/NotesIcon.d.ts +19 -0
- package/components/x-axis-item/NotesLabel.d.ts +19 -0
- package/components/x-axis-item/Title.d.ts +19 -0
- package/components/x-axis-item/index.d.ts +15 -0
- package/components/y-axis-item/Crosshair.d.ts +26 -0
- package/components/y-axis-item/CrosshairTooltip.d.ts +19 -0
- package/components/y-axis-item/Labels.d.ts +19 -0
- package/components/y-axis-item/Notes.d.ts +22 -0
- package/components/y-axis-item/NotesIcon.d.ts +19 -0
- package/components/y-axis-item/NotesLabel.d.ts +19 -0
- package/components/y-axis-item/Title.d.ts +19 -0
- package/components/y-axis-item/index.d.ts +15 -0
- package/defaults.d.ts +8 -0
- package/dist/cdn/js/kendo-react-charts.js +1 -1
- package/events/axis-label-click-event.d.ts +39 -0
- package/events/base-event.d.ts +21 -0
- package/events/chart-event-builder.d.ts +13 -0
- package/events/dom-event.d.ts +26 -0
- package/events/drag-end-event.d.ts +29 -0
- package/events/drag-event.d.ts +29 -0
- package/events/drag-start-event.d.ts +29 -0
- package/events/drilldown-event.d.ts +45 -0
- package/events/drilldown-state-change-event.d.ts +29 -0
- package/events/legend-item-click-event.d.ts +39 -0
- package/events/legend-item-hover-event.d.ts +39 -0
- package/events/legend-item-leave-event.d.ts +39 -0
- package/events/navigator-filter-event.d.ts +26 -0
- package/events/note-click-event.d.ts +39 -0
- package/events/note-hover-event.d.ts +39 -0
- package/events/plot-area-click-event.d.ts +38 -0
- package/events/plot-area-hover-event.d.ts +38 -0
- package/events/preventable-event.d.ts +25 -0
- package/events/render-event.d.ts +18 -0
- package/events/select-end-event.d.ts +31 -0
- package/events/select-event.d.ts +31 -0
- package/events/select-start-event.d.ts +31 -0
- package/events/series-click-event.d.ts +52 -0
- package/events/series-hover-event.d.ts +56 -0
- package/events/zoom-end-event.d.ts +31 -0
- package/events/zoom-event.d.ts +35 -0
- package/events/zoom-start-event.d.ts +29 -0
- package/field-types/auto-base-unit-steps.interface.d.ts +46 -0
- package/field-types/axis-labels-position.d.ts +24 -0
- package/field-types/axis-line.interface.d.ts +29 -0
- package/field-types/axis-ticks.interface.d.ts +36 -0
- package/field-types/axis-title-position.d.ts +24 -0
- package/field-types/base-unit.d.ts +36 -0
- package/field-types/border.interface.d.ts +31 -0
- package/field-types/bullet-target-line.interface.d.ts +16 -0
- package/field-types/bullet-target.interface.d.ts +26 -0
- package/field-types/category-base-unit.d.ts +37 -0
- package/field-types/dash-type.d.ts +30 -0
- package/field-types/date-formats.interface.d.ts +46 -0
- package/field-types/drag-action.interface.d.ts +22 -0
- package/field-types/error-bar-line.interface.d.ts +21 -0
- package/field-types/grid-lines.interface.d.ts +37 -0
- package/field-types/highlight-line.interface.d.ts +29 -0
- package/field-types/label-connectors.interface.d.ts +24 -0
- package/field-types/label-rotation.interface.d.ts +26 -0
- package/field-types/legend-labels.interface.d.ts +35 -0
- package/field-types/line-style.d.ts +30 -0
- package/field-types/lock-axis.d.ts +11 -0
- package/field-types/margin.interface.d.ts +28 -0
- package/field-types/marker-type.d.ts +33 -0
- package/field-types/modifier-key.d.ts +11 -0
- package/field-types/mousewheel-select.interface.d.ts +25 -0
- package/field-types/mousewheel-zoom.interface.d.ts +25 -0
- package/field-types/negative-bubble-values.interface.d.ts +20 -0
- package/field-types/note-label-position.d.ts +31 -0
- package/field-types/note-line.interface.d.ts +29 -0
- package/field-types/note-position.d.ts +31 -0
- package/field-types/overlay.interface.d.ts +22 -0
- package/field-types/padding.interface.d.ts +13 -0
- package/field-types/plot-band-label.interface.d.ts +94 -0
- package/field-types/plot-band.interface.d.ts +37 -0
- package/field-types/series-labels-position.d.ts +23 -0
- package/field-types/series-line.interface.d.ts +35 -0
- package/field-types/series-stack.interface.d.ts +24 -0
- package/field-types/series-type.d.ts +31 -0
- package/field-types/trendline-forecast.interface.d.ts +20 -0
- package/field-types/week-start-day.enum.d.ts +40 -0
- package/index.d.mts +32 -9258
- package/index.d.ts +32 -9258
- package/messages.d.ts +17 -0
- package/methods/index.d.ts +43 -0
- package/option-types/axis-crosshair-tooltip.interface.d.ts +42 -0
- package/option-types/axis-defaults/crosshair.interface.d.ts +48 -0
- package/option-types/axis-defaults/crosshair.tooltip.interface.d.ts +13 -0
- package/option-types/axis-defaults/labels.interface.d.ts +76 -0
- package/option-types/axis-defaults/title.interface.d.ts +74 -0
- package/option-types/axis-defaults.interface.d.ts +80 -0
- package/option-types/category-axis-item/crosshair.interface.d.ts +47 -0
- package/option-types/category-axis-item/crosshair.tooltip.interface.d.ts +13 -0
- package/option-types/category-axis-item/labels.interface.d.ts +110 -0
- package/option-types/category-axis-item/notes.icon.interface.d.ts +39 -0
- package/option-types/category-axis-item/notes.interface.d.ts +52 -0
- package/option-types/category-axis-item/notes.label.interface.d.ts +53 -0
- package/option-types/category-axis-item/range-labels.interface.d.ts +31 -0
- package/option-types/category-axis-item/select.interface.d.ts +33 -0
- package/option-types/category-axis-item/title.interface.d.ts +72 -0
- package/option-types/category-axis-item.interface.d.ts +166 -0
- package/option-types/chart-area.interface.d.ts +37 -0
- package/option-types/legend/inactive-items.interface.d.ts +17 -0
- package/option-types/legend/item.interface.d.ts +124 -0
- package/option-types/legend/legend-title.interface.d.ts +68 -0
- package/option-types/legend.interface.d.ts +106 -0
- package/option-types/navigator/hint.interface.d.ts +25 -0
- package/option-types/navigator/select.interface.d.ts +25 -0
- package/option-types/navigator.interface.d.ts +44 -0
- package/option-types/pane/title.interface.d.ts +65 -0
- package/option-types/pane-defaults/title.interface.d.ts +59 -0
- package/option-types/pane-defaults.interface.d.ts +46 -0
- package/option-types/pane.interface.d.ts +53 -0
- package/option-types/plot-area.interface.d.ts +33 -0
- package/option-types/series-defaults/labels.from.interface.d.ts +58 -0
- package/option-types/series-defaults/labels.interface.d.ts +80 -0
- package/option-types/series-defaults/labels.to.interface.d.ts +58 -0
- package/option-types/series-defaults/notes.icon.interface.d.ts +39 -0
- package/option-types/series-defaults/notes.interface.d.ts +43 -0
- package/option-types/series-defaults/notes.label.interface.d.ts +53 -0
- package/option-types/series-defaults/tooltip.interface.d.ts +48 -0
- package/option-types/series-defaults.interface.d.ts +103 -0
- package/option-types/series-item/error-bars.interface.d.ts +64 -0
- package/option-types/series-item/extremes.interface.d.ts +39 -0
- package/option-types/series-item/highlight.interface.d.ts +74 -0
- package/option-types/series-item/labels.from.interface.d.ts +74 -0
- package/option-types/series-item/labels.interface.d.ts +109 -0
- package/option-types/series-item/labels.to.interface.d.ts +72 -0
- package/option-types/series-item/markers.interface.d.ts +72 -0
- package/option-types/series-item/notes.icon.interface.d.ts +39 -0
- package/option-types/series-item/notes.interface.d.ts +53 -0
- package/option-types/series-item/notes.label.interface.d.ts +53 -0
- package/option-types/series-item/outliers.interface.d.ts +39 -0
- package/option-types/series-item/tooltip.interface.d.ts +49 -0
- package/option-types/series-item/trendline.interface.d.ts +37 -0
- package/option-types/series-item.interface.d.ts +492 -0
- package/option-types/subtitle.interface.d.ts +68 -0
- package/option-types/title.interface.d.ts +66 -0
- package/option-types/tooltip-border.interface.d.ts +22 -0
- package/option-types/tooltip.interface.d.ts +56 -0
- package/option-types/value-axis-item/crosshair.interface.d.ts +33 -0
- package/option-types/value-axis-item/crosshair.tooltip.interface.d.ts +13 -0
- package/option-types/value-axis-item/labels.interface.d.ts +88 -0
- package/option-types/value-axis-item/notes.icon.interface.d.ts +39 -0
- package/option-types/value-axis-item/notes.interface.d.ts +52 -0
- package/option-types/value-axis-item/notes.label.interface.d.ts +53 -0
- package/option-types/value-axis-item/title.interface.d.ts +73 -0
- package/option-types/value-axis-item.interface.d.ts +121 -0
- package/option-types/x-axis-item/crosshair.interface.d.ts +33 -0
- package/option-types/x-axis-item/crosshair.tooltip.interface.d.ts +13 -0
- package/option-types/x-axis-item/labels.interface.d.ts +95 -0
- package/option-types/x-axis-item/notes.icon.interface.d.ts +39 -0
- package/option-types/x-axis-item/notes.interface.d.ts +53 -0
- package/option-types/x-axis-item/notes.label.interface.d.ts +53 -0
- package/option-types/x-axis-item/title.interface.d.ts +72 -0
- package/option-types/x-axis-item.interface.d.ts +142 -0
- package/option-types/y-axis-item/crosshair.interface.d.ts +33 -0
- package/option-types/y-axis-item/crosshair.tooltip.interface.d.ts +13 -0
- package/option-types/y-axis-item/labels.interface.d.ts +95 -0
- package/option-types/y-axis-item/notes.icon.interface.d.ts +39 -0
- package/option-types/y-axis-item/notes.interface.d.ts +52 -0
- package/option-types/y-axis-item/notes.label.interface.d.ts +53 -0
- package/option-types/y-axis-item/title.interface.d.ts +73 -0
- package/option-types/y-axis-item.interface.d.ts +138 -0
- package/option-types/zoomable.interface.d.ts +21 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +10 -16
- package/package.json +6 -6
- package/sankey/Sankey.d.ts +13 -0
- package/sankey/SankeyTooltip.d.ts +12 -0
- package/sankey/index.d.ts +11 -0
- package/sankey/messages.d.ts +17 -0
- package/sankey/propTypes.d.ts +226 -0
- package/sankey/theme-service.d.ts +12 -0
- package/sankey/types.d.ts +206 -0
- package/sankey/utils.d.ts +12 -0
- package/store/reducer.d.ts +21 -0
- package/store/store.d.ts +32 -0
- package/tooltip/Context.d.ts +36 -0
- package/tooltip/Crosshair.d.ts +44 -0
- package/tooltip/CrosshairContainer.d.ts +35 -0
- package/tooltip/Point.d.ts +78 -0
- package/tooltip/Popup.d.ts +39 -0
- package/tooltip/Series.d.ts +42 -0
- package/tooltip/SharedTooltipContent.d.ts +19 -0
- package/tooltip/index.d.ts +10 -0
- package/utils/index.d.ts +20 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { Border, MarkerType } from '../../common/property-types.js';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export interface SeriesDefaultsNotesIcon {
|
|
13
|
+
/**
|
|
14
|
+
* The background color of the notes icon.
|
|
15
|
+
*/
|
|
16
|
+
background?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The border of the notes icon.
|
|
19
|
+
*/
|
|
20
|
+
border?: Border;
|
|
21
|
+
/**
|
|
22
|
+
* The size of the notes icon.
|
|
23
|
+
*/
|
|
24
|
+
size?: number;
|
|
25
|
+
/**
|
|
26
|
+
* The shape of the notes icon.
|
|
27
|
+
*
|
|
28
|
+
* The supported values are:
|
|
29
|
+
* * `"circle"`—The marker shape is a circle.
|
|
30
|
+
* * `"square"`—The marker shape is a square.
|
|
31
|
+
* * `"triangle"`—The marker shape is a triangle.
|
|
32
|
+
* * `"cross"`—The marker shape is a cross.
|
|
33
|
+
*/
|
|
34
|
+
type?: MarkerType;
|
|
35
|
+
/**
|
|
36
|
+
* The visibility of the notes icon.
|
|
37
|
+
*/
|
|
38
|
+
visible?: boolean;
|
|
39
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { drawing } from '@progress/kendo-drawing';
|
|
9
|
+
import { NoteLine, SeriesNoteVisualArgs } from '../../common/property-types.js';
|
|
10
|
+
import { SeriesDefaultsNotesIcon } from './notes.icon.interface.js';
|
|
11
|
+
import { SeriesDefaultsNotesLabel } from './notes.label.interface.js';
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export interface SeriesDefaultsNotes {
|
|
16
|
+
/**
|
|
17
|
+
* The line of the notes.
|
|
18
|
+
*/
|
|
19
|
+
line?: NoteLine;
|
|
20
|
+
/**
|
|
21
|
+
* A function for creating a custom visual for the notes.
|
|
22
|
+
*
|
|
23
|
+
* The available argument fields are:
|
|
24
|
+
* - `rect`—The geometry [`Rect`](https://www.telerik.com/kendo-react-ui/components/drawing/api/geometry/rect) that defines the note target rect.
|
|
25
|
+
* - `options`—The note options.
|
|
26
|
+
* - `createVisual`—A function for getting the default visual.
|
|
27
|
+
* - `category`—The category of the note point.
|
|
28
|
+
* - `dataItem`—The `dataItem` of the note point.
|
|
29
|
+
* - `value`—The value of the note point.
|
|
30
|
+
* - `sender`—The Chart instance.
|
|
31
|
+
* - `series`—The series of the note point.
|
|
32
|
+
* - `text`—The note text.
|
|
33
|
+
*/
|
|
34
|
+
visual?: (e: SeriesNoteVisualArgs) => drawing.Element;
|
|
35
|
+
/**
|
|
36
|
+
* The icon of the notes.
|
|
37
|
+
*/
|
|
38
|
+
icon?: SeriesDefaultsNotesIcon;
|
|
39
|
+
/**
|
|
40
|
+
* The label of the notes.
|
|
41
|
+
*/
|
|
42
|
+
label?: SeriesDefaultsNotesLabel;
|
|
43
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { Border, NoteLabelPosition } from '../../common/property-types.js';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export interface SeriesDefaultsNotesLabel {
|
|
13
|
+
/**
|
|
14
|
+
* The background color of the label. Accepts a valid CSS color string, including hex and rgb.
|
|
15
|
+
*/
|
|
16
|
+
background?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The border of the label.
|
|
19
|
+
*/
|
|
20
|
+
border?: Border;
|
|
21
|
+
/**
|
|
22
|
+
* The text color of the label. Accepts a valid CSS color string, including hex and rgb.
|
|
23
|
+
*/
|
|
24
|
+
color?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The function which returns the label content. The function argument contains a `value` field which defines the point value. You can split the text into multiple lines by using line feed characters (`"\n"`).
|
|
27
|
+
*/
|
|
28
|
+
content?: (e: any) => string;
|
|
29
|
+
/**
|
|
30
|
+
* The font style of the label.
|
|
31
|
+
*/
|
|
32
|
+
font?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The format for displaying the notes label. Uses the [`format`](https://www.telerik.com/kendo-react-ui/components/intl/api/intlservice#toc-format) method of IntlService. Contains one placeholder (`"{0}"`) which represents the axis value.
|
|
35
|
+
*/
|
|
36
|
+
format?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The position of the labels.
|
|
39
|
+
*
|
|
40
|
+
* The available options are:
|
|
41
|
+
* - `"inside"`—The label is positioned inside the icon.
|
|
42
|
+
* - `"outside"`—The label is positioned outside the icon.
|
|
43
|
+
*/
|
|
44
|
+
position?: NoteLabelPosition;
|
|
45
|
+
/**
|
|
46
|
+
* The rotation angle of the label. By default, the label is not rotated.
|
|
47
|
+
*/
|
|
48
|
+
rotation?: number;
|
|
49
|
+
/**
|
|
50
|
+
* If set to `true`, the Chart displays the [`seriesDefaults`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartseriesdefaultsprops) notes label. By default, the [`seriesDefaults`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartseriesdefaultsprops) notes label is visible.
|
|
51
|
+
*/
|
|
52
|
+
visible?: boolean;
|
|
53
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { Border, Padding } from '../../common/property-types.js';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export interface SeriesDefaultsTooltip {
|
|
13
|
+
/**
|
|
14
|
+
* The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb.
|
|
15
|
+
*/
|
|
16
|
+
background?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The border configuration options.
|
|
19
|
+
*/
|
|
20
|
+
border?: Border;
|
|
21
|
+
/**
|
|
22
|
+
* The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb.
|
|
23
|
+
*/
|
|
24
|
+
color?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The tooltip font.
|
|
27
|
+
*/
|
|
28
|
+
font?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The format of the labels. Uses the [`format`](https://www.telerik.com/kendo-react-ui/components/intl/api/intlservice#toc-format) method of IntlService.
|
|
31
|
+
*
|
|
32
|
+
* The available format placeholders are:
|
|
33
|
+
* - Area, Bar, Column, Funnel, Line, and Pie: {0} - value.
|
|
34
|
+
* - Bubble: {0} - x value{1} - y value{2} - size value{3} - category name.
|
|
35
|
+
* - Scatter and Scatter Line: {0} - x value, {1} - y value.
|
|
36
|
+
* - Candlestick and OHLC: {0} - open value, {1} - high value, {2} - low value, {3} - close value, {4} - category name.
|
|
37
|
+
* - RangeArea, rangeBar, rangeColumn: {0} - from value, {1} - to value.
|
|
38
|
+
*/
|
|
39
|
+
format?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The padding of the tooltip. A numeric value sets all paddings.
|
|
42
|
+
*/
|
|
43
|
+
padding?: Padding | number;
|
|
44
|
+
/**
|
|
45
|
+
* If set to `true`, the Chart displays the series tooltip. By default, the series tooltip is not displayed.
|
|
46
|
+
*/
|
|
47
|
+
visible?: boolean;
|
|
48
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { drawing } from '@progress/kendo-drawing';
|
|
9
|
+
import { Border, Overlay, SeriesStack, SeriesType, SeriesVisualArgs } from '../common/property-types.js';
|
|
10
|
+
import { SeriesDefaultsLabels } from './series-defaults/labels.interface.js';
|
|
11
|
+
import { SeriesDefaultsNotes } from './series-defaults/notes.interface.js';
|
|
12
|
+
import { SeriesDefaultsTooltip } from './series-defaults/tooltip.interface.js';
|
|
13
|
+
import { FocusHighlight } from '@progress/kendo-charts';
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
export interface SeriesDefaults {
|
|
18
|
+
/**
|
|
19
|
+
* The border of the series.
|
|
20
|
+
*/
|
|
21
|
+
border?: Border;
|
|
22
|
+
/**
|
|
23
|
+
* The distance between category clusters.
|
|
24
|
+
*/
|
|
25
|
+
gap?: number;
|
|
26
|
+
/**
|
|
27
|
+
* The Chart series overlay options.
|
|
28
|
+
*/
|
|
29
|
+
overlay?: Overlay;
|
|
30
|
+
/**
|
|
31
|
+
* The space between the Chart series as a proportion of the series width. The `spacing` option is supported when [`series.type`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartseriesitemprops#toc-type) is set to `"bar"`, `"column"`, `"candlestick"`, `"ohlc"`, and `"waterfall"`.
|
|
32
|
+
*/
|
|
33
|
+
spacing?: number;
|
|
34
|
+
/**
|
|
35
|
+
* A Boolean value which indicates if the series has to be stacked. The stack option is supported when [`series.type`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartseriesitemprops#toc-type) is set to `"bar"`, `"column"`, `"line"`, `"area"`, `"verticalLine"`, `"verticalArea"`, `"radarLine"`, `"radarArea"`, and `"radarColumn"`.
|
|
36
|
+
*/
|
|
37
|
+
stack?: boolean | string | SeriesStack;
|
|
38
|
+
/**
|
|
39
|
+
* The default type of the series.
|
|
40
|
+
*
|
|
41
|
+
* The supported values are:
|
|
42
|
+
* - `area`
|
|
43
|
+
* - `bar`
|
|
44
|
+
* - `bubble`
|
|
45
|
+
* - `bullet`
|
|
46
|
+
* - `candlestick`
|
|
47
|
+
* - `column`
|
|
48
|
+
* - `donut`
|
|
49
|
+
* - `funnel`
|
|
50
|
+
* - `pyramid`
|
|
51
|
+
* - `line`
|
|
52
|
+
* - `ohlc`
|
|
53
|
+
* - `pie`
|
|
54
|
+
* - `polarArea`
|
|
55
|
+
* - `polarLine`
|
|
56
|
+
* - `polarScatter`
|
|
57
|
+
* - `radarArea`
|
|
58
|
+
* - `radarColumn`
|
|
59
|
+
* - `radarLine`
|
|
60
|
+
* - `rangeArea`
|
|
61
|
+
* - `rangeBar`
|
|
62
|
+
* - `rangeColumn`
|
|
63
|
+
* - `scatter`
|
|
64
|
+
* - `scatterLine`
|
|
65
|
+
* - `waterfall`
|
|
66
|
+
* - `verticalArea`
|
|
67
|
+
* - `verticalBullet`
|
|
68
|
+
* - `verticalLine`
|
|
69
|
+
* - `verticalRangeArea`
|
|
70
|
+
* - `waterfall`
|
|
71
|
+
*/
|
|
72
|
+
type?: SeriesType;
|
|
73
|
+
/**
|
|
74
|
+
* A function for creating custom visuals for the points. Applicable for the Bar and Column series.
|
|
75
|
+
*
|
|
76
|
+
* The available argument fields are:
|
|
77
|
+
* - `rect`—The geometry [`Rect`](https://www.telerik.com/kendo-react-ui/components/drawing/api/geometry/rect) that defines where the visual has to be rendered.
|
|
78
|
+
* - `options`—The point options.
|
|
79
|
+
* - `createVisual`—A function that can be used to get the default visual.
|
|
80
|
+
* - `category`—The point category.
|
|
81
|
+
* - `dataItem`—The point `dataItem`.
|
|
82
|
+
* - `value`—The point value.
|
|
83
|
+
* - `sender`—The Chart instance.
|
|
84
|
+
* - `series`—The point series.
|
|
85
|
+
*/
|
|
86
|
+
visual?: (e: SeriesVisualArgs) => drawing.Element;
|
|
87
|
+
/**
|
|
88
|
+
* The label configuration of the Chart series. The Chart displays the series labels when the [`seriesDefaults.labels.visible`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartseriesdefaultslabelsprops#toc-visible) option is set to `true`.
|
|
89
|
+
*/
|
|
90
|
+
labels?: SeriesDefaultsLabels;
|
|
91
|
+
/**
|
|
92
|
+
* The `seriesDefaults` notes configuration.
|
|
93
|
+
*/
|
|
94
|
+
notes?: SeriesDefaultsNotes;
|
|
95
|
+
/**
|
|
96
|
+
* The configuration options of the Chart series tooltip.
|
|
97
|
+
*/
|
|
98
|
+
tooltip?: SeriesDefaultsTooltip;
|
|
99
|
+
/**
|
|
100
|
+
* The focus highlight configuration options.
|
|
101
|
+
*/
|
|
102
|
+
focusHighlight?: FocusHighlight;
|
|
103
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { drawing } from '@progress/kendo-drawing';
|
|
9
|
+
import { ErrorBarLine, ErrorBarsVisualArgs } from '../../common/property-types.js';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export interface SeriesErrorBars {
|
|
14
|
+
/**
|
|
15
|
+
* The color of the error bars. Accepts a valid CSS color string, including hex and rgb.
|
|
16
|
+
*/
|
|
17
|
+
color?: string;
|
|
18
|
+
/**
|
|
19
|
+
* If set to `false`, the caps of the error bars are not displayed. By default, the caps are visible.
|
|
20
|
+
*/
|
|
21
|
+
endCaps?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* The error bars line options.
|
|
24
|
+
*/
|
|
25
|
+
line?: ErrorBarLine;
|
|
26
|
+
/**
|
|
27
|
+
* The error bars value ([see example](https://www.telerik.com/kendo-react-ui/components/charts/chart/elements/error-bars#toc-calculating-values-based-on-data)). The value option is supported when [series.type](https://www.telerik.com/kendo-react-ui/components/charts/api/chartseriesitemprops#toc-type) is set to `"bar"`, `"column"`, `"line"`, or `"area"`.
|
|
28
|
+
*
|
|
29
|
+
* The following value types are supported:
|
|
30
|
+
* - `"stderr"`—The standard error of the series values will be used to calculate the point low and high values.
|
|
31
|
+
* - `"stddev(n)"`—The standard deviation of the series values will be used to calculate the point low and high values. Between the parentheses, a number can be specified that will be multiplied by the calculated standard deviation.
|
|
32
|
+
* - `"percentage(n)"`—A percentage of the point value.
|
|
33
|
+
* - A number that will be subtracted or added to the point value.
|
|
34
|
+
* - An array that holds the low and high difference from the point value.
|
|
35
|
+
* - A function that returns the `errorBars` point value.
|
|
36
|
+
*/
|
|
37
|
+
value?: string | number | any[] | ((data: {
|
|
38
|
+
value: number;
|
|
39
|
+
}) => string | number | any[]);
|
|
40
|
+
/**
|
|
41
|
+
* A function that for creating custom visuals for the error bars.
|
|
42
|
+
*
|
|
43
|
+
* The available argument fields are:
|
|
44
|
+
* - `rect`—The geometry [`Rect`](https://www.telerik.com/kendo-react-ui/components/drawing/api/geometry/rect) that defines where the visual has to be rendered.
|
|
45
|
+
* - `options`—The error bar options.
|
|
46
|
+
* - `createVisual`—A function that can be used to get the default visual.
|
|
47
|
+
* - `low`—The error bar low value.
|
|
48
|
+
* - `high`—The error bar high value.
|
|
49
|
+
* - `sender`—The Chart instance.
|
|
50
|
+
*/
|
|
51
|
+
visual?: (e: ErrorBarsVisualArgs) => drawing.Element;
|
|
52
|
+
/**
|
|
53
|
+
* The value of the [`xAxis`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartxaxisitemprops) error bars ([see example](https://www.telerik.com/kendo-react-ui/components/charts/chart/elements/error-bars#toc-calculating-values-based-on-data)).
|
|
54
|
+
*
|
|
55
|
+
* For a list of the supported value types, refer to the [`series.errorBars.value`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartserieserrorbarsprops#toc-value) option. The `xValue` option is supported when [`series.type`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartseriesitemprops#toc-type) is set to `"scatter"`, `"scatterLine"`, or `"bubble"`.
|
|
56
|
+
*/
|
|
57
|
+
xValue?: string;
|
|
58
|
+
/**
|
|
59
|
+
* The value of the [`yAxis`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartyaxisitemprops) error bars ([see example](https://www.telerik.com/kendo-react-ui/components/charts/chart/elements/error-bars#toc-calculating-values-based-on-data)).
|
|
60
|
+
*
|
|
61
|
+
* For a list of supported value types, refer to the [`series.errorBars.value`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartserieserrorbarsprops#toc-value) option. The `yValue` option is supported when [`series.type`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartseriesitemprops#toc-type) is set to `"scatter"`, `"scatterLine"`, or `"bubble"`.
|
|
62
|
+
*/
|
|
63
|
+
yValue?: string;
|
|
64
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { Border, MarkerType } from '../../common/property-types.js';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export interface SeriesExtremes {
|
|
13
|
+
/**
|
|
14
|
+
* The background color of the series extremes.
|
|
15
|
+
*/
|
|
16
|
+
background?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The border of the extremes.
|
|
19
|
+
*/
|
|
20
|
+
border?: Border;
|
|
21
|
+
/**
|
|
22
|
+
* The rotation angle of the extremes.
|
|
23
|
+
*/
|
|
24
|
+
rotation?: number;
|
|
25
|
+
/**
|
|
26
|
+
* The extremes size in pixels.
|
|
27
|
+
*/
|
|
28
|
+
size?: number;
|
|
29
|
+
/**
|
|
30
|
+
* The shape of the series extremes.
|
|
31
|
+
*
|
|
32
|
+
* The supported values are:
|
|
33
|
+
* * `"circle"`—The marker shape is a circle.
|
|
34
|
+
* * `"square"`—The marker shape is a square.
|
|
35
|
+
* * `"triangle"`—The marker shape is a triangle.
|
|
36
|
+
* * `"cross"`—The marker shape is a cross.
|
|
37
|
+
*/
|
|
38
|
+
type?: MarkerType;
|
|
39
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { drawing } from '@progress/kendo-drawing';
|
|
9
|
+
import { Border, HighlightLine, HighlightVisualArgs, HighlightToggleArgs } from '../../common/property-types.js';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export interface SeriesHighlight {
|
|
14
|
+
/**
|
|
15
|
+
* The border of the highlighted Chart series.
|
|
16
|
+
*
|
|
17
|
+
* The color is computed automatically from the base point color. The border option is supported when [`series.type`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartseriesitemprops#toc-type) is set to `"donut"`, `"bubble"`, `"pie"`, `"candlestick"`, or `"ohlc"`.
|
|
18
|
+
*/
|
|
19
|
+
border?: Border;
|
|
20
|
+
/**
|
|
21
|
+
* The highlight color. Accepts a valid CSS color string, including hex and rgb. The color option is supported when [`series.type`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartseriesitemprops#toc-type) is set to `"donut"` or `"pie"`.
|
|
22
|
+
*/
|
|
23
|
+
color?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The line of the highlighted Chart series. The color is computed automatically from the base point color. The line option is supported when [`series.type`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartseriesitemprops#toc-type) is set to `"candlestick"` or `"ohlc"`.
|
|
26
|
+
*/
|
|
27
|
+
line?: HighlightLine;
|
|
28
|
+
/**
|
|
29
|
+
* The opacity of the highlighted points. The opacity option is supported when [`series.type`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartseriesitemprops#toc-type) is set to `"bubble"`, `"pie"`, or `"donut"`.
|
|
30
|
+
*/
|
|
31
|
+
opacity?: number;
|
|
32
|
+
/**
|
|
33
|
+
* The opacity of the series when another series is highlighted.
|
|
34
|
+
*/
|
|
35
|
+
inactiveOpacity?: number | string;
|
|
36
|
+
/**
|
|
37
|
+
* A function for handling the toggling of the points highlight.
|
|
38
|
+
*
|
|
39
|
+
* The available argument fields are:
|
|
40
|
+
* - `preventDefault`—A function that can be used to prevent the showing of the default highlight overlay.
|
|
41
|
+
* - `show`—A Boolean value indicating whether the highlight has to be shown.
|
|
42
|
+
* - `visual`—The visual element that needs to be highlighted.
|
|
43
|
+
* - `category`—The point category.
|
|
44
|
+
* - `dataItem`—The point `dataItem`.
|
|
45
|
+
* - `value`—The point value.
|
|
46
|
+
* - `series`—The point series.
|
|
47
|
+
*/
|
|
48
|
+
toggle?: (e: HighlightToggleArgs) => void;
|
|
49
|
+
/**
|
|
50
|
+
* If set to `true`, the Chart highlights the series when the user hovers over it with the mouse. By default, the highlighting of the Chart series is enabled.
|
|
51
|
+
*/
|
|
52
|
+
visible?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* A function for setting custom visuals for the point highlights.
|
|
55
|
+
*
|
|
56
|
+
* The available argument fields are:
|
|
57
|
+
* - `createVisual`—A function that can be used to get the default highlight visual.
|
|
58
|
+
* - `rect`—The geometry [`Rect`](https://www.telerik.com/kendo-react-ui/components/drawing/api/geometry/rect) that defines where the visual has to be rendered.
|
|
59
|
+
* - `visual`—The visual element that needs to be highlighted.
|
|
60
|
+
* - `options`—The point options.
|
|
61
|
+
* - `category`—The point category.
|
|
62
|
+
* - `dataItem`—The point `dataItem`.
|
|
63
|
+
* - `value`—The point value.
|
|
64
|
+
* - `sender`—The Chart instance.
|
|
65
|
+
* - `series`—The point series.
|
|
66
|
+
* - `stackValue`—The cumulative point value on the stack. Available only for the stackable series.
|
|
67
|
+
* - `percentage`—The point value represented as a percentage value. Available only for the Donut, Pie, and 100% stacked charts.
|
|
68
|
+
* - `runningTotal`—The sum of point values since the last `"runningTotal"` summary point. Available for the Waterfall series.
|
|
69
|
+
* - `total`—The sum of all previous series values. Available for the Waterfall series.
|
|
70
|
+
* - `from`—The `from` point highlight visual options. Available for the RangeArea and VerticalRangeArea series.
|
|
71
|
+
* - `to`—The `to` point highlight visual options. Available for the RangeArea and VerticalRangeArea series.
|
|
72
|
+
*/
|
|
73
|
+
visual?: (e: HighlightVisualArgs) => drawing.Element;
|
|
74
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { Border, Margin, Padding } from '../../common/property-types.js';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export interface SeriesLabelsFrom {
|
|
13
|
+
/**
|
|
14
|
+
* The background color of the `from` labels. Accepts a valid CSS color string, including hex and rgb.
|
|
15
|
+
*/
|
|
16
|
+
background?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The border of the `from` labels.
|
|
19
|
+
*/
|
|
20
|
+
border?: Border;
|
|
21
|
+
/**
|
|
22
|
+
* The text color of the `from` labels. Accepts a valid CSS color string, including hex and rgb.
|
|
23
|
+
*/
|
|
24
|
+
color?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The function which returns the Chart series `from` label content.
|
|
27
|
+
*
|
|
28
|
+
* The fields available in the function argument are:
|
|
29
|
+
* - `category`—The category name. Available for the Area, Bar, Column, Bubble, Donut, Line, Pie, and Waterfall series.
|
|
30
|
+
* - `dataItem`—The original data item used to construct the point. If binding to an array, it will be `null`.
|
|
31
|
+
* - `percentage`—The point value represented as a percentage value. Available only for the Donut, Pie, and 100% stacked charts.
|
|
32
|
+
* - `series`—The data series.
|
|
33
|
+
* - `value`—The point value. Can be a number or object containing each bound field.
|
|
34
|
+
* - `runningTotal`—The sum of point values since the last `"runningTotal"` summary point. Available for the Waterfall series.
|
|
35
|
+
* - `total`—The sum of all previous series values. Available for the Waterfall series.
|
|
36
|
+
*
|
|
37
|
+
* The text can be split into multiple lines by using the line feed characters (`"\n"`).
|
|
38
|
+
*/
|
|
39
|
+
content?: (e: any) => string;
|
|
40
|
+
/**
|
|
41
|
+
* The font style of the `from` labels.
|
|
42
|
+
*/
|
|
43
|
+
font?: string;
|
|
44
|
+
/**
|
|
45
|
+
* The format of the `from` labels. Uses the IntlService [`format`](https://www.telerik.com/kendo-react-ui/components/intl/api/intlservice#toc-format) method.
|
|
46
|
+
*/
|
|
47
|
+
format?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The margin of the `from` labels. A numeric value sets all margins.
|
|
50
|
+
*/
|
|
51
|
+
margin?: Margin | number;
|
|
52
|
+
/**
|
|
53
|
+
* The padding of the `from` labels. A numeric value sets all paddings.
|
|
54
|
+
*/
|
|
55
|
+
padding?: Padding | number;
|
|
56
|
+
/**
|
|
57
|
+
* The position of the `from` labels.
|
|
58
|
+
*
|
|
59
|
+
* The supported values are:
|
|
60
|
+
* - `"center"`—The label is positioned at the point center.
|
|
61
|
+
* - `"insideBase"`—The label is positioned inside, near the base of the bar.
|
|
62
|
+
* - `"insideEnd"`—The label is positioned inside, near the end of the point.
|
|
63
|
+
* - `"outsideEnd"`—The label is positioned outside, near the end of the point.
|
|
64
|
+
* - `"above"`—the label is positioned at the top of the marker. Applicable for `"rangeArea"` and `"verticalRangeArea"` series.
|
|
65
|
+
* - `"below"`—the label is positioned at the bottom of the marker. Applicable for `"rangeArea"` and `"verticalRangeArea"` series.
|
|
66
|
+
* - `"left"`—the label is positioned to the left of the marker. Applicable for `"rangeArea"` and `"verticalRangeArea"` series.
|
|
67
|
+
* - `"right"`—the label is positioned to the right of the marker. Applicable for `"rangeArea"` and `"verticalRangeArea"` series.
|
|
68
|
+
*/
|
|
69
|
+
position?: 'center' | 'insideBase' | 'insideEnd' | 'outsideEnd';
|
|
70
|
+
/**
|
|
71
|
+
* If set to `true`, the Chart displays the series `from` labels. By default, the Chart series `from` labels are not displayed.
|
|
72
|
+
*/
|
|
73
|
+
visible?: boolean;
|
|
74
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { drawing } from '@progress/kendo-drawing';
|
|
9
|
+
import { Border, Margin, Padding, SeriesLabelsVisualArgs, SeriesLabelsPosition } from '../../common/property-types.js';
|
|
10
|
+
import { SeriesLabelsFrom } from './labels.from.interface.js';
|
|
11
|
+
import { SeriesLabelsTo } from './labels.to.interface.js';
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export interface SeriesLabels {
|
|
16
|
+
/**
|
|
17
|
+
* The alignment of the label when [`series.type`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartseriesitemprops#toc-type) is set to `"donut"`, `"funnel"`, `"pyramid"` or `"pie"`.
|
|
18
|
+
*
|
|
19
|
+
* The supported values for `"donut"` and `"pie"` are:
|
|
20
|
+
* - `"circle"`—The labels are positioned in circle around the Chart.
|
|
21
|
+
* - `"column"`—The labels are positioned in columns to the left and right of the Chart.
|
|
22
|
+
*
|
|
23
|
+
* The supported values for `"funnel"` and `"pyramid"` are:
|
|
24
|
+
* - `"center"`—The labels are positioned in the center over the funnel segment.
|
|
25
|
+
* - `"right"`—The labels are positioned on the right side of the Chart and, if there is enough space, do not overlap the funnel segments.
|
|
26
|
+
* - `"left"`—The labels are positioned on the left side of the Chart and, if there is enough space, do not overlap the funnel segments.
|
|
27
|
+
*/
|
|
28
|
+
align?: 'circle' | 'column' | 'center' | 'right' | 'left';
|
|
29
|
+
/**
|
|
30
|
+
* The background color of the labels. Accepts a valid CSS color string, including hex and rgb.
|
|
31
|
+
*/
|
|
32
|
+
background?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The border of the labels.
|
|
35
|
+
*/
|
|
36
|
+
border?: Border;
|
|
37
|
+
/**
|
|
38
|
+
* The text color of the labels. Accepts a valid CSS color string, including hex and rgb.
|
|
39
|
+
*/
|
|
40
|
+
color?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The function which returns the Chart series label content. You can split the text into multiple lines by using line feed characters (`"\n"`).
|
|
43
|
+
*
|
|
44
|
+
* The fields available in the function argument are:
|
|
45
|
+
*
|
|
46
|
+
* - `category`—The category name. Available for the Area, Bar, Column, Bubble, Donut, Line, Pie, and Waterfall series.
|
|
47
|
+
* - `dataItem`—The original data item used to construct the point. If binding to an array, it will be `null`.
|
|
48
|
+
* - `percentage`—The point value represented as a percentage value. Available only for the Donut, Pie, and 100% stacked charts.
|
|
49
|
+
* - `series`—The data series.
|
|
50
|
+
* - `stackValue`—The cumulative point value on the stack. Available only for the stackable series.
|
|
51
|
+
* - `value`—The point value. Can be a number or object containing each bound field.
|
|
52
|
+
* - `runningTotal`—The sum of point values since the last `"runningTotal"` summary point. Available for the Waterfall series.
|
|
53
|
+
* - `total`—The sum of all previous series values. Available for the Waterfall series.
|
|
54
|
+
*/
|
|
55
|
+
content?: (e: any) => string;
|
|
56
|
+
/**
|
|
57
|
+
* The distance between the labels when [`series.type`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartseriesitemprops#toc-type) is set to `"donut"` or `"pie"`.
|
|
58
|
+
*/
|
|
59
|
+
distance?: number;
|
|
60
|
+
/**
|
|
61
|
+
* The font style of the labels.
|
|
62
|
+
*/
|
|
63
|
+
font?: string;
|
|
64
|
+
/**
|
|
65
|
+
* The format of the labels. Uses the [`format`](https://www.telerik.com/kendo-react-ui/components/intl/api/intlservice#toc-format) method of IntlService.
|
|
66
|
+
*/
|
|
67
|
+
format?: string;
|
|
68
|
+
/**
|
|
69
|
+
* The margin of the labels. A numeric value sets all margins.
|
|
70
|
+
*/
|
|
71
|
+
margin?: Margin | number;
|
|
72
|
+
/**
|
|
73
|
+
* The padding of the labels. A numeric value sets all paddings. Bar and Column series always apply full padding and ignore this setting.
|
|
74
|
+
*/
|
|
75
|
+
padding?: Padding | number;
|
|
76
|
+
/**
|
|
77
|
+
* The position of the labels.
|
|
78
|
+
*/
|
|
79
|
+
position?: SeriesLabelsPosition;
|
|
80
|
+
/**
|
|
81
|
+
* If set to `true`, the Chart displays the series labels. By default, the Chart series labels are not displayed.
|
|
82
|
+
*/
|
|
83
|
+
visible?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* A function that can be used to create a custom visual for the labels.
|
|
86
|
+
*
|
|
87
|
+
* The available argument fields are:
|
|
88
|
+
* - `text`—The label text.
|
|
89
|
+
* - `rect`—The geometry [`Rect`](https://www.telerik.com/kendo-react-ui/components/drawing/api/geometry/rect) that defines where the visual has to be rendered.
|
|
90
|
+
* - `options`—The label options.
|
|
91
|
+
* - `createVisual`—A function that can be used to get the default visual.
|
|
92
|
+
* - `sender`—The Chart instance (might be `undefined`).
|
|
93
|
+
*/
|
|
94
|
+
visual?: (e: SeriesLabelsVisualArgs) => drawing.Element;
|
|
95
|
+
/**
|
|
96
|
+
* The `from` label configuration of the Chart series. The Chart displays the series from labels when either the [`series.labels.visible`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartserieslabelsprops#toc-visible) or the [`series.labels.from.visible`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartseriesdefaultslabelsfromprops#toc-visible) option is set to `true`.
|
|
97
|
+
*/
|
|
98
|
+
from?: SeriesLabelsFrom;
|
|
99
|
+
/**
|
|
100
|
+
* The `to` label configuration of the Chart series. The Chart displays the series to labels when either the [`series.labels.visible`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartserieslabelsprops#toc-visible) or the [`series.labels.to.visible`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartserieslabelstoprops#toc-visible) option is set to `true`.
|
|
101
|
+
*/
|
|
102
|
+
to?: SeriesLabelsTo;
|
|
103
|
+
/**
|
|
104
|
+
* React child components that can be used to configure nested chart series label components.
|
|
105
|
+
*
|
|
106
|
+
* Supported child components include label configuration components for specialized chart types.
|
|
107
|
+
*/
|
|
108
|
+
children?: React.ReactNode;
|
|
109
|
+
}
|