mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-14 04:03:51 +00:00
BGColor
This commit is contained in:
parent
8ed1929f27
commit
44485bbfbb
|
@ -107,7 +107,6 @@ export default class CandleChart extends Vue {
|
||||||
show: true,
|
show: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
// backgroundColor: '#1b1b1b',
|
|
||||||
useUTC: this.useUTC,
|
useUTC: this.useUTC,
|
||||||
animation: false,
|
animation: false,
|
||||||
legend: {
|
legend: {
|
||||||
|
@ -210,6 +209,7 @@ export default class CandleChart extends Vue {
|
||||||
// ],
|
// ],
|
||||||
// },
|
// },
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log('Initialized');
|
console.log('Initialized');
|
||||||
this.updateChart(true);
|
this.updateChart(true);
|
||||||
}
|
}
|
||||||
|
@ -221,6 +221,9 @@ export default class CandleChart extends Vue {
|
||||||
if (this.chartOptions?.title) {
|
if (this.chartOptions?.title) {
|
||||||
this.chartOptions.title[0].text = this.chartTitle;
|
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 colDate = this.dataset.columns.findIndex((el) => el === '__date_ts');
|
||||||
const colOpen = this.dataset.columns.findIndex((el) => el === 'open');
|
const colOpen = this.dataset.columns.findIndex((el) => el === 'open');
|
||||||
const colHigh = this.dataset.columns.findIndex((el) => el === 'high');
|
const colHigh = this.dataset.columns.findIndex((el) => el === 'high');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user