@acorex/charts 20.7.60 → 20.7.61
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/line-chart/index.d.ts
CHANGED
|
@@ -112,6 +112,7 @@ declare class AXLineChartComponent extends AXChartComponent implements OnInit, A
|
|
|
112
112
|
private svg;
|
|
113
113
|
private chart;
|
|
114
114
|
private xScale;
|
|
115
|
+
private xScaleKind;
|
|
115
116
|
private yScale;
|
|
116
117
|
private xAxis;
|
|
117
118
|
private yAxis;
|
|
@@ -173,15 +174,18 @@ declare class AXLineChartComponent extends AXChartComponent implements OnInit, A
|
|
|
173
174
|
allHiddenIcon: string;
|
|
174
175
|
}>;
|
|
175
176
|
private readonly MIN_DIMENSION;
|
|
176
|
-
private readonly MIN_CONTAINER_DIMENSION;
|
|
177
177
|
private readonly DEFAULT_MARGIN_TOP;
|
|
178
178
|
private readonly DEFAULT_MARGIN_RIGHT;
|
|
179
179
|
private readonly DEFAULT_MARGIN_BOTTOM;
|
|
180
180
|
private readonly DEFAULT_MARGIN_LEFT;
|
|
181
181
|
private readonly MIN_MARGIN_BOTTOM;
|
|
182
182
|
private readonly MIN_MARGIN_LEFT;
|
|
183
|
-
private readonly
|
|
184
|
-
private readonly
|
|
183
|
+
private readonly X_AXIS_TITLE_GAP;
|
|
184
|
+
private readonly TICK_AREA_PADDING;
|
|
185
|
+
private readonly AXIS_TICK_PADDING;
|
|
186
|
+
private readonly ROTATION_TOLERANCE;
|
|
187
|
+
private readonly FORCE_ROTATE_LABEL_LENGTH;
|
|
188
|
+
private readonly Y_AXIS_TITLE_PADDING;
|
|
185
189
|
private readonly DEFAULT_LINE_WIDTH;
|
|
186
190
|
private readonly DEFAULT_POINT_RADIUS;
|
|
187
191
|
private readonly DEFAULT_FILL_OPACITY;
|
|
@@ -197,7 +201,6 @@ declare class AXLineChartComponent extends AXChartComponent implements OnInit, A
|
|
|
197
201
|
private readonly POINT_ANIMATION_DELAY_MS;
|
|
198
202
|
private readonly POINT_ANIMATION_DELAY_RATIO;
|
|
199
203
|
private readonly POINT_ANIMATION_DURATION_RATIO;
|
|
200
|
-
private readonly AXIS_LABEL_FONT_SIZE;
|
|
201
204
|
private readonly CHAR_WIDTH_RATIO;
|
|
202
205
|
private readonly FONT_WIDTH_MULTIPLIER;
|
|
203
206
|
private readonly MAX_LABEL_LENGTH;
|
|
@@ -206,7 +209,37 @@ declare class AXLineChartComponent extends AXChartComponent implements OnInit, A
|
|
|
206
209
|
private readonly MIN_FONT_SIZE_Y;
|
|
207
210
|
private readonly MAX_FONT_SIZE_Y;
|
|
208
211
|
private readonly FONT_PADDING;
|
|
209
|
-
private readonly
|
|
212
|
+
private readonly xAxisLabelLayout;
|
|
213
|
+
/**
|
|
214
|
+
* Resolves X-axis tick font size, rotation, and reserved tick area height.
|
|
215
|
+
*/
|
|
216
|
+
private resolveXAxisLabelLayout;
|
|
217
|
+
/**
|
|
218
|
+
* Returns truncated label length used for layout calculations.
|
|
219
|
+
*/
|
|
220
|
+
private getEffectiveXLabelLength;
|
|
221
|
+
/**
|
|
222
|
+
* Estimates vertical space required below the X-axis for tick labels.
|
|
223
|
+
*/
|
|
224
|
+
private estimateXAxisTickAreaHeight;
|
|
225
|
+
/**
|
|
226
|
+
* Measures rendered X-axis tick label area using the axis group bounding box.
|
|
227
|
+
*/
|
|
228
|
+
private measureXAxisTickAreaHeight;
|
|
229
|
+
/**
|
|
230
|
+
* Measures rendered Y-axis tick label width using SVG bounding boxes.
|
|
231
|
+
*/
|
|
232
|
+
private measureMaxYAxisTickLabelWidth;
|
|
233
|
+
/**
|
|
234
|
+
* Calculates required bottom margin for X-axis ticks, optional rotation, and title.
|
|
235
|
+
*/
|
|
236
|
+
private calculateRequiredBottomMargin;
|
|
237
|
+
/**
|
|
238
|
+
* Calculates required left margin for Y-axis ticks and title.
|
|
239
|
+
*/
|
|
240
|
+
private calculateRequiredLeftMargin;
|
|
241
|
+
private createXAxisTitle;
|
|
242
|
+
private createYAxisTitle;
|
|
210
243
|
private readonly MAX_POINTS_TO_RENDER;
|
|
211
244
|
private readonly POINT_COORDINATE_PRECISION;
|
|
212
245
|
private readonly MANY_ITEMS_THRESHOLD;
|
|
@@ -221,9 +254,21 @@ declare class AXLineChartComponent extends AXChartComponent implements OnInit, A
|
|
|
221
254
|
*/
|
|
222
255
|
private getSeriesIdentifier;
|
|
223
256
|
/**
|
|
224
|
-
* Calculates
|
|
257
|
+
* Calculates adaptive X-axis tick font size based on chart width and label count.
|
|
258
|
+
*/
|
|
259
|
+
private getXAxisTickFontSize;
|
|
260
|
+
/**
|
|
261
|
+
* Calculates adaptive Y-axis tick font size based on chart height.
|
|
262
|
+
*/
|
|
263
|
+
private getYAxisTickFontSize;
|
|
264
|
+
/**
|
|
265
|
+
* Calculates axis title font size relative to tick labels.
|
|
266
|
+
*/
|
|
267
|
+
private getAxisTitleFontSize;
|
|
268
|
+
/**
|
|
269
|
+
* Estimates inner chart dimensions before margins are finalized.
|
|
225
270
|
*/
|
|
226
|
-
private
|
|
271
|
+
private estimateChartDimensions;
|
|
227
272
|
/**
|
|
228
273
|
* Creates a unique key for point coordinates (for overlap detection)
|
|
229
274
|
*/
|
|
@@ -254,6 +299,7 @@ declare class AXLineChartComponent extends AXChartComponent implements OnInit, A
|
|
|
254
299
|
private calculateMargins;
|
|
255
300
|
private setupScales;
|
|
256
301
|
private createAxes;
|
|
302
|
+
private getXPosition;
|
|
257
303
|
private renderLines;
|
|
258
304
|
private enablePointerEventsAfterAnimation;
|
|
259
305
|
private handlePointGroupEnter;
|