We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9feb4e commit ed863d7Copy full SHA for ed863d7
src/charts/common/bar/Helpers.js
@@ -199,7 +199,7 @@ export default class Helpers {
199
})
200
}
201
202
- if (w.config.series[i].data[j] && w.config.series[i].data[j].fillColor) {
+ if (w.config.series[i].data[j]?.fillColor) {
203
fillColor = w.config.series[i].data[j].fillColor
204
205
@@ -214,7 +214,7 @@ export default class Helpers {
214
fillType: w.config.series[i].data[j]?.fill?.type
215
? w.config.series[i].data[j]?.fill.type
216
: Array.isArray(w.config.fill.type)
217
- ? w.config.fill.type[i]
+ ? w.config.fill.type[realIndex]
218
: w.config.fill.type,
219
220
0 commit comments