pace-chart-lib 1.0.69 → 1.0.71
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/ChartJS/charts/CJSAreaChart.d.ts +19 -0
- package/dist/Components/Charts/ChartJS/charts/CJSBubbleChart.d.ts +17 -0
- package/dist/Components/Charts/ChartJS/charts/CJSColumnChart.d.ts +19 -0
- package/dist/Components/Charts/ChartJS/charts/CJSDonutChart.d.ts +19 -0
- package/dist/Components/Charts/ChartJS/charts/CJSHorizontalBarChart.d.ts +18 -0
- package/dist/Components/Charts/ChartJS/charts/CJSLineChart.d.ts +19 -0
- package/dist/Components/Charts/ChartJS/charts/CJSNormalizedStackAreaChart.d.ts +17 -0
- package/dist/Components/Charts/ChartJS/charts/CJSNormalizedStackColumnChart.d.ts +17 -0
- package/dist/Components/Charts/ChartJS/charts/CJSNormalizedStackHorizontalBarChart.d.ts +17 -0
- package/dist/Components/Charts/ChartJS/charts/CJSNormalizedStackLineChart.d.ts +17 -0
- package/dist/Components/Charts/ChartJS/charts/CJSPieChart.d.ts +23 -0
- package/dist/Components/Charts/ChartJS/charts/CJSPolarAreaChart.d.ts +19 -0
- package/dist/Components/Charts/ChartJS/charts/CJSRadarChart.d.ts +16 -0
- package/dist/Components/Charts/ChartJS/charts/CJSScatterChart.d.ts +16 -0
- package/dist/Components/Charts/ChartJS/charts/CJSStackAreaChart.d.ts +15 -0
- package/dist/Components/Charts/ChartJS/charts/CJSStackColumnChart.d.ts +15 -0
- package/dist/Components/Charts/ChartJS/charts/CJSStackHorizontalBarChart.d.ts +15 -0
- package/dist/Components/Charts/ChartJS/charts/CJSStackLineChart.d.ts +15 -0
- package/dist/Components/Charts/ChartJS/core/ChartJSDataTransformer.d.ts +31 -0
- package/dist/Components/Charts/ChartJS/core/ChartJSOptionsMapper.d.ts +9 -0
- package/dist/Components/Charts/ChartJS/core/ChartJSWrapper.d.ts +27 -0
- package/dist/Components/Charts/ChartJS/index.d.ts +21 -0
- package/dist/Components/Charts/ChartsWithAxis/AreaFamily/AreaChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithAxis/AreaFamily/NormalizedStackAreaChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithAxis/AreaFamily/StackAreaChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithAxis/ChartsWithAxisFunctions.d.ts +638 -0
- package/dist/Components/Charts/ChartsWithAxis/ChartsWithAxisTypes.types.d.ts +176 -0
- package/dist/Components/Charts/ChartsWithAxis/ColumnFamily/ColumnChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithAxis/ColumnFamily/ColumnHistogramChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithAxis/ColumnFamily/CustomColumnChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithAxis/ColumnFamily/LayeredColumnChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithAxis/ColumnFamily/NormalizedStackColumnChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithAxis/ColumnFamily/StackColumnChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithAxis/HorizontalBarFamily/HorizontalBarChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithAxis/HorizontalBarFamily/HorizontalHistogramChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithAxis/HorizontalBarFamily/LayeredHorizontalBarChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithAxis/HorizontalBarFamily/NormalizedStackHorizontalBarChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithAxis/HorizontalBarFamily/StackHorizontalBarChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithAxis/LineFamily/LineChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithAxis/LineFamily/NormalizedStackLineChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithAxis/LineFamily/StackLineChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithAxis/MiscellaneousChartFamily/DotPlot.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithAxis/MiscellaneousChartFamily/TornadoChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithAxis/MiscellaneousChartFamily/WaterfallChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithoutAxis/ChartsWithoutAxisFunctions.d.ts +96 -0
- package/dist/Components/Charts/ChartsWithoutAxis/ChartsWithoutAxisTypes.types.d.ts +116 -0
- package/dist/Components/Charts/ChartsWithoutAxis/Maps/Cordinates.d.ts +26 -0
- package/dist/Components/Charts/ChartsWithoutAxis/Maps/Maps.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithoutAxis/OtherCharts/BubbleChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithoutAxis/OtherCharts/OrganizationChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithoutAxis/OtherCharts/ProgressChart.d.ts +3 -0
- package/dist/Components/Charts/ChartsWithoutAxis/OtherCharts/PyramidChart.d.ts +3 -0
- package/dist/Components/Charts/ChartsWithoutAxis/OtherCharts/RadialBarChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithoutAxis/OtherCharts/SankeyChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithoutAxis/OtherCharts/ScatterChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithoutAxis/OtherCharts/Speedometer.d.ts +3 -0
- package/dist/Components/Charts/ChartsWithoutAxis/OtherCharts/VennChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithoutAxis/OtherCharts/WordCloud.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithoutAxis/PieFamily/DonutChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithoutAxis/PieFamily/PieChart.d.ts +4 -0
- package/dist/Components/Charts/ChartsWithoutAxis/PieFamily/PieFamilyCommonFunctions.d.ts +10 -0
- package/dist/Components/Charts/ChartsWithoutAxis/PieFamily/PieofPieChart.d.ts +3 -0
- package/dist/Components/Charts/ChartsWithoutAxis/PieFamily/TreemapChart.d.ts +3 -0
- package/dist/Components/Charts/Core/Common.types.d.ts +415 -0
- package/dist/Components/Charts/Core/CommonFunctions.d.ts +251 -0
- package/dist/Components/Charts/Core/DefaultChartDataProperties.d.ts +66 -0
- package/dist/Components/Charts/Core/DefaultProperties.types.d.ts +631 -0
- package/dist/Components/Charts/Core/VfxInteraction.d.ts +25 -0
- package/dist/Services/ErrorLog.d.ts +1 -0
- package/dist/index.d.ts +37 -0
- package/dist/pace-chart-lib.es.js +74756 -0
- package/dist/pace-chart-lib.umd.js +448 -117
- package/package.json +1 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { MutableRefObject } from "react";
|
|
2
|
+
export declare enum VfxDataAttr {
|
|
3
|
+
SeriesId = "data-series-id",
|
|
4
|
+
DimValue = "data-dim-value"
|
|
5
|
+
}
|
|
6
|
+
export declare const VFX_TOOLTIP_FONT_SIZE = "11px";
|
|
7
|
+
export declare const VFX_TOOLTIP_LINE_HEIGHT = "1.6";
|
|
8
|
+
export type TVfxElementClickPayload = {
|
|
9
|
+
seriesId: string;
|
|
10
|
+
dimValue: string;
|
|
11
|
+
legendUniqueId: string;
|
|
12
|
+
seriesDisplayName: string;
|
|
13
|
+
};
|
|
14
|
+
export type TVfxOnElementClick = (payload: TVfxElementClickPayload) => void;
|
|
15
|
+
export type TVfxTooltipFormatter = (dimensionValue: string, seriesProperties: any) => string | null;
|
|
16
|
+
/**
|
|
17
|
+
* Returns a D3-compatible click handler that gates on vfxPickModeActive.
|
|
18
|
+
* Accepts a buildPayload fn so each chart controls what it puts in the event payload.
|
|
19
|
+
*/
|
|
20
|
+
export declare function makeVfxClickHandler(vfxPickModeActiveRef: MutableRefObject<boolean | undefined>, onElementClickRef: MutableRefObject<TVfxOnElementClick | undefined>, buildPayload: (_event: MouseEvent, datum: any) => TVfxElementClickPayload): (_event: MouseEvent, datum: any) => void;
|
|
21
|
+
/**
|
|
22
|
+
* Resolves custom tooltip HTML from the project-side formatter.
|
|
23
|
+
* Returns undefined when no formatter is supplied or the formatter returns null.
|
|
24
|
+
*/
|
|
25
|
+
export declare function resolveCustomTooltipHTML(tooltipFormatter: TVfxTooltipFormatter | undefined, dimValue: string, seriesProperties: any): string | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function logError(fileName: string, funcName: string, msg: unknown): void;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import "./Components/Charts/Core/ChartStyles.scss";
|
|
2
|
+
export { default as ColumnChart } from "./Components/Charts/ChartsWithAxis/ColumnFamily/ColumnChart";
|
|
3
|
+
export { default as CustomColumnChart } from "./Components/Charts/ChartsWithAxis/ColumnFamily/CustomColumnChart";
|
|
4
|
+
export { default as LayeredColumnChart } from "./Components/Charts/ChartsWithAxis/ColumnFamily/LayeredColumnChart";
|
|
5
|
+
export { default as StackColumnChart } from "./Components/Charts/ChartsWithAxis/ColumnFamily/StackColumnChart";
|
|
6
|
+
export { default as NormalizedStackColumnChart } from "./Components/Charts/ChartsWithAxis/ColumnFamily/NormalizedStackColumnChart";
|
|
7
|
+
export { default as ColumnHistogramChart } from "./Components/Charts/ChartsWithAxis/ColumnFamily/ColumnHistogramChart";
|
|
8
|
+
export { default as LineChart } from "./Components/Charts/ChartsWithAxis/LineFamily/LineChart";
|
|
9
|
+
export { default as StackLineChart } from "./Components/Charts/ChartsWithAxis/LineFamily/StackLineChart";
|
|
10
|
+
export { default as NormalizedStackLineChart } from "./Components/Charts/ChartsWithAxis/LineFamily/NormalizedStackLineChart";
|
|
11
|
+
export { default as HorizontalBarChart } from "./Components/Charts/ChartsWithAxis/HorizontalBarFamily/HorizontalBarChart";
|
|
12
|
+
export { default as StackHorizontalBarChart } from "./Components/Charts/ChartsWithAxis/HorizontalBarFamily/StackHorizontalBarChart";
|
|
13
|
+
export { default as NormalizedStackHorizontalBarChart } from "./Components/Charts/ChartsWithAxis/HorizontalBarFamily/NormalizedStackHorizontalBarChart";
|
|
14
|
+
export { default as LayeredHorizontalBarChart } from "./Components/Charts/ChartsWithAxis/HorizontalBarFamily/LayeredHorizontalBarChart";
|
|
15
|
+
export { default as HorizontalHistogramChart } from "./Components/Charts/ChartsWithAxis/HorizontalBarFamily/HorizontalHistogramChart";
|
|
16
|
+
export { default as AreaChart } from "./Components/Charts/ChartsWithAxis/AreaFamily/AreaChart";
|
|
17
|
+
export { default as StackAreaChart } from "./Components/Charts/ChartsWithAxis/AreaFamily/StackAreaChart";
|
|
18
|
+
export { default as NormalizedStackAreaChart } from "./Components/Charts/ChartsWithAxis/AreaFamily/NormalizedStackAreaChart";
|
|
19
|
+
export { default as PieChart } from "./Components/Charts/ChartsWithoutAxis/PieFamily/PieChart";
|
|
20
|
+
export { default as DonutChart } from "./Components/Charts/ChartsWithoutAxis/PieFamily/DonutChart";
|
|
21
|
+
export { default as Treemap } from "./Components/Charts/ChartsWithoutAxis/PieFamily/TreemapChart";
|
|
22
|
+
export { default as PieofPie } from "./Components/Charts/ChartsWithoutAxis/PieFamily/PieofPieChart";
|
|
23
|
+
export { default as PyramidChart } from "./Components/Charts/ChartsWithoutAxis/OtherCharts/PyramidChart";
|
|
24
|
+
export { default as ProgressChart } from "./Components/Charts/ChartsWithoutAxis/OtherCharts/ProgressChart";
|
|
25
|
+
export { default as Speedometer } from "./Components/Charts/ChartsWithoutAxis/OtherCharts/Speedometer";
|
|
26
|
+
export { default as RadialBarChart } from "./Components/Charts/ChartsWithoutAxis/OtherCharts/RadialBarChart";
|
|
27
|
+
export { default as WordCloud } from "./Components/Charts/ChartsWithoutAxis/OtherCharts/WordCloud";
|
|
28
|
+
export { default as VennChart } from "./Components/Charts/ChartsWithoutAxis/OtherCharts/VennChart";
|
|
29
|
+
export { default as SankeyChart } from "./Components/Charts/ChartsWithoutAxis/OtherCharts/SankeyChart";
|
|
30
|
+
export { default as Maps } from "./Components/Charts/ChartsWithoutAxis/Maps/Maps";
|
|
31
|
+
export { default as OrganizationChart } from "./Components/Charts/ChartsWithoutAxis/OtherCharts/OrganizationChart";
|
|
32
|
+
export { default as BubbleChart } from "./Components/Charts/ChartsWithoutAxis/OtherCharts/BubbleChart";
|
|
33
|
+
export { default as ScatterChart } from "./Components/Charts/ChartsWithoutAxis/OtherCharts/ScatterChart";
|
|
34
|
+
export { default as WaterfallChart } from "./Components/Charts/ChartsWithAxis/MiscellaneousChartFamily/WaterfallChart";
|
|
35
|
+
export { default as TornadoChart } from "./Components/Charts/ChartsWithAxis/MiscellaneousChartFamily/TornadoChart";
|
|
36
|
+
export { default as DotPlot } from "./Components/Charts/ChartsWithAxis/MiscellaneousChartFamily/DotPlot";
|
|
37
|
+
export { CJSColumnChart, CJSStackColumnChart, CJSHorizontalBarChart, CJSStackHorizontalBarChart, CJSLineChart, CJSStackLineChart, CJSAreaChart, CJSStackAreaChart, CJSPieChart, CJSDonutChart, CJSScatterChart, CJSBubbleChart, CJSRadarChart, CJSPolarAreaChart, CJSNormalizedStackColumnChart, CJSNormalizedStackHorizontalBarChart, CJSNormalizedStackLineChart, CJSNormalizedStackAreaChart, ChartJSWrapper, transformToChartJSData, transformToNormalizedChartJSData, mapFormatOptionsToChartJS, hexToRgba, CJS_DEFAULT_COLORS, } from "./Components/Charts/ChartJS/index";
|