Skip to content

Commit b87eb8e

Browse files
committed
Fix missing index.
1 parent 4d824d9 commit b87eb8e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@netdata/charts",
3-
"version": "5.6.3",
3+
"version": "5.6.4",
44
"description": "Netdata frontend SDK and chart utilities",
55
"main": "dist/index.js",
66
"module": "dist/es6/index.js",

src/sdk/makeChart/makeDimensions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export default (chart, sdk) => {
169169
? typeof colorsAttribute[index] === "number"
170170
? dimensionColors[colorsAttribute[index]]
171171
: !colorsAttribute[index]
172-
? dimensionColors[index]
172+
? dimensionColors[colorCursor % dimensionColors.length]
173173
: colorsAttribute[index]
174174
: dimensionColors[index - colorsAttribute.length]
175175

0 commit comments

Comments
 (0)