@devexperts/dxcharts-lite 2.7.13 → 2.7.14
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.
|
@@ -88,10 +88,17 @@ export declare class YAxisComponent extends ChartBaseElement {
|
|
|
88
88
|
/**
|
|
89
89
|
* An easier way to manage custom y-axis labels, than y-axis labels providers.
|
|
90
90
|
* However, overlapping avoidance is not supported
|
|
91
|
+
* deprecated because of naming, use updateCustomYAxisLabel instead
|
|
91
92
|
* @param name
|
|
92
93
|
* @param label
|
|
93
94
|
*/
|
|
94
95
|
addSimpleYAxisLabel(name: string, label: VisualYAxisLabel): void;
|
|
96
|
+
/**
|
|
97
|
+
* Update custom y-axis label
|
|
98
|
+
* @param name
|
|
99
|
+
* @param label
|
|
100
|
+
*/
|
|
101
|
+
updateCustomYAxisLabel(name: string, label: VisualYAxisLabel): void;
|
|
95
102
|
/**
|
|
96
103
|
* @param name
|
|
97
104
|
*/
|
|
@@ -138,6 +138,7 @@ export class YAxisComponent extends ChartBaseElement {
|
|
|
138
138
|
/**
|
|
139
139
|
* An easier way to manage custom y-axis labels, than y-axis labels providers.
|
|
140
140
|
* However, overlapping avoidance is not supported
|
|
141
|
+
* deprecated because of naming, use updateCustomYAxisLabel instead
|
|
141
142
|
* @param name
|
|
142
143
|
* @param label
|
|
143
144
|
*/
|
|
@@ -145,6 +146,15 @@ export class YAxisComponent extends ChartBaseElement {
|
|
|
145
146
|
this.model.fancyLabelsModel.customLabels[name] = label;
|
|
146
147
|
this.canvasModel.fireDraw();
|
|
147
148
|
}
|
|
149
|
+
/**
|
|
150
|
+
* Update custom y-axis label
|
|
151
|
+
* @param name
|
|
152
|
+
* @param label
|
|
153
|
+
*/
|
|
154
|
+
updateCustomYAxisLabel(name, label) {
|
|
155
|
+
this.model.fancyLabelsModel.customLabels[name] = label;
|
|
156
|
+
this.canvasModel.fireDraw();
|
|
157
|
+
}
|
|
148
158
|
/**
|
|
149
159
|
* @param name
|
|
150
160
|
*/
|