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