Skip to content

Commit

Permalink
Echarts update deps and append pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
rajsite committed Nov 22, 2024
1 parent 399d99a commit 31d5b63
Show file tree
Hide file tree
Showing 7 changed files with 128 additions and 238 deletions.
252 changes: 55 additions & 197 deletions ECharts/ECharts.gcomp/Gauge Options/Append Gauge Series Options.gvi

Large diffs are not rendered by default.

8 changes: 1 addition & 7 deletions ECharts/ECharts.gcomp/Support/ECharts.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,7 @@
return typeof obj === 'object' && obj !== null;
};
const result = pathSegments.reduce(function (obj, pathSegment) {
if (Array.isArray(obj)) {
if (pathSegment === ':end') {
return obj[obj.length - 1];
}
return obj[pathSegment];
}
if (isObject(obj)) {
if (Array.isArray(obj) || isObject(obj)) {
return obj[pathSegment];
}
throw new Error(`Cannot find value at path: ${pathSegments.join('.')}`);
Expand Down

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions ECharts/ECharts.gcomp/Support/node_modules/echarts/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

66 changes: 41 additions & 25 deletions ECharts/ECharts.gcomp/Support/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ECharts/ECharts.gcomp/Support/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"private": true,
"dependencies": {
"echarts": "^4.9.0",
"echarts-gl": "^1.1.1"
"echarts": "^5.5.1",
"echarts-gl": "^2.0.9"
}
}

0 comments on commit 31d5b63

Please sign in to comment.