@progress/kendo-angular-charts 7.0.0 → 7.1.0-dev.202204261149
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/api-types/series-point.interface.d.ts +8 -0
- package/argument-types/axis-label-content-args.interface.d.ts +39 -0
- package/argument-types/axis-note-content-args.interface.d.ts +21 -0
- package/argument-types/axis-note-visual-args.interface.d.ts +1 -1
- package/argument-types/series-labels-content-args.interface.d.ts +50 -0
- package/argument-types/series-note-content-args.interface.d.ts +29 -0
- package/bundles/kendo-angular-charts.umd.js +1 -1
- package/chart/axis-defaults/labels.component.d.ts +2 -2
- package/chart/category-axis-item/labels.component.d.ts +2 -2
- package/chart/category-axis-item/notes.label.component.d.ts +2 -2
- package/chart/series-defaults/labels.component.d.ts +2 -2
- package/chart/series-defaults/labels.from.component.d.ts +2 -2
- package/chart/series-defaults/labels.to.component.d.ts +2 -2
- package/chart/series-defaults/notes.label.component.d.ts +2 -2
- package/chart/series-item/labels.component.d.ts +2 -2
- package/chart/series-item/labels.from.component.d.ts +2 -2
- package/chart/series-item/labels.to.component.d.ts +2 -2
- package/chart/series-item/notes.label.component.d.ts +2 -2
- package/chart/value-axis-item/labels.component.d.ts +2 -2
- package/chart/value-axis-item/notes.label.component.d.ts +2 -2
- package/chart/x-axis-item/labels.component.d.ts +2 -2
- package/chart/x-axis-item/notes.label.component.d.ts +2 -2
- package/chart/y-axis-item/labels.component.d.ts +2 -2
- package/chart/y-axis-item/notes.label.component.d.ts +2 -2
- package/common/events.d.ts +1 -0
- package/common/property-types.d.ts +4 -0
- package/esm2015/argument-types/axis-label-content-args.interface.js +5 -0
- package/esm2015/argument-types/axis-note-content-args.interface.js +5 -0
- package/esm2015/argument-types/series-labels-content-args.interface.js +5 -0
- package/esm2015/argument-types/series-note-content-args.interface.js +5 -0
- package/esm2015/common/events.js +1 -0
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/stock-chart/option-types/navigator/hint-content-args.interface.js +5 -0
- package/fesm2015/kendo-angular-charts.js +2 -2
- package/field-types/auto-base-unit-steps.interface.d.ts +1 -0
- package/field-types/border.interface.d.ts +4 -0
- package/option-types/axis-defaults/labels.interface.d.ts +2 -10
- package/option-types/category-axis-item/labels.interface.d.ts +2 -12
- package/option-types/category-axis-item/notes.label.interface.d.ts +2 -3
- package/option-types/series-defaults/labels.from.interface.d.ts +3 -16
- package/option-types/series-defaults/labels.interface.d.ts +2 -15
- package/option-types/series-defaults/labels.to.interface.d.ts +3 -16
- package/option-types/series-defaults/notes.label.interface.d.ts +2 -3
- package/option-types/series-item/labels.from.interface.d.ts +3 -17
- package/option-types/series-item/labels.interface.d.ts +3 -16
- package/option-types/series-item/labels.to.interface.d.ts +2 -15
- package/option-types/series-item/notes.label.interface.d.ts +2 -3
- package/option-types/value-axis-item/labels.interface.d.ts +2 -2
- package/option-types/value-axis-item/notes.label.interface.d.ts +2 -3
- package/option-types/x-axis-item/labels.interface.d.ts +2 -9
- package/option-types/x-axis-item/notes.label.interface.d.ts +2 -2
- package/option-types/y-axis-item/labels.interface.d.ts +2 -9
- package/option-types/y-axis-item/notes.label.interface.d.ts +2 -3
- package/package.json +1 -1
- package/stock-chart/navigator/hint.component.d.ts +2 -2
- package/stock-chart/option-types/navigator/hint-content-args.interface.d.ts +17 -0
- package/stock-chart/option-types/navigator/hint.interface.d.ts +2 -1
- package/stock-chart/option-types.d.ts +1 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { drawing } from '@progress/kendo-drawing';
|
|
6
6
|
import { ConfigurationService } from '../../common/configuration.service';
|
|
7
|
-
import { AxisLabelVisualArgs, LabelRotation, Margin, Padding } from '../../common/property-types';
|
|
7
|
+
import { AxisLabelContentArgs, AxisLabelVisualArgs, LabelRotation, Margin, Padding } from '../../common/property-types';
|
|
8
8
|
import { AxisDefaultsLabels } from '../../common/property-types';
|
|
9
9
|
import { SettingsComponent } from '../../common/settings.component';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
@@ -13,7 +13,7 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
*/
|
|
14
14
|
export declare class AxisDefaultsLabelsComponent extends SettingsComponent implements AxisDefaultsLabels {
|
|
15
15
|
configurationService: ConfigurationService;
|
|
16
|
-
content: (e:
|
|
16
|
+
content: (e: AxisLabelContentArgs) => string;
|
|
17
17
|
font: string;
|
|
18
18
|
format: string;
|
|
19
19
|
margin: Margin | number;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { drawing } from '@progress/kendo-drawing';
|
|
6
6
|
import { ConfigurationService } from '../../common/configuration.service';
|
|
7
7
|
import { SettingsComponent } from '../../common/settings.component';
|
|
8
|
-
import { AxisLabelVisualArgs, Border, DateFormats, LabelRotation } from '../../common/property-types';
|
|
8
|
+
import { AxisLabelContentArgs, AxisLabelVisualArgs, Border, DateFormats, LabelRotation } from '../../common/property-types';
|
|
9
9
|
import { AxisLabelsPosition } from '../../common/property-types';
|
|
10
10
|
import { Margin, Padding } from '../../common/property-types';
|
|
11
11
|
import { CategoryAxisLabels } from '../../common/property-types';
|
|
@@ -18,7 +18,7 @@ export declare class CategoryAxisLabelsComponent extends SettingsComponent imple
|
|
|
18
18
|
background: string;
|
|
19
19
|
border: Border;
|
|
20
20
|
color: string;
|
|
21
|
-
content: (e:
|
|
21
|
+
content: (e: AxisLabelContentArgs) => string;
|
|
22
22
|
culture: string;
|
|
23
23
|
dateFormats: DateFormats;
|
|
24
24
|
font: string;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ConfigurationService } from '../../common/configuration.service';
|
|
6
|
-
import { Border, NoteLabelPosition } from '../../common/property-types';
|
|
6
|
+
import { AxisNoteContentArgs, Border, NoteLabelPosition } from '../../common/property-types';
|
|
7
7
|
import { CategoryAxisNotesLabel } from '../../common/property-types';
|
|
8
8
|
import { SettingsComponent } from '../../common/settings.component';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
@@ -15,7 +15,7 @@ export declare class CategoryAxisNotesLabelComponent extends SettingsComponent i
|
|
|
15
15
|
background: string;
|
|
16
16
|
border: Border;
|
|
17
17
|
color: string;
|
|
18
|
-
content: (e:
|
|
18
|
+
content: (e: AxisNoteContentArgs) => string;
|
|
19
19
|
font: string;
|
|
20
20
|
format: string;
|
|
21
21
|
position: NoteLabelPosition;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { drawing } from '@progress/kendo-drawing';
|
|
6
6
|
import { ConfigurationService } from '../../common/configuration.service';
|
|
7
|
-
import { Border, Margin, Padding, SeriesLabelsVisualArgs } from '../../common/property-types';
|
|
7
|
+
import { Border, Margin, Padding, SeriesLabelsContentArgs, SeriesLabelsVisualArgs } from '../../common/property-types';
|
|
8
8
|
import { SeriesDefaultsLabels, SeriesDefaultsLabelsFrom, SeriesDefaultsLabelsTo } from '../../common/property-types';
|
|
9
9
|
import { SettingsComponent } from '../../common/settings.component';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
@@ -16,7 +16,7 @@ export declare class SeriesDefaultsLabelsComponent extends SettingsComponent imp
|
|
|
16
16
|
background: string;
|
|
17
17
|
border: Border;
|
|
18
18
|
color: string;
|
|
19
|
-
content: (e:
|
|
19
|
+
content: (e: SeriesLabelsContentArgs) => string;
|
|
20
20
|
font: string;
|
|
21
21
|
format: string;
|
|
22
22
|
margin: Margin | number;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ConfigurationService } from '../../common/configuration.service';
|
|
6
|
-
import { Border, Margin, Padding } from '../../common/property-types';
|
|
6
|
+
import { Border, Margin, Padding, SeriesLabelsContentArgs } from '../../common/property-types';
|
|
7
7
|
import { SeriesDefaultsLabelsFrom } from '../../common/property-types';
|
|
8
8
|
import { SettingsComponent } from '../../common/settings.component';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
@@ -15,7 +15,7 @@ export declare class SeriesDefaultsLabelsFromComponent extends SettingsComponent
|
|
|
15
15
|
background: string;
|
|
16
16
|
border: Border;
|
|
17
17
|
color: string;
|
|
18
|
-
content: (e:
|
|
18
|
+
content: (e: SeriesLabelsContentArgs) => string;
|
|
19
19
|
font: string;
|
|
20
20
|
format: string;
|
|
21
21
|
margin: Margin | number;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ConfigurationService } from '../../common/configuration.service';
|
|
6
|
-
import { Border, Margin, Padding } from '../../common/property-types';
|
|
6
|
+
import { Border, Margin, Padding, SeriesLabelsContentArgs } from '../../common/property-types';
|
|
7
7
|
import { SeriesDefaultsLabelsTo } from '../../common/property-types';
|
|
8
8
|
import { SettingsComponent } from '../../common/settings.component';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
@@ -15,7 +15,7 @@ export declare class SeriesDefaultsLabelsToComponent extends SettingsComponent i
|
|
|
15
15
|
background: string;
|
|
16
16
|
border: Border;
|
|
17
17
|
color: string;
|
|
18
|
-
content: (e:
|
|
18
|
+
content: (e: SeriesLabelsContentArgs) => string;
|
|
19
19
|
font: string;
|
|
20
20
|
format: string;
|
|
21
21
|
margin: Margin | number;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ConfigurationService } from '../../common/configuration.service';
|
|
6
6
|
import { SettingsComponent } from '../../common/settings.component';
|
|
7
|
-
import { Border, NoteLabelPosition } from '../../common/property-types';
|
|
7
|
+
import { Border, NoteLabelPosition, SeriesNoteContentArgs } from '../../common/property-types';
|
|
8
8
|
import { SeriesDefaultsNotesLabel } from '../../common/property-types';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
@@ -15,7 +15,7 @@ export declare class SeriesDefaultsNotesLabelComponent extends SettingsComponent
|
|
|
15
15
|
background: string;
|
|
16
16
|
border: Border;
|
|
17
17
|
color: string;
|
|
18
|
-
content: (e:
|
|
18
|
+
content: (e: SeriesNoteContentArgs) => string;
|
|
19
19
|
font: string;
|
|
20
20
|
format: string;
|
|
21
21
|
position: NoteLabelPosition;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { drawing } from '@progress/kendo-drawing';
|
|
6
6
|
import { ConfigurationService } from '../../common/configuration.service';
|
|
7
|
-
import { Border, Margin, Padding, SeriesLabelsVisualArgs } from '../../common/property-types';
|
|
7
|
+
import { Border, Margin, Padding, SeriesLabelsContentArgs, SeriesLabelsVisualArgs } from '../../common/property-types';
|
|
8
8
|
import { SeriesLabels, SeriesLabelsFrom, SeriesLabelsTo } from '../../common/property-types';
|
|
9
9
|
import { SeriesLabelsPosition } from '../../common/property-types';
|
|
10
10
|
import { SettingsComponent } from '../../common/settings.component';
|
|
@@ -19,7 +19,7 @@ export declare class SeriesLabelsComponent extends SettingsComponent implements
|
|
|
19
19
|
background: string;
|
|
20
20
|
border: Border;
|
|
21
21
|
color: string;
|
|
22
|
-
content: (e:
|
|
22
|
+
content: (e: SeriesLabelsContentArgs) => string;
|
|
23
23
|
distance: number;
|
|
24
24
|
font: string;
|
|
25
25
|
format: string;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ConfigurationService } from '../../common/configuration.service';
|
|
6
|
-
import { Border, Margin, Padding } from '../../common/property-types';
|
|
6
|
+
import { Border, Margin, Padding, SeriesLabelsContentArgs } from '../../common/property-types';
|
|
7
7
|
import { SeriesLabelsFrom } from '../../common/property-types';
|
|
8
8
|
import { SettingsComponent } from '../../common/settings.component';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
@@ -15,7 +15,7 @@ export declare class SeriesLabelsFromComponent extends SettingsComponent impleme
|
|
|
15
15
|
background: string;
|
|
16
16
|
border: Border;
|
|
17
17
|
color: string;
|
|
18
|
-
content: (e:
|
|
18
|
+
content: (e: SeriesLabelsContentArgs) => string;
|
|
19
19
|
font: string;
|
|
20
20
|
format: string;
|
|
21
21
|
margin: Margin | number;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ConfigurationService } from '../../common/configuration.service';
|
|
6
6
|
import { SettingsComponent } from '../../common/settings.component';
|
|
7
|
-
import { Border, Margin, Padding } from '../../common/property-types';
|
|
7
|
+
import { Border, Margin, Padding, SeriesLabelsContentArgs } from '../../common/property-types';
|
|
8
8
|
import { SeriesLabelsTo } from '../../common/property-types';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
@@ -15,7 +15,7 @@ export declare class SeriesLabelsToComponent extends SettingsComponent implement
|
|
|
15
15
|
background: string;
|
|
16
16
|
border: Border;
|
|
17
17
|
color: string;
|
|
18
|
-
content: (e:
|
|
18
|
+
content: (e: SeriesLabelsContentArgs) => string;
|
|
19
19
|
font: string;
|
|
20
20
|
format: string;
|
|
21
21
|
margin: Margin | number;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ConfigurationService } from '../../common/configuration.service';
|
|
6
6
|
import { SettingsComponent } from '../../common/settings.component';
|
|
7
|
-
import { Border, NoteLabelPosition } from '../../common/property-types';
|
|
7
|
+
import { Border, NoteLabelPosition, SeriesNoteContentArgs } from '../../common/property-types';
|
|
8
8
|
import { SeriesNotesLabel } from '../../common/property-types';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
@@ -15,7 +15,7 @@ export declare class SeriesNotesLabelComponent extends SettingsComponent impleme
|
|
|
15
15
|
background: string;
|
|
16
16
|
border: Border;
|
|
17
17
|
color: string;
|
|
18
|
-
content: (e:
|
|
18
|
+
content: (e: SeriesNoteContentArgs) => string;
|
|
19
19
|
font: string;
|
|
20
20
|
format: string;
|
|
21
21
|
position: NoteLabelPosition;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { drawing } from '@progress/kendo-drawing';
|
|
6
6
|
import { ConfigurationService } from '../../common/configuration.service';
|
|
7
|
-
import { AxisLabelVisualArgs, Border, LabelRotation, Margin } from '../../common/property-types';
|
|
7
|
+
import { AxisLabelContentArgs, AxisLabelVisualArgs, Border, LabelRotation, Margin } from '../../common/property-types';
|
|
8
8
|
import { AxisLabelsPosition } from '../../common/property-types';
|
|
9
9
|
import { Padding } from '../../common/property-types';
|
|
10
10
|
import { ValueAxisLabels } from '../../common/property-types';
|
|
@@ -18,7 +18,7 @@ export declare class ValueAxisLabelsComponent extends SettingsComponent implemen
|
|
|
18
18
|
background: string;
|
|
19
19
|
border: Border;
|
|
20
20
|
color: string;
|
|
21
|
-
content: (e:
|
|
21
|
+
content: (e: AxisLabelContentArgs) => string;
|
|
22
22
|
font: string;
|
|
23
23
|
format: string;
|
|
24
24
|
margin: Margin | number;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ConfigurationService } from '../../common/configuration.service';
|
|
6
|
-
import { Border, NoteLabelPosition } from '../../common/property-types';
|
|
6
|
+
import { AxisNoteContentArgs, Border, NoteLabelPosition } from '../../common/property-types';
|
|
7
7
|
import { ValueAxisNotesLabel } from '../../common/property-types';
|
|
8
8
|
import { SettingsComponent } from '../../common/settings.component';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
@@ -15,7 +15,7 @@ export declare class ValueAxisNotesLabelComponent extends SettingsComponent impl
|
|
|
15
15
|
background: string;
|
|
16
16
|
border: Border;
|
|
17
17
|
color: string;
|
|
18
|
-
content: (e:
|
|
18
|
+
content: (e: AxisNoteContentArgs) => string;
|
|
19
19
|
font: string;
|
|
20
20
|
format: string;
|
|
21
21
|
position: NoteLabelPosition;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { drawing } from '@progress/kendo-drawing';
|
|
6
6
|
import { ConfigurationService } from '../../common/configuration.service';
|
|
7
|
-
import { AxisLabelsPosition, AxisLabelVisualArgs, Border, DateFormats, LabelRotation } from '../../common/property-types';
|
|
7
|
+
import { AxisLabelContentArgs, AxisLabelsPosition, AxisLabelVisualArgs, Border, DateFormats, LabelRotation } from '../../common/property-types';
|
|
8
8
|
import { Margin, Padding } from '../../common/property-types';
|
|
9
9
|
import { XAxisLabels } from '../../common/property-types';
|
|
10
10
|
import { SettingsComponent } from '../../common/settings.component';
|
|
@@ -17,7 +17,7 @@ export declare class XAxisLabelsComponent extends SettingsComponent implements X
|
|
|
17
17
|
background: string;
|
|
18
18
|
border: Border;
|
|
19
19
|
color: string;
|
|
20
|
-
content: (e:
|
|
20
|
+
content: (e: AxisLabelContentArgs) => string;
|
|
21
21
|
culture: string;
|
|
22
22
|
dateFormats: DateFormats;
|
|
23
23
|
font: string;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ConfigurationService } from '../../common/configuration.service';
|
|
6
|
-
import { Border, NoteLabelPosition } from '../../common/property-types';
|
|
6
|
+
import { AxisNoteContentArgs, Border, NoteLabelPosition } from '../../common/property-types';
|
|
7
7
|
import { XAxisNotesLabel } from '../../common/property-types';
|
|
8
8
|
import { SettingsComponent } from '../../common/settings.component';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
@@ -15,7 +15,7 @@ export declare class XAxisNotesLabelComponent extends SettingsComponent implemen
|
|
|
15
15
|
background: string;
|
|
16
16
|
border: Border;
|
|
17
17
|
color: string;
|
|
18
|
-
content: (e:
|
|
18
|
+
content: (e: AxisNoteContentArgs) => string;
|
|
19
19
|
font: string;
|
|
20
20
|
format: string;
|
|
21
21
|
position: NoteLabelPosition;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { drawing } from '@progress/kendo-drawing';
|
|
6
6
|
import { ConfigurationService } from '../../common/configuration.service';
|
|
7
|
-
import { AxisLabelVisualArgs, Border, DateFormats, LabelRotation } from '../../common/property-types';
|
|
7
|
+
import { AxisLabelContentArgs, AxisLabelVisualArgs, Border, DateFormats, LabelRotation } from '../../common/property-types';
|
|
8
8
|
import { AxisLabelsPosition } from '../../common/property-types';
|
|
9
9
|
import { Margin, Padding } from '../../common/property-types';
|
|
10
10
|
import { YAxisLabels } from '../../common/property-types';
|
|
@@ -18,7 +18,7 @@ export declare class YAxisLabelsComponent extends SettingsComponent implements Y
|
|
|
18
18
|
background: string;
|
|
19
19
|
border: Border;
|
|
20
20
|
color: string;
|
|
21
|
-
content: (e:
|
|
21
|
+
content: (e: AxisLabelContentArgs) => string;
|
|
22
22
|
culture: string;
|
|
23
23
|
dateFormats: DateFormats;
|
|
24
24
|
font: string;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ConfigurationService } from '../../common/configuration.service';
|
|
6
|
-
import { Border, NoteLabelPosition } from '../../common/property-types';
|
|
6
|
+
import { AxisNoteContentArgs, Border, NoteLabelPosition } from '../../common/property-types';
|
|
7
7
|
import { YAxisNotesLabel } from '../../common/property-types';
|
|
8
8
|
import { SettingsComponent } from '../../common/settings.component';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
@@ -15,7 +15,7 @@ export declare class YAxisNotesLabelComponent extends SettingsComponent implemen
|
|
|
15
15
|
background: string;
|
|
16
16
|
border: Border;
|
|
17
17
|
color: string;
|
|
18
|
-
content: (e:
|
|
18
|
+
content: (e: AxisNoteContentArgs) => string;
|
|
19
19
|
font: string;
|
|
20
20
|
format: string;
|
|
21
21
|
position: NoteLabelPosition;
|
package/common/events.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export { DragEvent } from '../events/drag-event';
|
|
|
8
8
|
export { DragStartEvent } from '../events/drag-start-event';
|
|
9
9
|
export { LegendItemClickEvent } from '../events/legend-item-click-event';
|
|
10
10
|
export { LegendItemHoverEvent } from '../events/legend-item-hover-event';
|
|
11
|
+
export { LegendItemLeaveEvent } from '../events/legend-item-leave-event';
|
|
11
12
|
export { NoteClickEvent } from '../events/note-click-event';
|
|
12
13
|
export { NoteHoverEvent } from '../events/note-hover-event';
|
|
13
14
|
export { PaneRenderEvent } from '../events/pane-render-event';
|
|
@@ -44,8 +44,10 @@ export { SeriesWhiskers } from '../field-types/series-whiskers.interface';
|
|
|
44
44
|
export { SeriesStack } from '../field-types/series-stack.interface';
|
|
45
45
|
export { SeriesType } from '../field-types/series-type';
|
|
46
46
|
export { WeekStartDay } from '../field-types/week-start-day.enum';
|
|
47
|
+
export { AxisLabelContentArgs } from '../argument-types/axis-label-content-args.interface';
|
|
47
48
|
export { AxisLabelVisualArgs } from '../argument-types/axis-label-visual-args.interface';
|
|
48
49
|
export { AxisNoteVisualArgs } from '../argument-types/axis-note-visual-args.interface';
|
|
50
|
+
export { AxisNoteContentArgs } from '../argument-types/axis-note-content-args.interface';
|
|
49
51
|
export { ErrorBarsVisualArgs } from '../argument-types/error-bars-visual-args.interface';
|
|
50
52
|
export { HighlightToggleArgs } from '../argument-types/highlight-toggle-args.interface';
|
|
51
53
|
export { HighlightVisualArgs } from '../argument-types/highlight-visual-args.interface';
|
|
@@ -53,7 +55,9 @@ export { LegendItemVisualArgs } from '../argument-types/legend-item-visual-args.
|
|
|
53
55
|
export { LegendLabelsContentArgs } from '../argument-types/legend-labels-content-args.interface';
|
|
54
56
|
export { MarkersVisualArgs } from '../argument-types/markers-visual-args.interface';
|
|
55
57
|
export { SeriesLabelsVisualArgs } from '../argument-types/series-labels-visual-args.interface';
|
|
58
|
+
export { SeriesLabelsContentArgs } from '../argument-types/series-labels-content-args.interface';
|
|
56
59
|
export { SeriesNoteVisualArgs } from '../argument-types/series-note-visual-args.interface';
|
|
60
|
+
export { SeriesNoteContentArgs } from '../argument-types/series-note-content-args.interface';
|
|
57
61
|
export { SeriesVisualArgs } from '../argument-types/series-visual-args.interface';
|
|
58
62
|
export { TitleVisualArgs } from '../argument-types/title-visual-args.interface';
|
|
59
63
|
export { PlotBandLabelVisualArgs } from '../argument-types/plot-band-label-visual-args.interface';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
package/esm2015/common/events.js
CHANGED
|
@@ -9,6 +9,7 @@ export { DragEvent } from '../events/drag-event';
|
|
|
9
9
|
export { DragStartEvent } from '../events/drag-start-event';
|
|
10
10
|
export { LegendItemClickEvent } from '../events/legend-item-click-event';
|
|
11
11
|
export { LegendItemHoverEvent } from '../events/legend-item-hover-event';
|
|
12
|
+
export { LegendItemLeaveEvent } from '../events/legend-item-leave-event';
|
|
12
13
|
export { NoteClickEvent } from '../events/note-click-event';
|
|
13
14
|
export { NoteHoverEvent } from '../events/note-hover-event';
|
|
14
15
|
export { PaneRenderEvent } from '../events/pane-render-event';
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-charts',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1650973738,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -1838,7 +1838,7 @@ const packageMetadata = {
|
|
|
1838
1838
|
name: '@progress/kendo-angular-charts',
|
|
1839
1839
|
productName: 'Kendo UI for Angular',
|
|
1840
1840
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
1841
|
-
publishDate:
|
|
1841
|
+
publishDate: 1650973738,
|
|
1842
1842
|
version: '',
|
|
1843
1843
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
1844
1844
|
};
|
|
@@ -7924,5 +7924,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7924
7924
|
* Generated bundle index. Do not edit.
|
|
7925
7925
|
*/
|
|
7926
7926
|
|
|
7927
|
-
export { AxisDefaultsComponent, AxisDefaultsCrosshairComponent, AxisDefaultsCrosshairTooltipComponent, AxisDefaultsLabelsComponent, AxisDefaultsTitleComponent, AxisLabelClickEvent, CHART_DIRECTIVES, CategoryAxisComponent, CategoryAxisCrosshairComponent, CategoryAxisCrosshairTooltipComponent, CategoryAxisItemComponent, CategoryAxisLabelsComponent, CategoryAxisNotesComponent, CategoryAxisNotesIconComponent, CategoryAxisNotesLabelComponent, CategoryAxisRangeLabelsComponent, CategoryAxisSelectComponent, CategoryAxisTitleComponent, ChartAreaComponent, ChartComponent, ChartModule, ChartsModule, CrosshairTooltipComponent, CrosshairTooltipsContainerComponent, DonutCenterTemplateDirective, DragEndEvent, DragEvent, DragStartEvent, LegendComponent, LegendInactiveItemsComponent, LegendItemClickEvent, LegendItemComponent, LegendItemHoverEvent, NavigatorCategoryAxisComponent, NavigatorCategoryAxisCrosshairComponent, NavigatorCategoryAxisCrosshairTooltipComponent, NavigatorCategoryAxisLabelsComponent, NavigatorCategoryAxisNotesComponent, NavigatorCategoryAxisNotesIconComponent, NavigatorCategoryAxisNotesLabelComponent, NavigatorCategoryAxisSelectComponent, NavigatorCategoryAxisTitleComponent, NavigatorComponent, NavigatorFilterEvent, NavigatorHintComponent, NavigatorPaneComponent, NavigatorPaneTitleComponent, NavigatorSelectComponent, NavigatorSeriesComponent, NavigatorSeriesErrorBarsComponent, NavigatorSeriesExtremesComponent, NavigatorSeriesHighlightComponent, NavigatorSeriesItemComponent, NavigatorSeriesLabelsComponent, NavigatorSeriesLabelsFromComponent, NavigatorSeriesLabelsToComponent, NavigatorSeriesMarkersComponent, NavigatorSeriesNotesComponent, NavigatorSeriesNotesIconComponent, NavigatorSeriesNotesLabelComponent, NavigatorSeriesOutliersComponent, NavigatorSeriesTooltipComponent, NoteClickEvent, NoteHoverEvent, PaneComponent, PaneDefaultsComponent, PaneDefaultsTitleComponent, PaneRenderEvent, PanesComponent, PanesTitleComponent, PlotAreaClickEvent, PlotAreaComponent, PlotAreaHoverEvent, RenderEvent, SPARKLINE_DIRECTIVES, STOCK_CHART_DIRECTIVES, SelectEndEvent, SelectEvent, SelectStartEvent, SeriesClickEvent, SeriesComponent, SeriesDefaultsComponent, SeriesDefaultsLabelsComponent, SeriesDefaultsLabelsFromComponent, SeriesDefaultsLabelsToComponent, SeriesDefaultsNotesComponent, SeriesDefaultsNotesIconComponent, SeriesDefaultsNotesLabelComponent, SeriesDefaultsTooltipComponent, SeriesErrorBarsComponent, SeriesExtremesComponent, SeriesHighlightComponent, SeriesHoverEvent, SeriesItemComponent, SeriesLabelsComponent, SeriesLabelsFromComponent, SeriesLabelsToComponent, SeriesMarkersComponent, SeriesNotesComponent, SeriesNotesIconComponent, SeriesNotesLabelComponent, SeriesOutliersComponent, SeriesTooltipComponent, SeriesTooltipTemplateDirective, SharedTooltipTemplateDirective, SparklineComponent, SparklineModule, StockChartComponent, StockChartModule, TitleComponent, TooltipComponent, TooltipPopupComponent, ValueAxisComponent, ValueAxisCrosshairComponent, ValueAxisCrosshairTooltipComponent, ValueAxisItemComponent, ValueAxisLabelsComponent, ValueAxisNotesComponent, ValueAxisNotesIconComponent, ValueAxisNotesLabelComponent, ValueAxisTitleComponent, WeekStartDay, XAxisComponent, XAxisCrosshairComponent, XAxisCrosshairTooltipComponent, XAxisItemComponent, XAxisLabelsComponent, XAxisNotesComponent, XAxisNotesIconComponent, XAxisNotesLabelComponent, XAxisTitleComponent, YAxisComponent, YAxisCrosshairComponent, YAxisCrosshairTooltipComponent, YAxisItemComponent, YAxisLabelsComponent, YAxisNotesComponent, YAxisNotesIconComponent, YAxisNotesLabelComponent, YAxisTitleComponent, ZoomEndEvent, ZoomEvent, ZoomStartEvent, ZoomableComponent };
|
|
7927
|
+
export { AxisDefaultsComponent, AxisDefaultsCrosshairComponent, AxisDefaultsCrosshairTooltipComponent, AxisDefaultsLabelsComponent, AxisDefaultsTitleComponent, AxisLabelClickEvent, CHART_DIRECTIVES, CategoryAxisComponent, CategoryAxisCrosshairComponent, CategoryAxisCrosshairTooltipComponent, CategoryAxisItemComponent, CategoryAxisLabelsComponent, CategoryAxisNotesComponent, CategoryAxisNotesIconComponent, CategoryAxisNotesLabelComponent, CategoryAxisRangeLabelsComponent, CategoryAxisSelectComponent, CategoryAxisTitleComponent, ChartAreaComponent, ChartComponent, ChartModule, ChartsModule, CrosshairTooltipComponent, CrosshairTooltipsContainerComponent, DonutCenterTemplateDirective, DragEndEvent, DragEvent, DragStartEvent, LegendComponent, LegendInactiveItemsComponent, LegendItemClickEvent, LegendItemComponent, LegendItemHoverEvent, LegendItemLeaveEvent, NavigatorCategoryAxisComponent, NavigatorCategoryAxisCrosshairComponent, NavigatorCategoryAxisCrosshairTooltipComponent, NavigatorCategoryAxisLabelsComponent, NavigatorCategoryAxisNotesComponent, NavigatorCategoryAxisNotesIconComponent, NavigatorCategoryAxisNotesLabelComponent, NavigatorCategoryAxisSelectComponent, NavigatorCategoryAxisTitleComponent, NavigatorComponent, NavigatorFilterEvent, NavigatorHintComponent, NavigatorPaneComponent, NavigatorPaneTitleComponent, NavigatorSelectComponent, NavigatorSeriesComponent, NavigatorSeriesErrorBarsComponent, NavigatorSeriesExtremesComponent, NavigatorSeriesHighlightComponent, NavigatorSeriesItemComponent, NavigatorSeriesLabelsComponent, NavigatorSeriesLabelsFromComponent, NavigatorSeriesLabelsToComponent, NavigatorSeriesMarkersComponent, NavigatorSeriesNotesComponent, NavigatorSeriesNotesIconComponent, NavigatorSeriesNotesLabelComponent, NavigatorSeriesOutliersComponent, NavigatorSeriesTooltipComponent, NoteClickEvent, NoteHoverEvent, PaneComponent, PaneDefaultsComponent, PaneDefaultsTitleComponent, PaneRenderEvent, PanesComponent, PanesTitleComponent, PlotAreaClickEvent, PlotAreaComponent, PlotAreaHoverEvent, RenderEvent, SPARKLINE_DIRECTIVES, STOCK_CHART_DIRECTIVES, SelectEndEvent, SelectEvent, SelectStartEvent, SeriesClickEvent, SeriesComponent, SeriesDefaultsComponent, SeriesDefaultsLabelsComponent, SeriesDefaultsLabelsFromComponent, SeriesDefaultsLabelsToComponent, SeriesDefaultsNotesComponent, SeriesDefaultsNotesIconComponent, SeriesDefaultsNotesLabelComponent, SeriesDefaultsTooltipComponent, SeriesErrorBarsComponent, SeriesExtremesComponent, SeriesHighlightComponent, SeriesHoverEvent, SeriesItemComponent, SeriesLabelsComponent, SeriesLabelsFromComponent, SeriesLabelsToComponent, SeriesMarkersComponent, SeriesNotesComponent, SeriesNotesIconComponent, SeriesNotesLabelComponent, SeriesOutliersComponent, SeriesTooltipComponent, SeriesTooltipTemplateDirective, SharedTooltipTemplateDirective, SparklineComponent, SparklineModule, StockChartComponent, StockChartModule, TitleComponent, TooltipComponent, TooltipPopupComponent, ValueAxisComponent, ValueAxisCrosshairComponent, ValueAxisCrosshairTooltipComponent, ValueAxisItemComponent, ValueAxisLabelsComponent, ValueAxisNotesComponent, ValueAxisNotesIconComponent, ValueAxisNotesLabelComponent, ValueAxisTitleComponent, WeekStartDay, XAxisComponent, XAxisCrosshairComponent, XAxisCrosshairTooltipComponent, XAxisItemComponent, XAxisLabelsComponent, XAxisNotesComponent, XAxisNotesIconComponent, XAxisNotesLabelComponent, XAxisTitleComponent, YAxisComponent, YAxisCrosshairComponent, YAxisCrosshairTooltipComponent, YAxisItemComponent, YAxisLabelsComponent, YAxisNotesComponent, YAxisNotesIconComponent, YAxisNotesLabelComponent, YAxisTitleComponent, ZoomEndEvent, ZoomEvent, ZoomStartEvent, ZoomableComponent };
|
|
7928
7928
|
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* {% embed_file stock/zoom-steps/app.component.ts preview %}
|
|
13
13
|
* {% embed_file stock/zoom-steps/app.module.ts %}
|
|
14
14
|
* {% embed_file stock/zoom-steps/stock-data.service.ts %}
|
|
15
|
+
* {% embed_file shared/stock-data.ts %}
|
|
15
16
|
* {% embed_file shared/main.ts hidden %}
|
|
16
17
|
* {% endmeta %}
|
|
17
18
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { drawing } from '@progress/kendo-drawing';
|
|
6
|
-
import { AxisLabelVisualArgs, LabelRotation, Margin, Padding } from '../../common/property-types';
|
|
6
|
+
import { AxisLabelContentArgs, AxisLabelVisualArgs, LabelRotation, Margin, Padding } from '../../common/property-types';
|
|
7
7
|
/**
|
|
8
8
|
* The configuration options for the axis label
|
|
9
9
|
* ([see example]({% slug api_charts_axisdefaultscomponent %})).
|
|
@@ -12,16 +12,8 @@ export interface AxisDefaultsLabels {
|
|
|
12
12
|
/**
|
|
13
13
|
* The function which returns the label content.
|
|
14
14
|
* The text can be split into multiple lines by using the line feed characters (`"\n"`).
|
|
15
|
-
*
|
|
16
|
-
* The available fields in the function argument are:
|
|
17
|
-
*
|
|
18
|
-
* - `value`—The category value.
|
|
19
|
-
* - `dataItem`—The data item if a field is specified. If the category does not have a
|
|
20
|
-
* corresponding item in the data, an empty object is passed.
|
|
21
|
-
* - `format`—The default format of the label.
|
|
22
|
-
* - `culture`—The default culture (if set) of the label.
|
|
23
15
|
*/
|
|
24
|
-
content?: (e:
|
|
16
|
+
content?: (e: AxisLabelContentArgs) => string;
|
|
25
17
|
/**
|
|
26
18
|
* The font style of the labels.
|
|
27
19
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { drawing } from '@progress/kendo-drawing';
|
|
6
|
-
import { AxisLabelsPosition, AxisLabelVisualArgs, Border, DateFormats, LabelRotation } from '../../common/property-types';
|
|
6
|
+
import { AxisLabelContentArgs, AxisLabelsPosition, AxisLabelVisualArgs, Border, DateFormats, LabelRotation } from '../../common/property-types';
|
|
7
7
|
import { Margin, Padding } from '../../common/property-types';
|
|
8
8
|
/**
|
|
9
9
|
* The configuration options of the category axis labels.
|
|
@@ -24,18 +24,8 @@ export interface CategoryAxisLabels {
|
|
|
24
24
|
/**
|
|
25
25
|
* The function which returns the label content.
|
|
26
26
|
* You can split the text into multiple lines by using the line feed characters (`"\n"`).
|
|
27
|
-
*
|
|
28
|
-
* The available fields in the function argument are:
|
|
29
|
-
* - `value`—The category value.
|
|
30
|
-
* - `dataItem`—The data item if a field is specified. If the category does not have a
|
|
31
|
-
* corresponding item in the data, an empty object is passed.
|
|
32
|
-
* - `format`—The default format of the label.
|
|
33
|
-
* - `culture`—The default culture (if set) of the label.
|
|
34
|
-
* - `text`—The default label text.
|
|
35
|
-
* - `index`—The index of the label.
|
|
36
|
-
* - `count`—The total number of rendered labels.
|
|
37
27
|
*/
|
|
38
|
-
content?: (e:
|
|
28
|
+
content?: (e: AxisLabelContentArgs) => string;
|
|
39
29
|
/**
|
|
40
30
|
* The culture to use when formatting date values.
|
|
41
31
|
* The specified culture must be loaded as demonstrated in the [Internationalization Overview]({% slug overview_intl %}).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Border, NoteLabelPosition } from '../../common/property-types';
|
|
5
|
+
import { AxisNoteContentArgs, Border, NoteLabelPosition } from '../../common/property-types';
|
|
6
6
|
/**
|
|
7
7
|
* The configuration options of the category axis notes label.
|
|
8
8
|
*/
|
|
@@ -21,10 +21,9 @@ export interface CategoryAxisNotesLabel {
|
|
|
21
21
|
color?: string;
|
|
22
22
|
/**
|
|
23
23
|
* The function which returns the label content.
|
|
24
|
-
* The function argument contains a `value` field and defines the category value.
|
|
25
24
|
* You can split the text into multiple lines by using the line feed characters (`"\n"`).
|
|
26
25
|
*/
|
|
27
|
-
content?: (e:
|
|
26
|
+
content?: (e: AxisNoteContentArgs) => string;
|
|
28
27
|
/**
|
|
29
28
|
* The font style of the label.
|
|
30
29
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Border, Margin, Padding } from '../../common/property-types';
|
|
5
|
+
import { Border, Margin, Padding, SeriesLabelsContentArgs } from '../../common/property-types';
|
|
6
6
|
/**
|
|
7
7
|
* The configuration options of the Chart series `from` labels.
|
|
8
8
|
*/
|
|
@@ -22,21 +22,8 @@ export interface SeriesDefaultsLabelsFrom {
|
|
|
22
22
|
/**
|
|
23
23
|
* The function which returns the `from` label content of the Chart series.
|
|
24
24
|
* You can split the text into multiple lines by using line feed characters (`"\n"`).
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
*
|
|
28
|
-
* - `category`—The category name. Available for the Area, Bar, Column, Bubble, Donut, Funnel, Line, and Pie
|
|
29
|
-
* 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 for the Donut, Funnel, and
|
|
32
|
-
* Pie series.
|
|
33
|
-
* - `series`—The data series.
|
|
34
|
-
* - `value`—The point value. Can be a number or object which contain each bound field.
|
|
35
|
-
* - `runningTotal`—The sum of point values since the last `"runningTotal"` summary point. Available for
|
|
36
|
-
* the Waterfall series.
|
|
37
|
-
* - `total`—The sum of all previous series values. Available for the Waterfall series.
|
|
38
|
-
*/
|
|
39
|
-
content?: (e: any) => string;
|
|
25
|
+
*/
|
|
26
|
+
content?: (e: SeriesLabelsContentArgs) => string;
|
|
40
27
|
/**
|
|
41
28
|
* The font style of the from labels.
|
|
42
29
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { drawing } from '@progress/kendo-drawing';
|
|
6
|
-
import { Border, Margin, Padding, SeriesLabelsVisualArgs } from '../../common/property-types';
|
|
6
|
+
import { Border, Margin, Padding, SeriesLabelsContentArgs, SeriesLabelsVisualArgs } from '../../common/property-types';
|
|
7
7
|
import { SeriesDefaultsLabelsFrom } from './labels.from.interface';
|
|
8
8
|
import { SeriesDefaultsLabelsTo } from './labels.to.interface';
|
|
9
9
|
/**
|
|
@@ -25,21 +25,8 @@ export interface SeriesDefaultsLabels {
|
|
|
25
25
|
/**
|
|
26
26
|
* The function which returns the Chart series labels content.
|
|
27
27
|
* You can split the text into multiple lines by using line feed characters (`"\n"`).
|
|
28
|
-
*
|
|
29
|
-
* The available fields in the function argument are:
|
|
30
|
-
*
|
|
31
|
-
* - `category`—The category name. Available for the Area, Bar, Column, Bubble, Donut, Funnel, Line, and Pie
|
|
32
|
-
* series.
|
|
33
|
-
* - `dataItem`—The original data item used to construct the point. If binding to an array, it will be `null`.
|
|
34
|
-
* - `percentage`—The point value represented as a percentage value. Available for the Donut, Funnel, and
|
|
35
|
-
* Pie series.
|
|
36
|
-
* - `series`—The data series.
|
|
37
|
-
* - `value`—The point value. Can be a number or object containing each bound field.
|
|
38
|
-
* - `runningTotal`—The sum of point values since the last `"runningTotal"` summary point. Available for
|
|
39
|
-
* the Waterfall series.
|
|
40
|
-
* - `total`—The sum of all previous series values. Available for the Waterfall series.
|
|
41
28
|
*/
|
|
42
|
-
content?: (e:
|
|
29
|
+
content?: (e: SeriesLabelsContentArgs) => string;
|
|
43
30
|
/**
|
|
44
31
|
* The font style of the labels.
|
|
45
32
|
*/
|