mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-27 05:25:17 +00:00
Change tradeslog to barchart
This commit is contained in:
parent
a98debaf59
commit
34da0af17e
|
@ -102,15 +102,33 @@ export default class TradesLogChart extends Vue {
|
||||||
end: 100,
|
end: 100,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
visualMap: {
|
||||||
|
show: true,
|
||||||
|
seriesIndex: 0,
|
||||||
|
pieces: [
|
||||||
|
{
|
||||||
|
max: 0.0,
|
||||||
|
color: '#f84960',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
min: 0.0,
|
||||||
|
color: '#2ed191',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
type: 'line',
|
type: 'bar',
|
||||||
name: CHART_PROFIT,
|
name: CHART_PROFIT,
|
||||||
step: 'start',
|
step: 'start',
|
||||||
|
barGap: '0%',
|
||||||
|
barCategoryGap: '0%',
|
||||||
animation: false,
|
animation: false,
|
||||||
label: {
|
label: {
|
||||||
show: true,
|
show: true,
|
||||||
position: 'top',
|
position: 'top',
|
||||||
|
rotate: 90,
|
||||||
|
offset: [7.5, -20],
|
||||||
formatter: '{@[1]} %',
|
formatter: '{@[1]} %',
|
||||||
color: this.getChartTheme === 'dark' ? '#c2c2c2' : '#3c3c3c',
|
color: this.getChartTheme === 'dark' ? '#c2c2c2' : '#3c3c3c',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user