@progress/kendo-react-charts 5.18.0 → 5.19.0-dev.202309181533

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.
@@ -36,6 +36,7 @@ export { SeriesLabelsPosition } from '../field-types/series-labels-position';
36
36
  export { SeriesLine } from '../field-types/series-line.interface';
37
37
  export { SeriesStack } from '../field-types/series-stack.interface';
38
38
  export { SeriesType } from '../field-types/series-type';
39
+ export { TrendlineForecast } from '../field-types/trendline-forecast.interface';
39
40
  export { WeekStartDay } from '../field-types/week-start-day.enum';
40
41
  export { AxisLabelVisualArgs } from '../argument-types/axis-label-visual-args.interface';
41
42
  export { AxisNoteVisualArgs } from '../argument-types/axis-note-visual-args.interface';
@@ -99,6 +100,7 @@ export { SeriesNotesIcon } from '../option-types/series-item/notes.icon.interfac
99
100
  export { SeriesNotesLabel } from '../option-types/series-item/notes.label.interface';
100
101
  export { SeriesOutliers } from '../option-types/series-item/outliers.interface';
101
102
  export { SeriesTooltip } from '../option-types/series-item/tooltip.interface';
103
+ export { SeriesTrendline } from '../option-types/series-item/trendline.interface';
102
104
  export { Series } from '../option-types/series-item.interface';
103
105
  export { Subtitle } from '../option-types/subtitle.interface';
104
106
  export { Title } from '../option-types/title.interface';
@@ -26,4 +26,4 @@
26
26
  * );
27
27
  * ```
28
28
  */
29
- export declare type SeriesType = 'area' | 'bar' | 'boxPlot' | 'bubble' | 'bullet' | 'candlestick' | 'column' | 'donut' | 'funnel' | 'heatmap' | 'horizontalWaterfall' | 'line' | 'ohlc' | 'pie' | 'polarArea' | 'polarLine' | 'polarScatter' | 'radarArea' | 'radarColumn' | 'radarLine' | 'rangeArea' | 'rangeBar' | 'rangeColumn' | 'scatter' | 'scatterLine' | 'verticalArea' | 'verticalBoxPlot' | 'verticalBullet' | 'verticalLine' | 'verticalRangeArea' | 'waterfall';
29
+ export declare type SeriesType = 'area' | 'bar' | 'boxPlot' | 'bubble' | 'bullet' | 'candlestick' | 'column' | 'donut' | 'funnel' | 'heatmap' | 'horizontalWaterfall' | 'line' | 'linearTrendline' | 'movingAverageTrendline' | 'ohlc' | 'pie' | 'polarArea' | 'polarLine' | 'polarScatter' | 'radarArea' | 'radarColumn' | 'radarLine' | 'rangeArea' | 'rangeBar' | 'rangeColumn' | 'scatter' | 'scatterLine' | 'verticalArea' | 'verticalBoxPlot' | 'verticalBullet' | 'verticalLine' | 'verticalRangeArea' | 'waterfall';
@@ -0,0 +1,13 @@
1
+ /**
2
+ * The series trendline forecast settings.
3
+ */
4
+ export interface TrendlineForecast {
5
+ /**
6
+ * The number of intervals to extend the trendline before the first data point.
7
+ */
8
+ before?: number;
9
+ /**
10
+ * The number of intervals to extend the trendline after the last data point.
11
+ */
12
+ after?: number;
13
+ }
@@ -0,0 +1,18 @@
1
+ import { TrendlineForecast } from '../../common/property-types';
2
+ /**
3
+ * The configuration options of the series trendlines.
4
+ */
5
+ export interface SeriesTrendline {
6
+ /**
7
+ * The trendline forecast settings. By default, the trendline does not display a forecast.
8
+ *
9
+ * The forecast setting is supported for Linear Trendlines on date and scatter series.
10
+ */
11
+ forecast?: TrendlineForecast;
12
+ /**
13
+ * The number of intervals to take when calculating averages. The value should be an integer greater than 2.
14
+ *
15
+ * The period setting is supported only for Moving Average trendlines.
16
+ */
17
+ period?: number;
18
+ }
@@ -1,5 +1,5 @@
1
1
  import { drawing } from '@progress/kendo-drawing';
2
- import { Border, BulletTarget, DashType, LabelConnectors } from '../common/property-types';
2
+ import { Border, BulletTarget, DashType, LabelConnectors, SeriesTrendline } from '../common/property-types';
3
3
  import { Margin, NegativeBubbleValues, Overlay, SeriesLine, SeriesType } from '../common/property-types';
4
4
  import { LineStyle, SeriesStack, SeriesVisualArgs } from '../common/property-types';
5
5
  import { SeriesErrorBars } from './series-item/error-bars.interface';
@@ -133,6 +133,12 @@ export interface Series {
133
133
  * The data item field which contains the series value.
134
134
  */
135
135
  field?: string;
136
+ /**
137
+ * The name of the parent series of the trendline.
138
+ *
139
+ * The `for` option is supported when [`series.type`]({% slug api_charts_chartseriesitemprops %}#toc-type) is set to `"linearTrendline"` or `"movingAverageTrendline"`.
140
+ */
141
+ for?: string;
136
142
  /**
137
143
  * The data item field which contains the series from value.
138
144
  */
@@ -440,4 +446,8 @@ export interface Series {
440
446
  * The configuration options of the Chart series tooltip.
441
447
  */
442
448
  tooltip?: SeriesTooltip;
449
+ /**
450
+ * The configuration options of the series trendlines.
451
+ */
452
+ trendlines?: SeriesTrendline[];
443
453
  }
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-react-charts',
6
6
  productName: 'KendoReact',
7
7
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
8
- publishDate: 1694692815,
8
+ publishDate: 1695048021,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
11
11
  };
@@ -36,6 +36,7 @@ export { SeriesLabelsPosition } from '../field-types/series-labels-position';
36
36
  export { SeriesLine } from '../field-types/series-line.interface';
37
37
  export { SeriesStack } from '../field-types/series-stack.interface';
38
38
  export { SeriesType } from '../field-types/series-type';
39
+ export { TrendlineForecast } from '../field-types/trendline-forecast.interface';
39
40
  export { WeekStartDay } from '../field-types/week-start-day.enum';
40
41
  export { AxisLabelVisualArgs } from '../argument-types/axis-label-visual-args.interface';
41
42
  export { AxisNoteVisualArgs } from '../argument-types/axis-note-visual-args.interface';
@@ -99,6 +100,7 @@ export { SeriesNotesIcon } from '../option-types/series-item/notes.icon.interfac
99
100
  export { SeriesNotesLabel } from '../option-types/series-item/notes.label.interface';
100
101
  export { SeriesOutliers } from '../option-types/series-item/outliers.interface';
101
102
  export { SeriesTooltip } from '../option-types/series-item/tooltip.interface';
103
+ export { SeriesTrendline } from '../option-types/series-item/trendline.interface';
102
104
  export { Series } from '../option-types/series-item.interface';
103
105
  export { Subtitle } from '../option-types/subtitle.interface';
104
106
  export { Title } from '../option-types/title.interface';
@@ -26,4 +26,4 @@
26
26
  * );
27
27
  * ```
