@progress/kendo-angular-charts 7.1.1 → 7.2.0-dev.202209121446
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/bundles/kendo-angular-charts.umd.js +1 -1
- package/chart/subtitle.component.d.ts +89 -0
- package/chart-options.interface.d.ts +4 -0
- package/chart.component.d.ts +3 -2
- package/chart.directives.d.ts +2 -1
- package/chart.module.d.ts +35 -34
- package/common/property-types.d.ts +1 -0
- package/esm2015/chart/subtitle.component.js +108 -0
- package/esm2015/chart.component.js +3 -1
- package/esm2015/chart.directives.js +3 -1
- package/esm2015/chart.module.js +32 -31
- package/esm2015/common/theme.service.js +2 -0
- package/esm2015/option-types/subtitle.interface.js +5 -0
- package/esm2015/package-metadata.js +1 -1
- package/fesm2015/kendo-angular-charts.js +110 -4
- package/option-types/subtitle.interface.d.ts +66 -0
- package/package.json +2 -2
|
@@ -1837,7 +1837,7 @@ const packageMetadata = {
|
|
|
1837
1837
|
name: '@progress/kendo-angular-charts',
|
|
1838
1838
|
productName: 'Kendo UI for Angular',
|
|
1839
1839
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
1840
|
-
publishDate:
|
|
1840
|
+
publishDate: 1662993912,
|
|
1841
1841
|
version: '',
|
|
1842
1842
|
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'
|
|
1843
1843
|
};
|
|
@@ -2155,6 +2155,7 @@ class ThemeService extends ConfigurationService {
|
|
|
2155
2155
|
this.mapColor('seriesDefaults.verticalBullet.target.color', 'normal-text-color');
|
|
2156
2156
|
this.mapColor('seriesDefaults.waterfall.line.color', 'chart-major-lines');
|
|
2157
2157
|
this.mapColor('title.color', 'normal-text-color');
|
|
2158
|
+
this.mapColor('subtitle.color', 'normal-text-color');
|
|
2158
2159
|
const opacity = parseFloat(this.queryStyle('chart-area-opacity').opacity);
|
|
2159
2160
|
if (!isNaN(opacity)) {
|
|
2160
2161
|
this.setStyle('seriesDefaults.area.opacity', opacity);
|
|
@@ -2183,6 +2184,7 @@ class ThemeService extends ConfigurationService {
|
|
|
2183
2184
|
this.setStyle('seriesDefaults.labels.font', labelFont);
|
|
2184
2185
|
this.setStyle('seriesDefaults.notes.label.font', defaultFont);
|
|
2185
2186
|
this.setStyle('title.font', titleFont);
|
|
2187
|
+
this.setStyle('subtitle.font', paneTitleFont);
|
|
2186
2188
|
this.setStyle('paneDefaults.title.font', paneTitleFont);
|
|
2187
2189
|
}
|
|
2188
2190
|
setSeriesColors() {
|
|
@@ -2875,7 +2877,7 @@ class ChartComponent {
|
|
|
2875
2877
|
}
|
|
2876
2878
|
}
|
|
2877
2879
|
ChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ChartComponent, deps: [{ token: ConfigurationService }, { token: ThemeService }, { token: i0.ElementRef }, { token: i3.IntlService }, { token: i4.LocalizationService }, { token: i0.NgZone }, { token: InstanceEventService }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
2878
|
-
ChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ChartComponent, selector: "kendo-chart", inputs: { pannable: "pannable", renderAs: "renderAs", seriesColors: "seriesColors", title: "title", transitions: "transitions", zoomable: "zoomable", axisDefaults: "axisDefaults", categoryAxis: "categoryAxis", chartArea: "chartArea", legend: "legend", panes: "panes", paneDefaults: "paneDefaults", plotArea: "plotArea", series: "series", seriesDefaults: "seriesDefaults", tooltip: "tooltip", valueAxis: "valueAxis", xAxis: "xAxis", yAxis: "yAxis", resizeRateLimit: "resizeRateLimit", popupSettings: "popupSettings" }, outputs: { axisLabelClick: "axisLabelClick", drag: "drag", dragEnd: "dragEnd", dragStart: "dragStart", legendItemHover: "legendItemHover", legendItemLeave: "legendItemLeave", noteClick: "noteClick", noteHover: "noteHover", noteLeave: "noteLeave", paneRender: "paneRender", plotAreaClick: "plotAreaClick", plotAreaHover: "plotAreaHover", plotAreaLeave: "plotAreaLeave", render: "render", select: "select", selectEnd: "selectEnd", selectStart: "selectStart", seriesClick: "seriesClick", seriesHover: "seriesHover", seriesOver: "seriesOver", seriesLeave: "seriesLeave", zoom: "zoom", zoomEnd: "zoomEnd", zoomStart: "zoomStart", legendItemClick: "legendItemClick" }, providers: [
|
|
2880
|
+
ChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ChartComponent, selector: "kendo-chart", inputs: { pannable: "pannable", renderAs: "renderAs", seriesColors: "seriesColors", subtitle: "subtitle", title: "title", transitions: "transitions", zoomable: "zoomable", axisDefaults: "axisDefaults", categoryAxis: "categoryAxis", chartArea: "chartArea", legend: "legend", panes: "panes", paneDefaults: "paneDefaults", plotArea: "plotArea", series: "series", seriesDefaults: "seriesDefaults", tooltip: "tooltip", valueAxis: "valueAxis", xAxis: "xAxis", yAxis: "yAxis", resizeRateLimit: "resizeRateLimit", popupSettings: "popupSettings" }, outputs: { axisLabelClick: "axisLabelClick", drag: "drag", dragEnd: "dragEnd", dragStart: "dragStart", legendItemHover: "legendItemHover", legendItemLeave: "legendItemLeave", noteClick: "noteClick", noteHover: "noteHover", noteLeave: "noteLeave", paneRender: "paneRender", plotAreaClick: "plotAreaClick", plotAreaHover: "plotAreaHover", plotAreaLeave: "plotAreaLeave", render: "render", select: "select", selectEnd: "selectEnd", selectStart: "selectStart", seriesClick: "seriesClick", seriesHover: "seriesHover", seriesOver: "seriesOver", seriesLeave: "seriesLeave", zoom: "zoom", zoomEnd: "zoomEnd", zoomStart: "zoomStart", legendItemClick: "legendItemClick" }, providers: [
|
|
2879
2881
|
ConfigurationService,
|
|
2880
2882
|
TooltipTemplateService,
|
|
2881
2883
|
InstanceEventService,
|
|
@@ -2929,6 +2931,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2929
2931
|
type: Input
|
|
2930
2932
|
}], seriesColors: [{
|
|
2931
2933
|
type: Input
|
|
2934
|
+
}], subtitle: [{
|
|
2935
|
+
type: Input
|
|
2932
2936
|
}], title: [{
|
|
2933
2937
|
type: Input
|
|
2934
2938
|
}], transitions: [{
|
|
@@ -5122,6 +5126,107 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5122
5126
|
type: Input
|
|
5123
5127
|
}] } });
|
|
5124
5128
|
|
|
5129
|
+
/**
|
|
5130
|
+
* The configuration options of the Chart subtitle or text
|
|
5131
|
+
* ([see example]({% slug title_chart_charts %})).
|
|
5132
|
+
*
|
|
5133
|
+
* @example
|
|
5134
|
+
* ```ts-preview
|
|
5135
|
+
* import { Component } from '@angular/core';
|
|
5136
|
+
*
|
|
5137
|
+
* _@Component({
|
|
5138
|
+
* selector: 'my-app',
|
|
5139
|
+
* template: `
|
|
5140
|
+
* <kendo-chart [categoryAxis]="{ categories: categories }">
|
|
5141
|
+
* <kendo-chart-title text="Gross domestic product growth"></kendo-chart-title>
|
|
5142
|
+
* <kendo-chart-subtitle text="/GDP annual %/"></kendo-chart-subtitle>
|
|
5143
|
+
* <kendo-chart-legend
|
|
5144
|
+
* position="bottom"
|
|
5145
|
+
* orientation="horizontal"
|
|
5146
|
+
* align="end"
|
|
5147
|
+
* background="rgba(255, 0, 0, 0.1)"
|
|
5148
|
+
* [border]="borderOptions"
|
|
5149
|
+
* [margin]="10"
|
|
5150
|
+
* [padding]="10"
|
|
5151
|
+
* [width]="150"
|
|
5152
|
+
* [offsetX]="11"
|
|
5153
|
+
* [offsetY]="-103"
|
|
5154
|
+
* [reverse]="true"
|
|
5155
|
+
* [visible]="isVisible"
|
|
5156
|
+
* ></kendo-chart-legend>
|
|
5157
|
+
* <kendo-chart-tooltip format="{0}%"></kendo-chart-tooltip>
|
|
5158
|
+
* <kendo-chart-series>
|
|
5159
|
+
* <kendo-chart-series-item *ngFor="let item of series"
|
|
5160
|
+
* type="line" style="smooth" [data]="item.data" [name]="item.name">
|
|
5161
|
+
* </kendo-chart-series-item>
|
|
5162
|
+
* </kendo-chart-series>
|
|
5163
|
+
* </kendo-chart>
|
|
5164
|
+
* <br /><br />
|
|
5165
|
+
* <button kendoButton (click)="isVisible=!isVisible">Toggle Legend</button>
|
|
5166
|
+
* `
|
|
5167
|
+
* })
|
|
5168
|
+
* export class AppComponent {
|
|
5169
|
+
* public isVisible = true;
|
|
5170
|
+
* public borderOptions = {
|
|
5171
|
+
* color: "rgba(255, 0, 0, 0.8)",
|
|
5172
|
+
* dashType: 'dash',
|
|
5173
|
+
* width: 2
|
|
5174
|
+
* };
|
|
5175
|
+
*
|
|
5176
|
+
* public series: any[] = [{
|
|
5177
|
+
* name: "India",
|
|
5178
|
+
* data: [3.907, 7.943, 7.848, 9.284, 9.263, 9.801, 3.890, 8.238, 9.552, 6.855]
|
|
5179
|
+
* }, {
|
|
5180
|
+
* name: "Russian Federation",
|
|
5181
|
+
* data: [4.743, 7.295, 7.175, 6.376, 8.153, 8.535, 5.247, -7.832, 4.3, 4.3]
|
|
5182
|
+
* }, {
|
|
5183
|
+
* name: "Germany",
|
|
5184
|
+
* data: [0.010, -0.375, 1.161, 0.684, 3.7, 3.269, 1.083, -5.127, 3.690, 2.995]
|
|
5185
|
+
* },{
|
|
5186
|
+
* name: "World",
|
|
5187
|
+
* data: [1.988, 2.733, 3.994, 3.464, 4.001, 3.939, 1.333, -2.245, 4.339, 2.727]
|
|
5188
|
+
* }];
|
|
5189
|
+
* public categories: number[] = [2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011];
|
|
5190
|
+
* }
|
|
5191
|
+
* ```
|
|
5192
|
+
*/
|
|
5193
|
+
class SubtitleComponent extends SettingsComponent {
|
|
5194
|
+
constructor(configurationService) {
|
|
5195
|
+
super('subtitle', configurationService);
|
|
5196
|
+
this.configurationService = configurationService;
|
|
5197
|
+
}
|
|
5198
|
+
}
|
|
5199
|
+
SubtitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SubtitleComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5200
|
+
SubtitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SubtitleComponent, selector: "kendo-chart-subtitle", inputs: { align: "align", background: "background", border: "border", color: "color", font: "font", margin: "margin", padding: "padding", position: "position", text: "text", visible: "visible" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SubtitleComponent, decorators: [{
|
|
5202
|
+
type: Component,
|
|
5203
|
+
args: [{
|
|
5204
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5205
|
+
selector: 'kendo-chart-subtitle',
|
|
5206
|
+
template: ''
|
|
5207
|
+
}]
|
|
5208
|
+
}], ctorParameters: function () { return [{ type: ConfigurationService }]; }, propDecorators: { align: [{
|
|
5209
|
+
type: Input
|
|
5210
|
+
}], background: [{
|
|
5211
|
+
type: Input
|
|
5212
|
+
}], border: [{
|
|
5213
|
+
type: Input
|
|
5214
|
+
}], color: [{
|
|
5215
|
+
type: Input
|
|
5216
|
+
}], font: [{
|
|
5217
|
+
type: Input
|
|
5218
|
+
}], margin: [{
|
|
5219
|
+
type: Input
|
|
5220
|
+
}], padding: [{
|
|
5221
|
+
type: Input
|
|
5222
|
+
}], position: [{
|
|
5223
|
+
type: Input
|
|
5224
|
+
}], text: [{
|
|
5225
|
+
type: Input
|
|
5226
|
+
}], visible: [{
|
|
5227
|
+
type: Input
|
|
5228
|
+
}] } });
|
|
5229
|
+
|
|
5125
5230
|
/**
|
|
5126
5231
|
* The configuration options of the Chart title or text
|
|
5127
5232
|
* ([see example]({% slug title_chart_charts %})).
|
|
@@ -6604,6 +6709,7 @@ const CHART_DIRECTIVES = [
|
|
|
6604
6709
|
SeriesNotesLabelComponent,
|
|
6605
6710
|
SeriesOutliersComponent,
|
|
6606
6711
|
SeriesTooltipComponent,
|
|
6712
|
+
SubtitleComponent,
|
|
6607
6713
|
TitleComponent,
|
|
6608
6714
|
TooltipComponent,
|
|
6609
6715
|
ValueAxisComponent,
|
|
@@ -7794,7 +7900,7 @@ const SPARKLINE_DIRECTIVES = [
|
|
|
7794
7900
|
class ChartModule {
|
|
7795
7901
|
}
|
|
7796
7902
|
ChartModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ChartModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7797
|
-
ChartModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ChartModule, declarations: [ChartComponent, TooltipPopupComponent, SeriesTooltipTemplateDirective, SharedTooltipTemplateDirective, CrosshairTooltipsContainerComponent, CrosshairTooltipComponent, DonutCenterTemplateDirective, AxisDefaultsComponent, AxisDefaultsCrosshairComponent, AxisDefaultsCrosshairTooltipComponent, AxisDefaultsLabelsComponent, AxisDefaultsTitleComponent, CategoryAxisComponent, CategoryAxisCrosshairComponent, CategoryAxisCrosshairTooltipComponent, CategoryAxisItemComponent, CategoryAxisLabelsComponent, CategoryAxisRangeLabelsComponent, CategoryAxisNotesComponent, CategoryAxisNotesIconComponent, CategoryAxisNotesLabelComponent, CategoryAxisSelectComponent, CategoryAxisTitleComponent, ChartAreaComponent, LegendComponent, LegendInactiveItemsComponent, LegendItemComponent, PaneComponent, PaneDefaultsComponent, PaneDefaultsTitleComponent, PanesComponent, PanesTitleComponent, PlotAreaComponent, SeriesComponent, SeriesDefaultsComponent, SeriesDefaultsLabelsComponent, SeriesDefaultsLabelsFromComponent, SeriesDefaultsLabelsToComponent, SeriesDefaultsNotesComponent, SeriesDefaultsNotesIconComponent, SeriesDefaultsNotesLabelComponent, SeriesDefaultsTooltipComponent, SeriesErrorBarsComponent, SeriesExtremesComponent, SeriesHighlightComponent, SeriesItemComponent, SeriesLabelsComponent, SeriesLabelsFromComponent, SeriesLabelsToComponent, SeriesMarkersComponent, SeriesNotesComponent, SeriesNotesIconComponent, SeriesNotesLabelComponent, SeriesOutliersComponent, SeriesTooltipComponent, TitleComponent, TooltipComponent, ValueAxisComponent, ValueAxisCrosshairComponent, ValueAxisCrosshairTooltipComponent, ValueAxisItemComponent, ValueAxisLabelsComponent, ValueAxisNotesComponent, ValueAxisNotesIconComponent, ValueAxisNotesLabelComponent, ValueAxisTitleComponent, XAxisComponent, XAxisCrosshairComponent, XAxisCrosshairTooltipComponent, XAxisItemComponent, XAxisLabelsComponent, XAxisNotesComponent, XAxisNotesIconComponent, XAxisNotesLabelComponent, XAxisTitleComponent, YAxisComponent, YAxisCrosshairComponent, YAxisCrosshairTooltipComponent, YAxisItemComponent, YAxisLabelsComponent, YAxisNotesComponent, YAxisNotesIconComponent, YAxisNotesLabelComponent, YAxisTitleComponent, ZoomableComponent], imports: [CommonModule, PopupModule, ResizeSensorModule], exports: [ChartComponent, TooltipPopupComponent, SeriesTooltipTemplateDirective, SharedTooltipTemplateDirective, CrosshairTooltipsContainerComponent, CrosshairTooltipComponent, DonutCenterTemplateDirective, AxisDefaultsComponent, AxisDefaultsCrosshairComponent, AxisDefaultsCrosshairTooltipComponent, AxisDefaultsLabelsComponent, AxisDefaultsTitleComponent, CategoryAxisComponent, CategoryAxisCrosshairComponent, CategoryAxisCrosshairTooltipComponent, CategoryAxisItemComponent, CategoryAxisLabelsComponent, CategoryAxisRangeLabelsComponent, CategoryAxisNotesComponent, CategoryAxisNotesIconComponent, CategoryAxisNotesLabelComponent, CategoryAxisSelectComponent, CategoryAxisTitleComponent, ChartAreaComponent, LegendComponent, LegendInactiveItemsComponent, LegendItemComponent, PaneComponent, PaneDefaultsComponent, PaneDefaultsTitleComponent, PanesComponent, PanesTitleComponent, PlotAreaComponent, SeriesComponent, SeriesDefaultsComponent, SeriesDefaultsLabelsComponent, SeriesDefaultsLabelsFromComponent, SeriesDefaultsLabelsToComponent, SeriesDefaultsNotesComponent, SeriesDefaultsNotesIconComponent, SeriesDefaultsNotesLabelComponent, SeriesDefaultsTooltipComponent, SeriesErrorBarsComponent, SeriesExtremesComponent, SeriesHighlightComponent, SeriesItemComponent, SeriesLabelsComponent, SeriesLabelsFromComponent, SeriesLabelsToComponent, SeriesMarkersComponent, SeriesNotesComponent, SeriesNotesIconComponent, SeriesNotesLabelComponent, SeriesOutliersComponent, SeriesTooltipComponent, TitleComponent, TooltipComponent, ValueAxisComponent, ValueAxisCrosshairComponent, ValueAxisCrosshairTooltipComponent, ValueAxisItemComponent, ValueAxisLabelsComponent, ValueAxisNotesComponent, ValueAxisNotesIconComponent, ValueAxisNotesLabelComponent, ValueAxisTitleComponent, XAxisComponent, XAxisCrosshairComponent, XAxisCrosshairTooltipComponent, XAxisItemComponent, XAxisLabelsComponent, XAxisNotesComponent, XAxisNotesIconComponent, XAxisNotesLabelComponent, XAxisTitleComponent, YAxisComponent, YAxisCrosshairComponent, YAxisCrosshairTooltipComponent, YAxisItemComponent, YAxisLabelsComponent, YAxisNotesComponent, YAxisNotesIconComponent, YAxisNotesLabelComponent, YAxisTitleComponent, ZoomableComponent] });
|
|
7903
|
+
ChartModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ChartModule, declarations: [ChartComponent, TooltipPopupComponent, SeriesTooltipTemplateDirective, SharedTooltipTemplateDirective, CrosshairTooltipsContainerComponent, CrosshairTooltipComponent, DonutCenterTemplateDirective, AxisDefaultsComponent, AxisDefaultsCrosshairComponent, AxisDefaultsCrosshairTooltipComponent, AxisDefaultsLabelsComponent, AxisDefaultsTitleComponent, CategoryAxisComponent, CategoryAxisCrosshairComponent, CategoryAxisCrosshairTooltipComponent, CategoryAxisItemComponent, CategoryAxisLabelsComponent, CategoryAxisRangeLabelsComponent, CategoryAxisNotesComponent, CategoryAxisNotesIconComponent, CategoryAxisNotesLabelComponent, CategoryAxisSelectComponent, CategoryAxisTitleComponent, ChartAreaComponent, LegendComponent, LegendInactiveItemsComponent, LegendItemComponent, PaneComponent, PaneDefaultsComponent, PaneDefaultsTitleComponent, PanesComponent, PanesTitleComponent, PlotAreaComponent, SeriesComponent, SeriesDefaultsComponent, SeriesDefaultsLabelsComponent, SeriesDefaultsLabelsFromComponent, SeriesDefaultsLabelsToComponent, SeriesDefaultsNotesComponent, SeriesDefaultsNotesIconComponent, SeriesDefaultsNotesLabelComponent, SeriesDefaultsTooltipComponent, SeriesErrorBarsComponent, SeriesExtremesComponent, SeriesHighlightComponent, SeriesItemComponent, SeriesLabelsComponent, SeriesLabelsFromComponent, SeriesLabelsToComponent, SeriesMarkersComponent, SeriesNotesComponent, SeriesNotesIconComponent, SeriesNotesLabelComponent, SeriesOutliersComponent, SeriesTooltipComponent, SubtitleComponent, TitleComponent, TooltipComponent, ValueAxisComponent, ValueAxisCrosshairComponent, ValueAxisCrosshairTooltipComponent, ValueAxisItemComponent, ValueAxisLabelsComponent, ValueAxisNotesComponent, ValueAxisNotesIconComponent, ValueAxisNotesLabelComponent, ValueAxisTitleComponent, XAxisComponent, XAxisCrosshairComponent, XAxisCrosshairTooltipComponent, XAxisItemComponent, XAxisLabelsComponent, XAxisNotesComponent, XAxisNotesIconComponent, XAxisNotesLabelComponent, XAxisTitleComponent, YAxisComponent, YAxisCrosshairComponent, YAxisCrosshairTooltipComponent, YAxisItemComponent, YAxisLabelsComponent, YAxisNotesComponent, YAxisNotesIconComponent, YAxisNotesLabelComponent, YAxisTitleComponent, ZoomableComponent], imports: [CommonModule, PopupModule, ResizeSensorModule], exports: [ChartComponent, TooltipPopupComponent, SeriesTooltipTemplateDirective, SharedTooltipTemplateDirective, CrosshairTooltipsContainerComponent, CrosshairTooltipComponent, DonutCenterTemplateDirective, AxisDefaultsComponent, AxisDefaultsCrosshairComponent, AxisDefaultsCrosshairTooltipComponent, AxisDefaultsLabelsComponent, AxisDefaultsTitleComponent, CategoryAxisComponent, CategoryAxisCrosshairComponent, CategoryAxisCrosshairTooltipComponent, CategoryAxisItemComponent, CategoryAxisLabelsComponent, CategoryAxisRangeLabelsComponent, CategoryAxisNotesComponent, CategoryAxisNotesIconComponent, CategoryAxisNotesLabelComponent, CategoryAxisSelectComponent, CategoryAxisTitleComponent, ChartAreaComponent, LegendComponent, LegendInactiveItemsComponent, LegendItemComponent, PaneComponent, PaneDefaultsComponent, PaneDefaultsTitleComponent, PanesComponent, PanesTitleComponent, PlotAreaComponent, SeriesComponent, SeriesDefaultsComponent, SeriesDefaultsLabelsComponent, SeriesDefaultsLabelsFromComponent, SeriesDefaultsLabelsToComponent, SeriesDefaultsNotesComponent, SeriesDefaultsNotesIconComponent, SeriesDefaultsNotesLabelComponent, SeriesDefaultsTooltipComponent, SeriesErrorBarsComponent, SeriesExtremesComponent, SeriesHighlightComponent, SeriesItemComponent, SeriesLabelsComponent, SeriesLabelsFromComponent, SeriesLabelsToComponent, SeriesMarkersComponent, SeriesNotesComponent, SeriesNotesIconComponent, SeriesNotesLabelComponent, SeriesOutliersComponent, SeriesTooltipComponent, SubtitleComponent, TitleComponent, TooltipComponent, ValueAxisComponent, ValueAxisCrosshairComponent, ValueAxisCrosshairTooltipComponent, ValueAxisItemComponent, ValueAxisLabelsComponent, ValueAxisNotesComponent, ValueAxisNotesIconComponent, ValueAxisNotesLabelComponent, ValueAxisTitleComponent, XAxisComponent, XAxisCrosshairComponent, XAxisCrosshairTooltipComponent, XAxisItemComponent, XAxisLabelsComponent, XAxisNotesComponent, XAxisNotesIconComponent, XAxisNotesLabelComponent, XAxisTitleComponent, YAxisComponent, YAxisCrosshairComponent, YAxisCrosshairTooltipComponent, YAxisItemComponent, YAxisLabelsComponent, YAxisNotesComponent, YAxisNotesIconComponent, YAxisNotesLabelComponent, YAxisTitleComponent, ZoomableComponent] });
|
|
7798
7904
|
ChartModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ChartModule, providers: [
|
|
7799
7905
|
ThemeService
|
|
7800
7906
|
], imports: [[CommonModule, PopupModule, ResizeSensorModule]] });
|
|
@@ -7923,5 +8029,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7923
8029
|
* Generated bundle index. Do not edit.
|
|
7924
8030
|
*/
|
|
7925
8031
|
|
|
7926
|
-
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 };
|
|
8032
|
+
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, SubtitleComponent, 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
8033
|
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
import { Border, Margin, Padding } from '../common/property-types';
|
|
6
|
+
/**
|
|
7
|
+
* The configuration options of the subtitle
|
|
8
|
+
* ([see example]({% slug api_charts_subtitlecomponent %})).
|
|
9
|
+
*/
|
|
10
|
+
export interface Subtitle {
|
|
11
|
+
/**
|
|
12
|
+
* The alignment of the subtitle.
|
|
13
|
+
*
|
|
14
|
+
* By default, the subtitle has the same alignment as the title.
|
|
15
|
+
*
|
|
16
|
+
* The available options are:
|
|
17
|
+
* - `"center"`—The text is aligned to the middle.
|
|
18
|
+
* - `"left"`—The text is aligned to the left.
|
|
19
|
+
* - `"right"`—The text is aligned to the right.
|
|
20
|
+
*/
|
|
21
|
+
align?: 'center' | 'left' | 'right';
|
|
22
|
+
/**
|
|
23
|
+
* The background color of the subtitle. Accepts a valid CSS color string, including hex and rgb.
|
|
24
|
+
*/
|
|
25
|
+
background?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The border of the subtitle.
|
|
28
|
+
*/
|
|
29
|
+
border?: Border;
|
|
30
|
+
/**
|
|
31
|
+
* The text color of the subtitle. Accepts a valid CSS color string, including hex and rgb.
|
|
32
|
+
*/
|
|
33
|
+
color?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The font of the subtitle.
|
|
36
|
+
*/
|
|
37
|
+
font?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The margin of the subtitle. A numeric value sets all margins.
|
|
40
|
+
*/
|
|
41
|
+
margin?: Margin | number;
|
|
42
|
+
/**
|
|
43
|
+
* The padding of the subtitle. A numeric value sets all margins.
|
|
44
|
+
*/
|
|
45
|
+
padding?: Padding | number;
|
|
46
|
+
/**
|
|
47
|
+
* The position of the subtitle.
|
|
48
|
+
*
|
|
49
|
+
* By default, the subtitle is placed in the same position as the title.
|
|
50
|
+
*
|
|
51
|
+
* The available options are:
|
|
52
|
+
* - `"bottom"`—The title is positioned on the bottom.
|
|
53
|
+
* - `"top"`—The title is positioned on the top.
|
|
54
|
+
*/
|
|
55
|
+
position?: 'top' | 'bottom';
|
|
56
|
+
/**
|
|
57
|
+
* The text of the chart subtitle. You can also set the text directly for a title with default options.
|
|
58
|
+
*
|
|
59
|
+
* You can split the text into multiple lines by using the line feed characters ("\n").
|
|
60
|
+
*/
|
|
61
|
+
text?: string;
|
|
62
|
+
/**
|
|
63
|
+
* If set to `true`, the Chart displays the subtitle. By default, the subtitle is displayed.
|
|
64
|
+
*/
|
|
65
|
+
visible?: boolean;
|
|
66
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-charts",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.2.0-dev.202209121446",
|
|
4
4
|
"description": "Kendo UI Charts for Angular - A comprehensive package for creating beautiful and interactive data visualization. Every chart type, stock charts, and sparklines are included.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"friendlyName": "Charts"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@progress/kendo-charts": "^1.
|
|
47
|
+
"@progress/kendo-charts": "^1.25.0",
|
|
48
48
|
"@progress/kendo-schematics": "^3.0.0",
|
|
49
49
|
"tslib": "^2.3.1"
|
|
50
50
|
},
|