pace-chart-lib 1.0.38 → 1.0.39
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.
|
@@ -199,7 +199,7 @@ export declare function responsiveYaxisMargin(maxNumber: number, yMax: number, f
|
|
|
199
199
|
* secondaryCustomTickValue: number | undefined
|
|
200
200
|
* }} An object containing the array of label values for the secondary Y-axis and the calculated custom tick count.
|
|
201
201
|
*/
|
|
202
|
-
export declare function responsiveSecondaryYaxisLabel(secondaryYmax: number, secondaryYmin: number, formatOptions: TDefaultChartFormatOptionsType,
|
|
202
|
+
export declare function responsiveSecondaryYaxisLabel(secondaryYmax: number, secondaryYmin: number, formatOptions: TDefaultChartFormatOptionsType, innerHeight: number): {
|
|
203
203
|
secondaryYAxisLabelArray: any[];
|
|
204
204
|
secondaryCustomTickValue: number;
|
|
205
205
|
autoLabelFlag: boolean;
|
|
@@ -593,9 +593,9 @@ export declare const initXaxisBar: (formatOptions: TDefaultChartFormatOptionsTyp
|
|
|
593
593
|
*
|
|
594
594
|
* @returns {void} This function does not return a value; it modifies the chart by rendering or adjusting axes.
|
|
595
595
|
*/
|
|
596
|
-
export declare const initYaxisBar: (formatOptions: TDefaultChartFormatOptionsType, gTag: any, xLabel: number, innerHeight: number, innerWidth: number, yAxis: any, xAxisTop: any, xScaleBottom: any, yMaxLeft: number, dimensionList: string[], chartType: string, isDateType: any, width: number, dimensionHeightWidthArray: number[], columnWidth: number, xScale: any) => void;
|
|
596
|
+
export declare const initYaxisBar: (formatOptions: TDefaultChartFormatOptionsType, gTag: any, xLabel: number, innerHeight: number, innerWidth: number, yAxis: any, xAxisTop: any, xScaleBottom: any, yMaxLeft: number, dimensionList: string[], chartType: string, isDateType: any, width: number, dimensionHeightWidthArray: number[], columnWidth: number, xScale: any, xLabelSecondaryAxis?: number) => void;
|
|
597
597
|
export declare const dataLabelsPositionForBarChartFamily: (formatOptions: TDefaultChartFormatOptionsType, xCordinate: number, position: number, xScale: any, minValue: number, prevValue?: number, chartType?: string, isSensitivityChart?: boolean, axis?: string) => any;
|
|
598
|
-
export declare const initXaxisTop: (formatOptions: TDefaultChartFormatOptionsType, gTag: any, xLabelSecondary: number, xAxisTop: any) => void;
|
|
598
|
+
export declare const initXaxisTop: (formatOptions: TDefaultChartFormatOptionsType, gTag: any, xLabelSecondary: number, xAxisTop: any, innerWidth: number) => void;
|
|
599
599
|
export declare const xAxisTitleTop: (formatOptions: TDefaultChartFormatOptionsType, svg: any, margin: TMargin, isSecondaryAxisDrawn: boolean, xLabelSecondary: number, xTitleSecondary: number) => void;
|
|
600
600
|
export declare const bandWidthFromBar: (gapFraction: any, barWidth: number) => number;
|
|
601
601
|
export declare const barWidthFromBand: (gapFraction: any, bandWidth: number) => number;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as d3 from "d3";
|
|
1
2
|
import { TChartMargins, TDefaultChartFormatOptionsType } from "../Core/Common.types";
|
|
2
3
|
/**
|
|
3
4
|
* Calculates margins for Bubble and Scatter charts based on various parameters.
|
|
@@ -89,4 +90,5 @@ export declare function responsiveXaxisLabelForNumericValue(xMax: number, xMin:
|
|
|
89
90
|
};
|
|
90
91
|
export declare function initYaxis(gTag: any, formatOptions: TDefaultChartFormatOptionsType, dataTableHeight: number, yLabel: number, yAxisLeft: any, innerHeight: number): void;
|
|
91
92
|
export declare function initXaxis(gTag: any, formatOptions: TDefaultChartFormatOptionsType, dataTableHeight: number, xLabel: number, xAxis: any, innerHeight: number, innerWidth: number, margins: TChartMargins, yScale: any): void;
|
|
93
|
+
export declare function pieFamilyAnnotation(d3Annotation: any, chartData: any, formatOptions: any, getPiePosition: any, chartType: any, width: any, height: any, svg: any, radius: any): void;
|
|
92
94
|
export declare const setnumberOfBubbles: (svg: d3.Selection<SVGSVGElement, unknown, null, undefined>, legendPosition: string, chartFormatOptions: TDefaultChartFormatOptionsType, height: number, width: number, margins: TChartMargins, innnerHeight: number, xTitleHeight: number, XLabelHeight: number, bubbleCount: number) => void;
|