28
28
  */
29
- export declare type SeriesType = 'area' | 'bar' | 'boxPlot' | 'bubble' | 'bullet' | 'candlestick' | 'column' | 'donut' | 'funnel' | 'heatmap' | 'horizontalWaterfall' | 'line' | 'ohlc' | 'pie' | 'polarArea' | 'polarLine' | 'polarScatter' | 'radarArea' | 'radarColumn' | 'radarLine' | 'rangeArea' | 'rangeBar' | 'rangeColumn' | 'scatter' | 'scatterLine' | 'verticalArea' | 'verticalBoxPlot' | 'verticalBullet' | 'verticalLine' | 'verticalRangeArea' | 'waterfall';
29
+ export declare type SeriesType = 'area' | 'bar' | 'boxPlot' | 'bubble' | 'bullet' | 'candlestick' | 'column' | 'donut' | 'funnel' | 'heatmap' | 'horizontalWaterfall' | 'line' | 'linearTrendline' | 'movingAverageTrendline' | 'ohlc' | 'pie' | 'polarArea' | 'polarLine' | 'polarScatter' | 'radarArea' | 'radarColumn' | 'radarLine' | 'rangeArea' | 'rangeBar' | 'rangeColumn' | 'scatter' | 'scatterLine' | 'verticalArea' | 'verticalBoxPlot' | 'verticalBullet' | 'verticalLine' | 'verticalRangeArea' | 'waterfall';
@@ -0,0 +1,13 @@
1
+ /**
2
+ * The series trendline forecast settings.
3
+ */
4
+ export interface TrendlineForecast {
5
+ /**
6
+ * The number of intervals to extend the trendline before the first data point.
7
+ */
8
+ before?: number;
9
+ /**
10
+ * The number of intervals to extend the trendline after the last data point.
11
+ */
12
+ after?: number;
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ import { TrendlineForecast } from '../../common/property-types';
2
+ /**
3
+ * The configuration options of the series trendlines.
4
+ */
5
+ export interface SeriesTrendline {
6
+ /**
7
+ * The trendline forecast settings. By default, the trendline does not display a forecast.
8
+ *
9
+ * The forecast setting is supported for Linear Trendlines on date and scatter series.
10
+ */
11
+ forecast?: TrendlineForecast;
12
+ /**
13
+ * The number of intervals to take when calculating averages. The value should be an integer greater than 2.
14
+ *
15
+ * The period setting is supported only for Moving Average trendlines.
16
+ */
17
+ period?: number;
18
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,5 @@
1
1
  import { drawing } from '@progress/kendo-drawing';
2
- import { Border, BulletTarget, DashType, LabelConnectors } from '../common/property-types';
2
+ import { Border, BulletTarget, DashType, LabelConnectors, SeriesTrendline } from '../common/property-types';
3
3
  import { Margin, NegativeBubbleValues, Overlay, SeriesLine, SeriesType } from '../common/property-types';
4
4
  import { LineStyle, SeriesStack, SeriesVisualArgs } from '../common/property-types';
5
5
  import { SeriesErrorBars } from './series-item/error-bars.interface';
@@ -133,6 +133,12 @@ export interface Series {
133
133
  * The data item field which contains the series value.
134
134
  */
135
135
  field?: string;
136
+ /**
137
+ * The name of the parent series of the trendline.
138
+ *
139
+ * The `for` option is supported when [`series.type`]({% slug api_charts_chartseriesitemprops %}#toc-type) is set to `"linearTrendline"` or `"movingAverageTrendline"`.
140
+ */
141
+ for?: string;
136
142
  /**
137
143
  * The data item field which contains the series from value.
138
144
  */
@@ -440,4 +446,8 @@ export interface Series {
440
446
  * The configuration options of the Chart series tooltip.
441
447
  */
442
448
  tooltip?: SeriesTooltip;
449
+ /**
450
+ * The configuration options of the series trendlines.
451
+ */
452
+ trendlines?: SeriesTrendline[];
443
453
  }
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-react-charts',
9
9
  productName: 'KendoReact',
10
10
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
11
- publishDate: 1694692815,
11
+ publishDate: 1695048021,
12
12
  version: '',
13
13
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
14
14
  };