mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 18:23:50 +00:00
BGColor
This commit is contained in:
parent
8ed1929f27
commit
44485bbfbb
|
@ -107,7 +107,6 @@ export default class CandleChart extends Vue {
|
|||
show: true,
|
||||
},
|
||||
],
|
||||
// backgroundColor: '#1b1b1b',
|
||||
useUTC: this.useUTC,
|
||||
animation: false,
|
||||
legend: {
|
||||
|
@ -210,6 +209,7 @@ export default class CandleChart extends Vue {
|
|||
// ],
|
||||
// },
|
||||
};
|
||||
|
||||
console.log('Initialized');
|
||||
this.updateChart(true);
|
||||
}
|
||||
|
@ -221,6 +221,9 @@ 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');
|
||||
|
|
Loading…
Reference in New Issue
Block a user