evui 3.3.36 → 3.3.37

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evui",
3
- "version": "3.3.36",
3
+ "version": "3.3.37",
4
4
  "description": "A EXEM Library project",
5
5
  "author": "exem <dev_client@ex-em.com>",
6
6
  "license": "MIT",
@@ -339,14 +339,14 @@ const modules = {
339
339
  gdataValue = gdata.value;
340
340
  gdataColor = gdata.color;
341
341
  } else {
342
- gdataValue = gdata;
342
+ gdataValue = gdata ?? null;
343
343
  }
344
344
 
345
345
  if (odata !== null && typeof odata === 'object') {
346
346
  odataValue = odata.value;
347
347
  odataColor = odata.color;
348
348
  } else {
349
- odataValue = odata;
349
+ odataValue = odata ?? null;
350
350
  }
351
351
 
352
352
  if (this.options.horizontal) {
@@ -120,7 +120,7 @@ class Scale {
120
120
  increase += interval;
121
121
  }
122
122
 
123
- const graphMax = increase > maxValue ? maxValue : increase;
123
+ const graphMax = increase;
124
124
  const graphMin = minValue;
125
125
  const graphRange = graphMax - graphMin;
126
126