pace-chart-lib 1.0.34 → 1.0.35
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/dist/Components/Charts/ChartsWithAxis/ChartsWithAxisFunctions.d.ts +3 -3
- package/dist/Components/Charts/ChartsWithAxis/ChartsWithAxisTypes.types.d.ts +1 -0
- package/dist/Components/Charts/Core/Common.types.d.ts +1 -0
- package/dist/pace-chart-lib.es.js +525 -471
- package/dist/pace-chart-lib.umd.js +525 -471
- package/package.json +1 -1
|
@@ -417,7 +417,7 @@ export declare function setChartTitle(svg: any, formatOptions: TDefaultChartForm
|
|
|
417
417
|
* @returns The appropriate D3 curve function based on the interpolation and smoothing settings.
|
|
418
418
|
*/
|
|
419
419
|
export declare function getCurveType(formatOptions: TDefaultChartFormatOptionsType): d3.CurveFactory;
|
|
420
|
-
export declare function commonAnnotations(chartData: TSeries[], xScale: any, yScaleLeft: any, yScaleRight: any, margin: TMargin, d3Annotation: any, labelExcludeList: string[], individualLabelColor: any[],
|
|
420
|
+
export declare function commonAnnotations(chartData: TSeries[], xScale: any, yScaleLeft: any, yScaleRight: any, margin: TMargin, d3Annotation: any, labelExcludeList: string[], individualLabelColor: any[], formatOptions: TDefaultChartFormatOptionsType, chartType: string, height: number, width: number, innerWidth: number, dimensionList: string[], innerHeight: number, widgetId: string, svg: any, onDataLabelCoordinatesChange: (coordinates: any[]) => void, xScaleForLegends?: any, columnWidth?: number, isReportEditable?: boolean, isSensitivityChart?: boolean, barChart?: boolean, isAATornado?: boolean): void;
|
|
421
421
|
/**
|
|
422
422
|
* @param {Array} chartData - The main data used to render the chart.
|
|
423
423
|
* @param {Function} xscale - D3 scale function for the x-axis.
|
|
@@ -443,7 +443,7 @@ export declare function commonAnnotations(chartData: TSeries[], xScale: any, ySc
|
|
|
443
443
|
*
|
|
444
444
|
* @return {void} - This function does not return a value; it updates the SVG with annotations.
|
|
445
445
|
*/
|
|
446
|
-
export declare function commonAnnotationsForCustomChart(chartData: TSeries[], xScale: any, yScaleLeft: any, yScaleRight: any, margin: TMargin, d3Annotation: any, stackColumnData: any[], stackAreaData: any[], labelExcludeList: string[], individualLabelColor: any[], columnWidth: number,
|
|
446
|
+
export declare function commonAnnotationsForCustomChart(chartData: TSeries[], xScale: any, yScaleLeft: any, yScaleRight: any, margin: TMargin, d3Annotation: any, stackColumnData: any[], stackAreaData: any[], labelExcludeList: string[], individualLabelColor: any[], columnWidth: number, formatOptions: TDefaultChartFormatOptionsType, height: number, width: number, innerWidth: number, dimensionList: string[], innerHeight: number, widgetId: string, svg: any, onDataLabelCoordinatesChange: (coordinates: any[]) => void, xScaleForLegends: any, isReportEditable: boolean): void;
|
|
447
447
|
/**
|
|
448
448
|
* Pre-calculates data table layout information based on format options and series data.
|
|
449
449
|
*
|
|
@@ -557,7 +557,7 @@ export declare function prepareDataForSeriesLabel(innerWidth: number, yScaleLeft
|
|
|
557
557
|
*
|
|
558
558
|
* @return - void. This function performs side effects by rendering annotations onto the provided SVG element.
|
|
559
559
|
*/
|
|
560
|
-
export declare function stacklineAnnotations(chartData: any[], xScale: any, yScaleLeft: any, yScaleRight: any, margin: TMargin, d3Annotation: any, labelExcludeList: string[], individualLabelColor: any[],
|
|
560
|
+
export declare function stacklineAnnotations(chartData: any[], xScale: any, yScaleLeft: any, yScaleRight: any, margin: TMargin, d3Annotation: any, labelExcludeList: string[], individualLabelColor: any[], formatOptions: TDefaultChartFormatOptionsType, chartType: string, height: number, width: number, innerWidth: number, dimensionList: string[], innerHeight: number, widgetId: string, svg: any, onDataLabelCoordinatesChange: (coordinates: any[]) => void, dataTableHeight: number, isReportEditable: boolean, barChart?: boolean): void;
|
|
561
561
|
/**
|
|
562
562
|
* Initializes the X-axis of a bar chart using provided formatting options and axis configuration.
|
|
563
563
|
*
|
|
@@ -54,6 +54,7 @@ export type TChartProps = {
|
|
|
54
54
|
formatOptions?: TDefaultChartFormatOptionsType;
|
|
55
55
|
isReportEditable?: any;
|
|
56
56
|
isAdvancedAnalyticsWaterFall?: boolean;
|
|
57
|
+
onDataLabelCoordinatesChange?: (coords: any[]) => void;
|
|
57
58
|
};
|
|
58
59
|
export type TChartJSON = {
|
|
59
60
|
dimensionList: string[];
|