@oliasoft-open-source/charts-library 3.3.0-beta-1 → 3.3.0-beta-2
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 +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36974,6 +36974,8 @@ const generateLineChartDatasets = (datasets, state, options, { label }) => {
|
|
|
36974
36974
|
if (controlAnnotation && showAnnotations) {
|
|
36975
36975
|
const annotationDatasets = annotationsData.map((annotation2, index2) => {
|
|
36976
36976
|
const color2 = annotation2.color ?? COLORS[index2];
|
|
36977
|
+
const borderDash = ANNOTATION_DASH;
|
|
36978
|
+
const borderWidth = BORDER_WIDTH.INITIAL;
|
|
36977
36979
|
return {
|
|
36978
36980
|
isAnnotation: true,
|
|
36979
36981
|
annotationType: annotation2.type,
|
|
@@ -36982,8 +36984,8 @@ const generateLineChartDatasets = (datasets, state, options, { label }) => {
|
|
|
36982
36984
|
backgroundColor: color2,
|
|
36983
36985
|
pointBackgroundColor: color2,
|
|
36984
36986
|
borderColor: color2,
|
|
36985
|
-
borderDash
|
|
36986
|
-
borderWidth
|
|
36987
|
+
borderDash,
|
|
36988
|
+
borderWidth,
|
|
36987
36989
|
data: [{}]
|
|
36988
36990
|
};
|
|
36989
36991
|
});
|