@oliasoft-open-source/charts-library 5.9.0-beta-14 → 5.9.1-beta-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,6 +1116,22 @@ export declare type UnusedParameter = unknown;
1116
1116
  export { }
1117
1117
 
1118
1118
 
1119
+ declare module 'chart.js' {
1120
+ interface PluginOptionsByType<TType extends ChartType> {
1121
+ annotationDraggerPlugin?: AnnotationDraggerPluginOptions;
1122
+ }
1123
+ }
1124
+
1125
+
1126
+ declare module 'chart.js' {
1127
+ interface PluginOptionsByType<TType extends ChartType> {
1128
+ calloutConnectorPlugin?: {
1129
+ enableCalloutAnnotation?: boolean;
1130
+ };
1131
+ }
1132
+ }
1133
+
1134
+
1119
1135
  /**
1120
1136
  * Vertical Markers Plugin
1121
1137
  *
@@ -1167,19 +1183,3 @@ declare module 'chart.js' {
1167
1183
  } | TVerticalMarkersOptions;
1168
1184
  }
1169
1185
  }
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-beta-14",
3
+ "version": "5.9.1-beta-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": {