mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 18:23:50 +00:00
Add empty background color
This commit is contained in:
parent
135e56da14
commit
15fbffe43a
|
@ -144,6 +144,7 @@ export default class CandleChart extends Vue {
|
|||
show: true,
|
||||
},
|
||||
],
|
||||
backgroundColor: 'rgba(0, 0, 0, 0)',
|
||||
useUTC: this.useUTC,
|
||||
animation: false,
|
||||
legend: {
|
||||
|
@ -258,9 +259,6 @@ export default class CandleChart extends Vue {
|
|||
if (this.chartOptions?.title) {
|
||||
this.chartOptions.title[0].text = this.chartTitle;
|
||||
}
|
||||
if (this.theme === 'dark') {
|
||||
this.chartOptions.backgroundColor = '#3c3c3c';
|
||||
}
|
||||
const colDate = this.dataset.columns.findIndex((el) => el === '__date_ts');
|
||||
const colOpen = this.dataset.columns.findIndex((el) => el === 'open');
|
||||
const colHigh = this.dataset.columns.findIndex((el) => el === 'high');
|
||||
|
|
|
@ -58,6 +58,7 @@ export default class CumProfitChart extends Vue {
|
|||
text: 'Cumulative Profit',
|
||||
show: this.showTitle,
|
||||
},
|
||||
backgroundColor: 'rgba(0, 0, 0, 0)',
|
||||
dataset: {
|
||||
dimensions: ['date', 'profit'],
|
||||
source: this.cumulativeData,
|
||||
|
|
|
@ -57,6 +57,7 @@ export default class DailyChart extends Vue {
|
|||
text: 'Daily profit',
|
||||
show: this.showTitle,
|
||||
},
|
||||
backgroundColor: 'rgba(0, 0, 0, 0)',
|
||||
dataset: {
|
||||
dimensions: ['date', 'abs_profit', 'trade_count'],
|
||||
source: this.dailyStats.data,
|
||||
|
|
|
@ -79,6 +79,7 @@ export default class HourlyChart extends Vue {
|
|||
text: 'Hourly Profit',
|
||||
show: this.showTitle,
|
||||
},
|
||||
backgroundColor: 'rgba(0, 0, 0, 0)',
|
||||
dataset: {
|
||||
dimensions: ['hourDesc', 'profit', 'count'],
|
||||
source: this.hourlyData,
|
||||
|
|
|
@ -70,6 +70,7 @@ export default class TradesLogChart extends Vue {
|
|||
text: 'Trades log',
|
||||
show: true,
|
||||
},
|
||||
backgroundColor: 'rgba(0, 0, 0, 0)',
|
||||
dataset: {
|
||||
dimensions: ['date', 'profit'],
|
||||
source: chartData,
|
||||
|
|
Loading…
Reference in New Issue
Block a user