visualMap is an array...

This commit is contained in:
Matthias 2021-02-28 20:59:16 +01:00
parent 34da0af17e
commit 180cbad9ae

View File

@ -102,20 +102,22 @@ export default class TradesLogChart extends Vue {
end: 100,
},
],
visualMap: {
show: true,
seriesIndex: 0,
pieces: [
{
max: 0.0,
color: '#f84960',
},
{
min: 0.0,
color: '#2ed191',
},
],
},
visualMap: [
{
show: true,
seriesIndex: 0,
pieces: [
{
max: 0.0,
color: '#f84960',
},
{
min: 0.0,
color: '#2ed191',
},
],
},
],
series: [
{
type: 'bar',