pace-chart-lib 1.0.50 → 1.0.52

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.
@@ -46,7 +46,7 @@ export declare enum chartTypes {
46
46
  CombinationArea = "CombinationArea",
47
47
  CombinationStackArea = "CombinationStackArea",
48
48
  TornadoDefaultEntry = "defaultEntry",
49
- ClevelandDotPlot = "ClevelandDotPlot"
49
+ DotPlot = "DotPlot"
50
50
  }
51
51
  export type TChartProps = {
52
52
  data: TData;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
2
  import { type TChartProps } from "../ChartsWithAxisTypes.types";
3
- declare const ClevelandDotPlot: React.FC<TChartProps>;
4
- export default ClevelandDotPlot;
3
+ declare const DotPlot: React.FC<TChartProps>;
4
+ export default DotPlot;
@@ -292,11 +292,17 @@ export type TSeries = {
292
292
  };
293
293
  export type TData = {
294
294
  IsadvanceanalyticsChart?: any;
295
+ IsCalCSensitivity?: any;
295
296
  ChartData: TSeries[];
296
297
  DimensionList: string[];
297
298
  LegendList: any[];
298
299
  };
299
300
  export type TDataPoint = {
301
+ lineStyle: string;
302
+ alias: string;
303
+ markerColor: string;
304
+ markerSize: number;
305
+ markerShape: string;
300
306
  0?: number;
301
307
  1?: number;
302
308
  dimension: string;
@@ -309,6 +315,8 @@ export type TDataPoint = {
309
315
  type?: string;
310
316
  labelPosition?: string;
311
317
  labelColor?: string;
318
+ lineWidth?: number;
319
+ lineColor?: string;
312
320
  };
313
321
  export interface ICustomArcDatum extends d3.DefaultArcObject {
314
322
  x0: number;
@@ -52,6 +52,7 @@ export declare function calculateMaxLegendWidth(list: string[], formatOptions: T
52
52
  * @returns {void} This function does not return a value; it appends and updates SVG marker elements in the DOM.
53
53
  */
54
54
  export declare function lineMarkers(lines: any, chartData: TSeries[], type: any, xScale: any, yScale: any, yScaleRight: any, tooltipHandle: any, formatOptions: TDefaultChartFormatOptionsType, chartJSON: TChartJSON, secondaryCustomYaxisMaxValue: number, secondaryCustomYaxisMinValue: number, customYaxisMinValue: number, customYaxisMaxValue: number, isNormalizedChart: boolean): void;
55
+ export declare function Markershapes(Shape: any): d3.SymbolType;
55
56
  /**
56
57
  * Attaches hover interactions to the area chart elements to show markers and tooltips
57
58
  * when the user moves the mouse over the chart.
@@ -224,6 +224,7 @@ export declare const defaultChartFormatOptions: {
224
224
  totalColor: string;
225
225
  positiveColor: string;
226
226
  negativeColor: string;
227
+ dotPlotLineColor: string;
227
228
  dataLabelValue: boolean;
228
229
  plotAreaAbsoluteValue: boolean;
229
230
  dataLabelName: boolean;
package/dist/index.d.ts CHANGED
@@ -33,4 +33,4 @@ export { default as BubbleChart } from "./Components/Charts/ChartsWithoutAxis/Ot
33
33
  export { default as ScatterChart } from "./Components/Charts/ChartsWithoutAxis/OtherCharts/ScatterChart";
34
34
  export { default as WaterfallChart } from "./Components/Charts/ChartsWithAxis/MiscellaneousChartFamily/WaterfallChart";
35
35
  export { default as TornadoChart } from "./Components/Charts/ChartsWithAxis/MiscellaneousChartFamily/TornadoChart";
36
- export { default as ClevelandDotPlot } from "./Components/Charts/ChartsWithAxis/MiscellaneousChartFamily/ClevelandDotPlot";
36
+ export { default as DotPlot } from "./Components/Charts/ChartsWithAxis/MiscellaneousChartFamily/DotPlot";