@oliasoft-open-source/charts-library 5.9.0 → 5.9.1

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.d.ts CHANGED
@@ -1116,22 +1116,6 @@ export declare type UnusedParameter = unknown;
1116
1116
  export { }
1117
1117
 
1118
1118
 
1119
- declare module 'chart.js' {
1120
- interface PluginOptionsByType<TType extends ChartType> {
1121
- calloutConnectorPlugin?: {
1122
- enableCalloutAnnotation?: boolean;
1123
- };
1124
- }
1125
- }
1126
-
1127
-
1128
- declare module 'chart.js' {
1129
- interface PluginOptionsByType<TType extends ChartType> {
1130
- annotationDraggerPlugin?: AnnotationDraggerPluginOptions;
1131
- }
1132
- }
1133
-
1134
-
1135
1119
  /**
1136
1120
  * Vertical Markers Plugin
1137
1121
  *
@@ -1183,3 +1167,19 @@ declare module 'chart.js' {
1183
1167
  } | TVerticalMarkersOptions;
1184
1168
  }
1185
1169
  }
1170
+
1171
+
1172
+ declare module 'chart.js' {
1173
+ interface PluginOptionsByType<TType extends ChartType> {
1174
+ annotationDraggerPlugin?: AnnotationDraggerPluginOptions;
1175
+ }
1176
+ }
1177
+
1178
+
1179
+ declare module 'chart.js' {
1180
+ interface PluginOptionsByType<TType extends ChartType> {
1181
+ calloutConnectorPlugin?: {
1182
+ enableCalloutAnnotation?: boolean;
1183
+ };
1184
+ }
1185
+ }
package/dist/index.js CHANGED
@@ -20123,8 +20123,8 @@ var defaultAdditionalAxesOptions$2 = (options) => ({
20123
20123
  suggestedMin: options?.suggestedMin,
20124
20124
  suggestedMax: options?.suggestedMax,
20125
20125
  range: options?.range ? Object.fromEntries(Object.entries(options.range).map(([key, value]) => [key, {
20126
- min: value?.min ?? 0,
20127
- max: value?.max ?? 0
20126
+ min: value?.min,
20127
+ max: value?.max
20128
20128
  }])) : void 0,
20129
20129
  autoAxisPadding: options?.autoAxisPadding ?? false
20130
20130
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/charts-library",
3
- "version": "5.9.0",
3
+ "version": "5.9.1",
4
4
  "description": "React Chart Library (based on Chart.js and react-chart-js-2)",
5
5
  "homepage": "https://gitlab.com/oliasoft-open-source/charts-library",
6
6
  "bugs": {