@progress/kendo-charts 2.4.2 → 2.5.0-dev.202409030746
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/README.md +20 -14
- package/dist/cdn/js/kendo-charts.js +1 -1
- package/dist/cdn/main.js +1 -1
- package/dist/es/chart-wizard/get-wizard-data-from-data-rows.js +22 -0
- package/dist/es/chart-wizard/messages.js +108 -0
- package/dist/es/chart-wizard/state.js +719 -0
- package/dist/es/chart-wizard.js +19 -0
- package/dist/es/main.js +1 -0
- package/dist/es2015/chart-wizard/get-wizard-data-from-data-rows.js +21 -0
- package/dist/es2015/chart-wizard/messages.js +108 -0
- package/dist/es2015/chart-wizard/state.js +727 -0
- package/dist/es2015/chart-wizard.js +19 -0
- package/dist/es2015/main.js +1 -0
- package/dist/npm/chart-wizard.d.ts +313 -0
- package/dist/npm/main.d.ts +1 -0
- package/dist/npm/main.js +854 -3
- package/dist/systemjs/kendo-charts.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import getter from './../common/getter';
|
|
2
|
+
|
|
3
|
+
export function getWizardDataFromDataRows(dataRows) {
|
|
4
|
+
var result = [];
|
|
5
|
+
|
|
6
|
+
dataRows.forEach(function (item) {
|
|
7
|
+
var dataItem = item.dataItem;
|
|
8
|
+
var dataColumns = item.dataColumns;
|
|
9
|
+
|
|
10
|
+
var row = [];
|
|
11
|
+
dataColumns.forEach(function (column) {
|
|
12
|
+
row.push({
|
|
13
|
+
field: column.title || column.field,
|
|
14
|
+
value: getter(column.field)(dataItem)
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
result.push(row);
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
return result;
|
|
22
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
export var messages = Object.freeze({
|
|
2
|
+
windowTitle: 'Chart Preview',
|
|
3
|
+
exportButton: 'Export',
|
|
4
|
+
exportPDFButton: 'PDF File',
|
|
5
|
+
exportSVGButton: 'SVG File',
|
|
6
|
+
exportPNGButton: 'PNG File',
|
|
7
|
+
tabChart: 'Chart',
|
|
8
|
+
tabData: 'Data',
|
|
9
|
+
tabFormat: 'Format',
|
|
10
|
+
barChart: 'Bar Chart',
|
|
11
|
+
barChartBar: 'Bar',
|
|
12
|
+
barChartStackedBar: 'Stacked Bar',
|
|
13
|
+
barChart100StackedBar: '100% Stacked Bar',
|
|
14
|
+
pieChart: 'Pie Chart',
|
|
15
|
+
pieChartPie: 'Pie',
|
|
16
|
+
columnChart: 'Column Chart',
|
|
17
|
+
columnChartColumn: 'Column',
|
|
18
|
+
columnChartStackedColumn: 'Stacked Column',
|
|
19
|
+
columnChart100StackedColumn: '100% Stacked Column',
|
|
20
|
+
lineChart: 'Line Chart',
|
|
21
|
+
lineChartLine: 'Line',
|
|
22
|
+
lineChartStackedLine: 'Stacked Line',
|
|
23
|
+
lineChart100StackedLine: '100% Stacked Line',
|
|
24
|
+
scatterChart: 'Scatter Chart',
|
|
25
|
+
scatterChartScatter: 'Scatter',
|
|
26
|
+
configuration: 'Configuration',
|
|
27
|
+
configurationCategoryAxis: 'Category Axis',
|
|
28
|
+
configurationXAxis: 'X Axis',
|
|
29
|
+
configurationValueAxis: 'Value Axis',
|
|
30
|
+
configurationSeries: 'Series',
|
|
31
|
+
configurationSeriesAdd: 'Add',
|
|
32
|
+
formatChartArea: 'Chart Area',
|
|
33
|
+
formatChartAreaMargins: 'Margins',
|
|
34
|
+
formatChartAreaMarginsAuto: 'Auto',
|
|
35
|
+
formatChartAreaMarginsLeft: 'Left',
|
|
36
|
+
formatChartAreaMarginsRight: 'Right',
|
|
37
|
+
formatChartAreaMarginsTop: 'Top',
|
|
38
|
+
formatChartAreaMarginsBottom: 'Bottom',
|
|
39
|
+
formatChartAreaBackground: 'Background',
|
|
40
|
+
formatChartAreaBackgroundColor: 'Color',
|
|
41
|
+
formatTitle: 'Title',
|
|
42
|
+
formatTitleApplyTo: 'Apply to',
|
|
43
|
+
formatTitleChartTitle: 'Chart Title',
|
|
44
|
+
formatTitleChartSubtitle: 'Chart Subtitle',
|
|
45
|
+
formatTitleLabel: 'Title',
|
|
46
|
+
formatTitleFont: 'Font',
|
|
47
|
+
formatTitleFontPlaceholder: '(inherited font)',
|
|
48
|
+
formatTitleSize: 'Size',
|
|
49
|
+
formatTitleSizePlaceholder: 'px',
|
|
50
|
+
formatTitleColor: 'Color',
|
|
51
|
+
formatSeries: 'Series',
|
|
52
|
+
formatSeriesApplyTo: 'Apply to',
|
|
53
|
+
formatSeriesAllSeries: 'All Series',
|
|
54
|
+
formatSeriesColor: 'Color',
|
|
55
|
+
formatSeriesShowLabels: 'Show Labels',
|
|
56
|
+
formatLegend: 'Legend',
|
|
57
|
+
formatLegendShowLegend: 'Show Legend',
|
|
58
|
+
formatLegendFont: 'Font',
|
|
59
|
+
formatLegendFontPlaceholder: '(inherited font)',
|
|
60
|
+
formatLegendSize: 'Size',
|
|
61
|
+
formatLegendSizePlaceholder: 'px',
|
|
62
|
+
formatLegendColor: 'Color',
|
|
63
|
+
formatLegendPosition: 'Position',
|
|
64
|
+
formatLegendPositionTop: 'Top',
|
|
65
|
+
formatLegendPositionBottom: 'Bottom',
|
|
66
|
+
formatLegendPositionLeft: 'Left',
|
|
67
|
+
formatLegendPositionRight: 'Right',
|
|
68
|
+
formatCategoryAxis: 'Category Axis',
|
|
69
|
+
formatXAxis: 'X Axis',
|
|
70
|
+
formatCategoryAxisTitle: 'Title',
|
|
71
|
+
formatCategoryAxisTitlePlaceholder: 'Axis Title',
|
|
72
|
+
formatCategoryAxisTitleFont: 'Font',
|
|
73
|
+
formatCategoryAxisTitleFontPlaceholder: '(inherited font)',
|
|
74
|
+
formatCategoryAxisTitleSize: 'Size',
|
|
75
|
+
formatCategoryAxisTitleSizePlaceholder: 'px',
|
|
76
|
+
formatCategoryAxisTitleColor: 'Color',
|
|
77
|
+
formatCategoryAxisLabels: 'Labels',
|
|
78
|
+
formatCategoryAxisLabelsFont: 'Font',
|
|
79
|
+
formatCategoryAxisLabelsFontPlaceholder: '(inherited font)',
|
|
80
|
+
formatCategoryAxisLabelsSize: 'Size',
|
|
81
|
+
formatCategoryAxisLabelsSizePlaceholder: 'px',
|
|
82
|
+
formatCategoryAxisLabelsColor: 'Color',
|
|
83
|
+
formatCategoryAxisLabelsRotation: 'Rotation',
|
|
84
|
+
formatCategoryAxisLabelsRotationAuto: 'Auto',
|
|
85
|
+
formatCategoryAxisLabelsReverseOrder: 'Reverse Order',
|
|
86
|
+
formatValueAxis: 'Value Axis',
|
|
87
|
+
formatYAxis: 'Y Axis',
|
|
88
|
+
formatValueAxisTitle: 'Title',
|
|
89
|
+
formatValueAxisTitlePlaceholder: 'Axis Title',
|
|
90
|
+
formatValueAxisTitleFont: 'Font',
|
|
91
|
+
formatValueAxisTitleFontPlaceholder: '(inherited font)',
|
|
92
|
+
formatValueAxisTitleSize: 'Size',
|
|
93
|
+
formatValueAxisTitleSizePlaceholder: 'px',
|
|
94
|
+
formatValueAxisTitleColor: 'Color',
|
|
95
|
+
formatValueAxisLabels: 'Labels',
|
|
96
|
+
formatValueAxisLabelsFormat: 'Label Format',
|
|
97
|
+
formatValueAxisLabelsFormatText: 'Text',
|
|
98
|
+
formatValueAxisLabelsFormatNumber: 'Number',
|
|
99
|
+
formatValueAxisLabelsFormatCurrency: 'Currency',
|
|
100
|
+
formatValueAxisLabelsFormatPercent: 'Percent',
|
|
101
|
+
formatValueAxisLabelsFont: 'Font',
|
|
102
|
+
formatValueAxisLabelsFontPlaceholder: '(inherited font)',
|
|
103
|
+
formatValueAxisLabelsSize: 'Size',
|
|
104
|
+
formatValueAxisLabelsSizePlaceholder: 'px',
|
|
105
|
+
formatValueAxisLabelsColor: 'Color',
|
|
106
|
+
formatValueAxisLabelsRotation: 'Rotation',
|
|
107
|
+
formatValueAxisLabelsRotationAuto: 'Auto'
|
|
108
|
+
});
|