@oliasoft-open-source/charts-library 4.6.3 → 4.6.4
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/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/dist/src/components/common/common.interface.d.ts +1 -0
- package/dist/src/components/common/helpers/enums.d.ts +4 -1
- package/dist/src/components/common/helpers/get-chart-annotation.d.ts +1 -0
- package/dist/src/components/line-chart/line-chart.stories.d.ts +26 -0
- package/dist/src/components/line-chart/utils/get-line-chart-data-labels.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22367,6 +22367,9 @@ var AnnotationType$1 = /* @__PURE__ */ ((AnnotationType2) => {
|
|
|
22367
22367
|
})(AnnotationType$1 || {});
|
|
22368
22368
|
var PointStyle = /* @__PURE__ */ ((PointStyle2) => {
|
|
22369
22369
|
PointStyle2["Circle"] = "circle";
|
|
22370
|
+
PointStyle2["Square"] = "rect";
|
|
22371
|
+
PointStyle2["Diamond"] = "rectRot";
|
|
22372
|
+
PointStyle2["Triangle"] = "triangle";
|
|
22370
22373
|
return PointStyle2;
|
|
22371
22374
|
})(PointStyle || {});
|
|
22372
22375
|
var ChartHoverMode = /* @__PURE__ */ ((ChartHoverMode2) => {
|
|
@@ -25626,7 +25629,8 @@ const generateAnnotations = (annotationsData) => {
|
|
|
25626
25629
|
leave,
|
|
25627
25630
|
onDragStart,
|
|
25628
25631
|
onDrag,
|
|
25629
|
-
onDragEnd
|
|
25632
|
+
onDragEnd,
|
|
25633
|
+
pointStyle: (ann == null ? void 0 : ann.pointStyle) ?? PointStyle.Circle
|
|
25630
25634
|
};
|
|
25631
25635
|
});
|
|
25632
25636
|
};
|
|
@@ -40720,9 +40724,13 @@ const ScatterChartWithLegend = (props) => {
|
|
|
40720
40724
|
return /* @__PURE__ */ jsx(LegendProvider, { options, children: /* @__PURE__ */ jsx(ScatterChart, { ...props }) });
|
|
40721
40725
|
};
|
|
40722
40726
|
export {
|
|
40727
|
+
AlignOptions,
|
|
40728
|
+
AnnotationType$1 as AnnotationType,
|
|
40723
40729
|
BarChartWithLegend as BarChart,
|
|
40724
40730
|
LineChartWithLegend as LineChart,
|
|
40725
40731
|
PieChartWithLegend as PieChart,
|
|
40732
|
+
PointStyle,
|
|
40733
|
+
Position,
|
|
40726
40734
|
ScatterChartWithLegend as ScatterChart,
|
|
40727
40735
|
initializeLineChart
|
|
40728
40736
|
};
|