diff --git a/src/components/charts/TradesLog.vue b/src/components/charts/TradesLog.vue index 75f5822b..6fecd228 100644 --- a/src/components/charts/TradesLog.vue +++ b/src/components/charts/TradesLog.vue @@ -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',