pace-chart-lib 1.0.31 → 1.0.32
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 +2 -2
- package/dist/Components/Charts/Core/Common.types.d.ts +1 -1
- package/dist/Components/Charts/Core/CommonFunctions.d.ts +10 -1
- package/dist/Components/Charts/Core/DefaultProperties.types.d.ts +2 -0
- package/dist/pace-chart-lib.es.js +167 -77
- package/dist/pace-chart-lib.umd.js +167 -77
- package/package.json +1 -1
|
@@ -348,7 +348,7 @@ export declare function responsiveXaxisLabel(dimensionList: string[], innerWidth
|
|
|
348
348
|
*
|
|
349
349
|
* @returns {any} The updated SVG group element (`gTag`) with the initialized X axis.
|
|
350
350
|
*/
|
|
351
|
-
export declare function initXaxis(gTag: any, chartJSON: TChartJSON, xLabel: number, formatOptions: TDefaultChartFormatOptionsType, dataTableHeight: number, yScaleLeft: any, xAxis: any, dimensionHeightWidthArray: number[], height: number, barWidth: number, isDateType: string, innerWidth: number, innerHeight: number, filteredDimensionList: string[]): any;
|
|
351
|
+
export declare function initXaxis(gTag: any, chartJSON: TChartJSON, xLabel: number, formatOptions: TDefaultChartFormatOptionsType, dataTableHeight: number, yScaleLeft: any, xAxis: any, dimensionHeightWidthArray: number[], height: number, barWidth: number, isDateType: string, innerWidth: number, innerHeight: number, filteredDimensionList: string[], xScale: any): any;
|
|
352
352
|
export declare function detectBrowserName(): string;
|
|
353
353
|
/**
|
|
354
354
|
* Formats date dimension marks based on the specified format and datasource.
|
|
@@ -593,7 +593,7 @@ 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) => 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) => 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
598
|
export declare const initXaxisTop: (formatOptions: TDefaultChartFormatOptionsType, gTag: any, xLabelSecondary: number, xAxisTop: any) => void;
|
|
599
599
|
export declare const xAxisTitleTop: (formatOptions: TDefaultChartFormatOptionsType, svg: any, margin: TMargin, isSecondaryAxisDrawn: boolean, xLabelSecondary: number, xTitleSecondary: number) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as d3 from "d3";
|
|
2
2
|
import type { TChartJSON } from "../ChartsWithAxis/ChartsWithAxisTypes.types";
|
|
3
3
|
import { TVennSeries } from "../ChartsWithoutAxis/ChartsWithoutAxisTypes.types";
|
|
4
|
-
import { type TAnnotationObject, type TChartMargins, type TDefaultChartFormatOptionsType, type TSeries, type TTextDimensions } from "./Common.types";
|
|
4
|
+
import { type TAnnotationObject, type TChartMargins, TData, type TDataPoint, type TDefaultChartFormatOptionsType, type TSeries, type TTextDimensions } from "./Common.types";
|
|
5
5
|
export declare const svgID = "scaling-svg-";
|
|
6
6
|
export declare function getRandomColor(): {
|
|
7
7
|
color: string;
|
|
@@ -238,3 +238,12 @@ export declare function generalizedChartData(chartData: any, dimensionList?: any
|
|
|
238
238
|
export declare const getJQuerySelector: (strSeletor?: string) => string;
|
|
239
239
|
export declare const connectorNumberFormat: (numerator: any, denominator: any, decimalValues: any, numberFormat: any, x: any, y: any, formatOptions: TDefaultChartFormatOptionsType) => any;
|
|
240
240
|
export declare const getHoverId: (inputText: string) => string;
|
|
241
|
+
export declare function modifySeriesDataForTornadoChart(seriesData: TSeries[], data: TData, isAdvanceAnalyticsChart: boolean): TSeries[] | {
|
|
242
|
+
properties: any;
|
|
243
|
+
legendUniqueId: any;
|
|
244
|
+
Type: any;
|
|
245
|
+
Axis: any;
|
|
246
|
+
AxisDataList: any;
|
|
247
|
+
legend: string;
|
|
248
|
+
data: TDataPoint[];
|
|
249
|
+
}[];
|