pace-chart-lib 1.0.50 → 1.0.51

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;
@@ -297,6 +297,11 @@ export type TData = {
297
297
  LegendList: any[];
298
298
  };
299
299
  export type TDataPoint = {
300
+ lineStyle: string;
301
+ alias: string;
302
+ markerColor: string;
303
+ markerSize: number;
304
+ markerShape: string;
300
305
  0?: number;
301
306
  1?: number;
302
307
  dimension: string;
@@ -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.
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";