@oliasoft-open-source/charts-library 2.1.6 → 2.1.7

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": "@oliasoft-open-source/charts-library",
3
- "version": "2.1.6",
3
+ "version": "2.1.7",
4
4
  "description": "React Chart Library (based on Chart.js and react-chart-js-2)",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -107,7 +107,7 @@ export const getDefaultProps = (props) => {
107
107
  props.chart.options.interactions = props.chart.options.interactions || {};
108
108
  // Set defaults for missing properties
109
109
  const chart = {
110
- testId: props.testId ?? null,
110
+ testId: props.chart.testId ?? null,
111
111
  data: props.chart.data,
112
112
  options: {
113
113
  title: props.chart.options.title || '',
@@ -118,7 +118,7 @@ export const getDefaultProps = (props) => {
118
118
  props.chart.options.interactions = props.chart.options.interactions || {};
119
119
  // Set defaults for missing properties
120
120
  const chart = {
121
- testId: props.testId ?? null,
121
+ testId: props.chart.testId ?? null,
122
122
  data: props.chart.data,
123
123
  options: {
124
124
  title: props.chart.options.title || '',
@@ -59,7 +59,7 @@ export const getDefaultProps = (props) => {
59
59
  props.chart.options.interactions = props.chart.options.interactions || {};
60
60
  // Set defaults for missing properties
61
61
  const chart = {
62
- testId: props.testId ?? null,
62
+ testId: props.chart.testId ?? null,
63
63
  data: props.chart.data,
64
64
  options: {
65
65
  title: props.chart.options.title || '',