@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,95 @@
|
|
|
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 { AxisLabelVisualArgs, Border, DateFormats, LabelRotation, Margin, Padding } from '../../common/property-types.js';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export interface XAxisLabels {
|
|
14
|
+
/**
|
|
15
|
+
* The background color of the labels. Accepts a valid CSS color string, including hex and rgb.
|
|
16
|
+
*/
|
|
17
|
+
background?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The border of the labels.
|
|
20
|
+
*/
|
|
21
|
+
border?: Border;
|
|
22
|
+
/**
|
|
23
|
+
* The text color of the labels. Accepts a valid CSS color string, including hex and rgb.
|
|
24
|
+
*/
|
|
25
|
+
color?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The function which returns the label content. The function argument contains a `value` field. It defines the axis value. You can split the text into multiple lines by using the line feed characters (`"\n"`).
|
|
28
|
+
*
|
|
29
|
+
* The available fields in the function argument are:
|
|
30
|
+
* - `value`—The category value.
|
|
31
|
+
* - `format`—The default format of the label.
|
|
32
|
+
* - `text`—The default label text.
|
|
33
|
+
* - `index`—The index of the label.
|
|
34
|
+
* - `count`—The total number of rendered labels.
|
|
35
|
+
*/
|
|
36
|
+
content?: (e: any) => string;
|
|
37
|
+
/**
|
|
38
|
+
* The culture to use when formatting date values. The specified culture must be loaded as demonstrated in the [Internationalization Overview](https://www.telerik.com/kendo-react-ui/components/intl/i18n).
|
|
39
|
+
*/
|
|
40
|
+
culture?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The format for displaying the labels when the X values are dates. 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 category value. The Chart selects the appropriate format for the current [`xAxis.baseUnit`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartxaxisitemprops#toc-baseunit). Setting the [`categoryAxis.labels.format`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartcategoryaxislabelsprops#toc-format) option overrides the date formats.
|
|
43
|
+
*/
|
|
44
|
+
dateFormats?: DateFormats;
|
|
45
|
+
/**
|
|
46
|
+
* The font style of the labels.
|
|
47
|
+
*/
|
|
48
|
+
font?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The format for displaying the labels. 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 category value.
|
|
51
|
+
*/
|
|
52
|
+
format?: string;
|
|
53
|
+
/**
|
|
54
|
+
* The margin of the labels. A numeric value sets all margins.
|
|
55
|
+
*/
|
|
56
|
+
margin?: Margin | number;
|
|
57
|
+
/**
|
|
58
|
+
* If set to `true`, the Chart mirrors the axis labels and ticks. If the labels are normally on the left side of the axis, the mirroring of the axis renders them to the right.
|
|
59
|
+
*/
|
|
60
|
+
mirror?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* The padding of the labels. A numeric value sets all paddings.
|
|
63
|
+
*/
|
|
64
|
+
padding?: Padding | number;
|
|
65
|
+
/**
|
|
66
|
+
* The rotation angle of the labels. By default, the labels are not rotated. Can be set to `"auto"`. In this case, the labels are rotated only if the slot size is not sufficient for the entire labels.
|
|
67
|
+
*/
|
|
68
|
+
rotation?: LabelRotation | number | 'auto';
|
|
69
|
+
/**
|
|
70
|
+
* The number of labels to skip.
|
|
71
|
+
*/
|
|
72
|
+
skip?: number;
|
|
73
|
+
/**
|
|
74
|
+
* The label rendering step—renders every n<sup>th</sup> label. By default, every label is rendered.
|
|
75
|
+
*/
|
|
76
|
+
step?: number;
|
|
77
|
+
/**
|
|
78
|
+
* If set to `true`, the Chart displays the X-axis labels. By default, the X-axis labels are visible.
|
|
79
|
+
*/
|
|
80
|
+
visible?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* A function for creating custom visuals for the labels.
|
|
83
|
+
*
|
|
84
|
+
* The available argument fields are:
|
|
85
|
+
* - `createVisual`—A function that can be used to get the default visual.
|
|
86
|
+
* - `culture`—The default culture (if set) of the label.
|
|
87
|
+
* - `format`—The default format of the label.
|
|
88
|
+
* - `options`—The label options.
|
|
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
|
+
* - `sender`—The Chart instance (might be `undefined`).
|
|
91
|
+
* - `text`—The label text.
|
|
92
|
+
* - `value`—The category value.
|
|
93
|
+
*/
|
|
94
|
+
visual?: (e: AxisLabelVisualArgs) => drawing.Element;
|
|
95
|
+
}
|
|
@@ -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 XAxisNotesIcon {
|
|
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,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 { drawing } from '@progress/kendo-drawing';
|
|
9
|
+
import { AxisNoteVisualArgs, NoteLine, NotePosition } from '../../common/property-types.js';
|
|
10
|
+
import { XAxisNotesIcon } from './notes.icon.interface.js';
|
|
11
|
+
import { XAxisNotesLabel } from './notes.label.interface.js';
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export interface XAxisNotes {
|
|
16
|
+
/**
|
|
17
|
+
* The items of the notes.
|
|
18
|
+
*/
|
|
19
|
+
data?: any[];
|
|
20
|
+
/**
|
|
21
|
+
* The line of the notes.
|
|
22
|
+
*/
|
|
23
|
+
line?: NoteLine;
|
|
24
|
+
/**
|
|
25
|
+
* The position of the X-axis note.
|
|
26
|
+
*
|
|
27
|
+
* The supported values are:
|
|
28
|
+
* - `"top"`—The note is positioned on the top.
|
|
29
|
+
* - `"bottom"`—The note is positioned on the bottom.
|
|
30
|
+
* - `"left"`—The note is positioned on the left.
|
|
31
|
+
* - `"right"`—The note is positioned on the right.
|
|
32
|
+
*/
|
|
33
|
+
position?: NotePosition;
|
|
34
|
+
/**
|
|
35
|
+
* A function for creating custom visuals for the notes.
|
|
36
|
+
*
|
|
37
|
+
* The available argument fields are:
|
|
38
|
+
* - `rect`—The geometry [`Rect`](https://www.telerik.com/kendo-react-ui/components/drawing/api/geometry/rect) that defines the note target rect.
|
|
39
|
+
* - `sender`—The chart instance (might be `undefined`).
|
|
40
|
+
* - `options`—The note options.
|
|
41
|
+
* - `createVisual`—A function that can be used to get the default visual.
|
|
42
|
+
* - `value`—The note value.
|
|
43
|
+
*/
|
|
44
|
+
visual?: (e: AxisNoteVisualArgs) => drawing.Element;
|
|
45
|
+
/**
|
|
46
|
+
* The icon of the notes.
|
|
47
|
+
*/
|
|
48
|
+
icon?: XAxisNotesIcon;
|
|
49
|
+
/**
|
|
50
|
+
* The label of the notes.
|
|
51
|
+
*/
|
|
52
|
+
label?: XAxisNotesLabel;
|
|
53
|
+
}
|
|
@@ -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 XAxisNotesLabel {
|
|
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. It defines the axis value. You can split the text into multiple lines by using the 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 X-axis notes label. By default, the X-axis notes label is visible.
|
|
51
|
+
*/
|
|
52
|
+
visible?: boolean;
|
|
53
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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 { AxisTitlePosition, Border, Margin, Padding, TitleVisualArgs } from '../../common/property-types.js';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export interface XAxisTitle {
|
|
14
|
+
/**
|
|
15
|
+
* The background color of the title. Accepts a valid CSS color string, including hex and rgb.
|
|
16
|
+
*/
|
|
17
|
+
background?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The border of the title.
|
|
20
|
+
*/
|
|
21
|
+
border?: Border;
|
|
22
|
+
/**
|
|
23
|
+
* The text color of the title. Accepts a valid CSS color string, including hex and rgb.
|
|
24
|
+
*/
|
|
25
|
+
color?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The font style of the title.
|
|
28
|
+
*/
|
|
29
|
+
font?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The margin of the title. A numeric value sets all margins.
|
|
32
|
+
*/
|
|
33
|
+
margin?: Margin | number;
|
|
34
|
+
/**
|
|
35
|
+
* The padding of the title. A numeric value sets all paddings.
|
|
36
|
+
*/
|
|
37
|
+
padding?: Padding | number;
|
|
38
|
+
/**
|
|
39
|
+
* The position of the title.
|
|
40
|
+
*
|
|
41
|
+
* The supported values are:
|
|
42
|
+
* - `"top"`—The axis title is positioned on the top (applicable to the vertical axis).
|
|
43
|
+
* - `"bottom"`—The axis title is positioned on the bottom (applicable to the vertical axis).
|
|
44
|
+
* - `"left"`—The axis title is positioned on the left (applicable to the horizontal axis).
|
|
45
|
+
* - `"right"`—The axis title is positioned on the right (applicable to the horizontal axis).
|
|
46
|
+
* - `"center"`—The axis title is positioned in the center.
|
|
47
|
+
*/
|
|
48
|
+
position?: AxisTitlePosition;
|
|
49
|
+
/**
|
|
50
|
+
* The rotation angle of the title. By default, the title is not rotated.
|
|
51
|
+
*/
|
|
52
|
+
rotation?: number;
|
|
53
|
+
/**
|
|
54
|
+
* The text of the title. You can split the text into multiple lines by using the line feed characters (`"\n"`).
|
|
55
|
+
*/
|
|
56
|
+
text?: string;
|
|
57
|
+
/**
|
|
58
|
+
* If set to `true`, the Chart displays the X axis title of the Scatter Chart. By default, the X-axis title of the Scatter Chart is visible.
|
|
59
|
+
*/
|
|
60
|
+
visible?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* A function that can be used to create a custom visual for the title.
|
|
63
|
+
*
|
|
64
|
+
* The available argument fields are:
|
|
65
|
+
* - `text`—The label text.
|
|
66
|
+
* - `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.
|
|
67
|
+
* - `sender`—The Chart instance (might be `undefined`).
|
|
68
|
+
* - `options`—The label options.
|
|
69
|
+
* - `createVisual`—A function that can be used to get the default visual.
|
|
70
|
+
*/
|
|
71
|
+
visual?: (e: TitleVisualArgs) => drawing.Element;
|
|
72
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
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 { AxisLine, AxisTicks, BaseUnit, GridLines, PlotBand } from '../common/property-types.js';
|
|
9
|
+
import { XAxisCrosshair } from './x-axis-item/crosshair.interface.js';
|
|
10
|
+
import { XAxisLabels } from './x-axis-item/labels.interface.js';
|
|
11
|
+
import { XAxisNotes } from './x-axis-item/notes.interface.js';
|
|
12
|
+
import { XAxisTitle } from './x-axis-item/title.interface.js';
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
export interface XAxis {
|
|
17
|
+
/**
|
|
18
|
+
* * (Only for objects) The value at which the Y axis crosses this axis.
|
|
19
|
+
* * (Only for arrays) The value indices at which the y axes cross the value axis.
|
|
20
|
+
* * (Only for dates) The date at which the Y axis crosses this axis.
|
|
21
|
+
*
|
|
22
|
+
* To denote the far end of the axis, set a value that is greater than or equal to the axis maximum value.
|
|
23
|
+
*/
|
|
24
|
+
axisCrossingValue?: any | any[];
|
|
25
|
+
/**
|
|
26
|
+
* The background color of the axis.
|
|
27
|
+
*/
|
|
28
|
+
background?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The category names. Applicable for charts with X and Y category axes.
|
|
31
|
+
*/
|
|
32
|
+
categories?: any[];
|
|
33
|
+
/**
|
|
34
|
+
* The base time interval for the axis labels. The default `baseUnit` is automatically determined from the value range.
|
|
35
|
+
*
|
|
36
|
+
* The available options are:
|
|
37
|
+
* - milliseconds
|
|
38
|
+
* - seconds
|
|
39
|
+
* - minutes
|
|
40
|
+
* - hours
|
|
41
|
+
* - days
|
|
42
|
+
* - weeks
|
|
43
|
+
* - months
|
|
44
|
+
* - years
|
|
45
|
+
*/
|
|
46
|
+
baseUnit?: BaseUnit;
|
|
47
|
+
/**
|
|
48
|
+
* The color of the axis. Accepts a valid CSS color string, including hex and rgb.
|
|
49
|
+
*/
|
|
50
|
+
color?: string;
|
|
51
|
+
/**
|
|
52
|
+
* The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines.
|
|
53
|
+
*/
|
|
54
|
+
line?: AxisLine;
|
|
55
|
+
/**
|
|
56
|
+
* The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the body of the Chart.
|
|
57
|
+
*/
|
|
58
|
+
majorGridLines?: GridLines;
|
|
59
|
+
/**
|
|
60
|
+
* The configuration of the Scatter Chart X-axis major ticks.
|
|
61
|
+
*/
|
|
62
|
+
majorTicks?: AxisTicks;
|
|
63
|
+
/**
|
|
64
|
+
* The interval between major divisions. If this is a date axis, the value represents the number of [`xAxis.baseUnits`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartxaxisitemprops#toc-baseunit) between major divisions. If [`xAxis.type`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartxaxisitemprops#toc-type) is set to `"log"`, the `majorUnit` value is used for the base of the logarithm.
|
|
65
|
+
*/
|
|
66
|
+
majorUnit?: number;
|
|
67
|
+
/**
|
|
68
|
+
* The maximum value of the axis.
|
|
69
|
+
*/
|
|
70
|
+
max?: any;
|
|
71
|
+
/**
|
|
72
|
+
* The minimum value of the axis.
|
|
73
|
+
*/
|
|
74
|
+
min?: any;
|
|
75
|
+
/**
|
|
76
|
+
* The configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the body of the Chart.
|
|
77
|
+
*/
|
|
78
|
+
minorGridLines?: GridLines;
|
|
79
|
+
/**
|
|
80
|
+
* The configuration of the X-axis minor ticks.
|
|
81
|
+
*/
|
|
82
|
+
minorTicks?: AxisTicks;
|
|
83
|
+
/**
|
|
84
|
+
* The interval between minor divisions. It defaults to 1/5 of the [`xAxis.majorUnit`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartxaxisitemprops#toc-majorunit). If [`xAxis.type`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartxaxisitemprops#toc-type) is set to `"log"`, the `minorUnit` value represents the number of divisions between two major units and defaults to the major unit minus one.
|
|
85
|
+
*/
|
|
86
|
+
minorUnit?: number;
|
|
87
|
+
/**
|
|
88
|
+
* The unique axis name. Used to associate a series with a X axis by using the [`series.xAxis`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartseriesitemprops#toc-xaxis) option.
|
|
89
|
+
*/
|
|
90
|
+
name?: string;
|
|
91
|
+
/**
|
|
92
|
+
* If set to `true`, the Chart prevents the automatic axis range from snapping to zero. Setting it to `false` forces the automatic axis range to snap to zero.
|
|
93
|
+
*/
|
|
94
|
+
narrowRange?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* The name of the pane in which the axis has to be rendered. If not set, the axis is rendered in the first (default) pane.
|
|
97
|
+
*/
|
|
98
|
+
pane?: string;
|
|
99
|
+
/**
|
|
100
|
+
* The plot bands of the X axis.
|
|
101
|
+
*/
|
|
102
|
+
plotBands?: PlotBand[];
|
|
103
|
+
/**
|
|
104
|
+
* If set to `true`, the value axis direction is reversed. By default, values increase from left to right and from bottom to top.
|
|
105
|
+
*/
|
|
106
|
+
reverse?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* The angle (in degrees) where the zero value is placed. Angles increase counterclockwise and zero is to the right. Negative values are acceptable.
|
|
109
|
+
*/
|
|
110
|
+
startAngle?: number;
|
|
111
|
+
/**
|
|
112
|
+
* The axis type.
|
|
113
|
+
*
|
|
114
|
+
* The supported values are:
|
|
115
|
+
* - `"numeric"`—Numeric axis.
|
|
116
|
+
* - `"date"`—Specialized axis for displaying chronological data.
|
|
117
|
+
* - `"log"`—Logarithmic axis.
|
|
118
|
+
*
|
|
119
|
+
* If the series X value is of the `date` type, the Chart automatically switches to a date axis. To avoid this behavior, set the `type`.
|
|
120
|
+
*/
|
|
121
|
+
type?: 'numeric' | 'log' | 'date';
|
|
122
|
+
/**
|
|
123
|
+
* If set to `true`, the Chart displays the X axis. By default, the X axis is visible.
|
|
124
|
+
*/
|
|
125
|
+
visible?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* The configuration options of the crosshair. The crosshair is displayed when the [`xAxis.crosshair.visible`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartxaxiscrosshairprops#toc-visible) option is set to `true`.
|
|
128
|
+
*/
|
|
129
|
+
crosshair?: XAxisCrosshair;
|
|
130
|
+
/**
|
|
131
|
+
* The axis labels configuration.
|
|
132
|
+
*/
|
|
133
|
+
labels?: XAxisLabels;
|
|
134
|
+
/**
|
|
135
|
+
* The X-axis notes configuration.
|
|
136
|
+
*/
|
|
137
|
+
notes?: XAxisNotes;
|
|
138
|
+
/**
|
|
139
|
+
* The title configuration of the Scatter Chart X axis. To display the title, set the [`xAxis.title.text`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartxaxistitleprops#toc-text) option.
|
|
140
|
+
*/
|
|
141
|
+
title?: XAxisTitle;
|
|
142
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { YAxisCrosshairTooltip } from './crosshair.tooltip.interface.js';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export interface YAxisCrosshair {
|
|
13
|
+
/**
|
|
14
|
+
* The color of the crosshair. Accepts a valid CSS color string, including hex and rgb.
|
|
15
|
+
*/
|
|
16
|
+
color?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The opacity of the crosshair. By default, the crosshair is opaque.
|
|
19
|
+
*/
|
|
20
|
+
opacity?: number;
|
|
21
|
+
/**
|
|
22
|
+
* If set to `true`, the Chart displays the Y-axis crosshair of the Scatter Chart. By default, the Y-axis crosshair of the Scatter Chart is not visible.
|
|
23
|
+
*/
|
|
24
|
+
visible?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* The width of the crosshair in pixels.
|
|
27
|
+
*/
|
|
28
|
+
width?: number;
|
|
29
|
+
/**
|
|
30
|
+
* The options of the crosshair tooltip. The crosshair tooltip is displayed when the [`yAxis.crosshair.tooltip.visible`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartyaxiscrosshairtooltipprops#toc-visible) option is set to `true`.
|
|
31
|
+
*/
|
|
32
|
+
tooltip?: YAxisCrosshairTooltip;
|
|
33
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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 { AxisCrosshairTooltip } from '../axis-crosshair-tooltip.interface.js';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export interface YAxisCrosshairTooltip extends AxisCrosshairTooltip {
|
|
13
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
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 { AxisLabelVisualArgs, Border, DateFormats, LabelRotation, Margin, Padding } from '../../common/property-types.js';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export interface YAxisLabels {
|
|
14
|
+
/**
|
|
15
|
+
* The background color of the labels. Accepts a valid CSS color string, including hex and rgb.
|
|
16
|
+
*/
|
|
17
|
+
background?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The border of the labels.
|
|
20
|
+
*/
|
|
21
|
+
border?: Border;
|
|
22
|
+
/**
|
|
23
|
+
* The text color of the labels. Accepts a valid CSS color string, including hex and rgb.
|
|
24
|
+
*/
|
|
25
|
+
color?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The function which returns the label content. The function argument contains a `value` field. It defines the axis value. You can split the text into multiple lines by using the line feed characters (`"\n"`).
|
|
28
|
+
*
|
|
29
|
+
* The available fields in the function argument are:
|
|
30
|
+
* - `value`—The category value.
|
|
31
|
+
* - `format`—The default format of the label.
|
|
32
|
+
* - `text`—The default label text.
|
|
33
|
+
* - `index`—The index of the label.
|
|
34
|
+
* - `count`—The total number of rendered labels.
|
|
35
|
+
*/
|
|
36
|
+
content?: (e: any) => string;
|
|
37
|
+
/**
|
|
38
|
+
* The culture to use when formatting date values. The specified culture must be loaded as demonstrated in the [Internationalization Overview](https://www.telerik.com/kendo-react-ui/components/intl/i18n).
|
|
39
|
+
*/
|
|
40
|
+
culture?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The format for displaying the labels when the X values are dates. 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 category value. The Chart selects the appropriate format for the current [`yAxis.baseUnit`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartyaxisitemprops#toc-baseunit). Setting the [`categoryAxis.labels.format`](https://www.telerik.com/kendo-react-ui/components/charts/api/chartcategoryaxislabelsprops#toc-format) option overrides the date formats.
|
|
43
|
+
*/
|
|
44
|
+
dateFormats?: DateFormats;
|
|
45
|
+
/**
|
|
46
|
+
* The font style of the labels.
|
|
47
|
+
*/
|
|
48
|
+
font?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The format for displaying the labels. 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 category value.
|
|
51
|
+
*/
|
|
52
|
+
format?: string;
|
|
53
|
+
/**
|
|
54
|
+
* The margin of the labels. A numeric value sets all margins.
|
|
55
|
+
*/
|
|
56
|
+
margin?: Margin | number;
|
|
57
|
+
/**
|
|
58
|
+
* If set to `true`, the Chart mirrors the axis labels and ticks. If the labels are normally on the left side of the axis, the mirroring of the axis renders them to the right.
|
|
59
|
+
*/
|
|
60
|
+
mirror?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* The padding of the labels. A numeric value sets all paddings.
|
|
63
|
+
*/
|
|
64
|
+
padding?: Padding | number;
|
|
65
|
+
/**
|
|
66
|
+
* The rotation angle of the labels. By default, the labels are not rotated.
|
|
67
|
+
*/
|
|
68
|
+
rotation?: LabelRotation | number | 'auto';
|
|
69
|
+
/**
|
|
70
|
+
* The number of labels to skip.
|
|
71
|
+
*/
|
|
72
|
+
skip?: number;
|
|
73
|
+
/**
|
|
74
|
+
* The label rendering step—renders every `n`<sup>th</sup> label. By default, every label is rendered.
|
|
75
|
+
*/
|
|
76
|
+
step?: number;
|
|
77
|
+
/**
|
|
78
|
+
* If set to `true`, the Chart displays the Y-axis labels. By default, the Y-axis labels are visible.
|
|
79
|
+
*/
|
|
80
|
+
visible?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* A function that can be used to create a custom visual for the labels.
|
|
83
|
+
*
|
|
84
|
+
* The available argument fields are:
|
|
85
|
+
* - `createVisual`—A function that can be used to get the default visual.
|
|
86
|
+
* - `culture`—The default culture (if set) on the label.
|
|
87
|
+
* - `format`—The default format of the label.
|
|
88
|
+
* - `options`—The label options.
|
|
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
|
+
* - `sender`—The Chart instance (might be `undefined`).
|
|
91
|
+
* - `text`—The label text.
|
|
92
|
+
* - `value`—The category value.
|
|
93
|
+
*/
|
|
94
|
+
visual?: (e: AxisLabelVisualArgs) => drawing.Element;
|
|
95
|
+
}
|
|
@@ -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 YAxisNotesIcon {
|
|
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
|
+
}
|