pace-chart-lib 1.0.6 → 1.0.8
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.
|
@@ -171,6 +171,7 @@ export declare function getYaxisLabelList(dataMin: number, dataMax: number, axis
|
|
|
171
171
|
* @returns {string} A formatted number string based on the given formatting rules.
|
|
172
172
|
*/
|
|
173
173
|
export declare function getNumberWithFormat(measureValue: number, displayUnits: string, numberFormat: string, decimalPrescision: string, tornadoChart?: boolean): string;
|
|
174
|
+
export declare function getAutoNumberWithFormat(value: any): string;
|
|
174
175
|
/**
|
|
175
176
|
* Calculates the dynamic left or right margin size required to accommodate Y-axis labels,
|
|
176
177
|
* based on the maximum number value, formatting options, and axis type.
|
|
@@ -201,6 +202,7 @@ export declare function responsiveYaxisMargin(maxNumber: number, yMax: number, f
|
|
|
201
202
|
export declare function responsiveSecondaryYaxisLabel(secondaryYmax: number, secondaryYmin: number, formatOptions: TDefaultChartFormatOptionsType, chartJSON: TChartJSON): {
|
|
202
203
|
secondaryYAxisLabelArray: any[];
|
|
203
204
|
secondaryCustomTickValue: number;
|
|
205
|
+
autoLabelFlag: boolean;
|
|
204
206
|
};
|
|
205
207
|
/**
|
|
206
208
|
* Initializes the chart area by appending a <g> element to the given SVG element,
|
|
@@ -276,6 +278,7 @@ export declare function isVerticallyOverlapping(obj1: any, obj2: any): boolean;
|
|
|
276
278
|
export declare function responsiveYaxisLabel(Ymax: number, Ymin: number, innerHeight: number, formatOptions: TDefaultChartFormatOptionsType, chartJSON: TChartJSON, customYaxisMinValue: number, customYaxisMaxValue: number, barChart?: boolean, innerWidth?: number): {
|
|
277
279
|
yAxisLabelArray: any[];
|
|
278
280
|
customTickValue: any;
|
|
281
|
+
autoLabelFlag: boolean;
|
|
279
282
|
};
|
|
280
283
|
/**
|
|
281
284
|
* Calculates a list of nicely spaced numeric labels for an axis given data range and display constraints.
|