Skip to content

Commit

Permalink
v5.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
novykh committed Jul 12, 2024
1 parent 597ab05 commit f3bf35c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@netdata/charts",
"version": "5.3.5",
"version": "5.3.6",
"description": "Netdata frontend SDK and chart utilities",
"main": "dist/index.js",
"module": "dist/es6/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/chartLibraries/dygraph/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ export default (sdk, chart) => {
const dimensionIds = chart.getPayloadDimensionIds()

if (!dimensionIds.length) return {}
const colors = dimensionIds.map(chart.selectDimensionColor)
const colors = dimensionIds.map(id => chart.selectDimensionColor(id))

return { colors }
}
Expand Down
2 changes: 1 addition & 1 deletion src/sdk/makeChart/makeDimensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,6 @@ export default (chart, sdk) => {

const keys = chart.isSparkline() ? sparklineDimensions : dimensionIds

keys.forEach(chart.selectDimensionColor)
keys.forEach(id => chart.selectDimensionColor(id))
}
}

0 comments on commit f3bf35c

Please sign in to comment.