mirror of
https://github.com/freqtrade/frequi.git
synced 2024-09-21 18:11:08 +00:00
Chart styling
This commit is contained in:
parent
7703ee16fc
commit
04cc6d11af
|
@ -114,7 +114,7 @@ export default class CandleChart extends Vue {
|
||||||
text: `${this.strategy} - ${this.pair} - ${this.timeframe}`,
|
text: `${this.strategy} - ${this.pair} - ${this.timeframe}`,
|
||||||
show: true,
|
show: true,
|
||||||
},
|
},
|
||||||
backgroundColor: '#231202D',
|
backgroundColor: '#1b1b1b',
|
||||||
useUTC: this.useUTC,
|
useUTC: this.useUTC,
|
||||||
dataset: {
|
dataset: {
|
||||||
source: this.dataset.data,
|
source: this.dataset.data,
|
||||||
|
@ -195,7 +195,7 @@ export default class CandleChart extends Vue {
|
||||||
left: MARGINLEFT,
|
left: MARGINLEFT,
|
||||||
right: MARGINRIGHT,
|
right: MARGINRIGHT,
|
||||||
// Grid Layout from bottom to top
|
// Grid Layout from bottom to top
|
||||||
bottom: `${subplotCount * 10}%`,
|
bottom: `${subplotCount * 10 + 5}%`,
|
||||||
height: '10%',
|
height: '10%',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -374,8 +374,8 @@ export default class CandleChart extends Vue {
|
||||||
options.grid.push({
|
options.grid.push({
|
||||||
left: MARGINLEFT,
|
left: MARGINLEFT,
|
||||||
right: MARGINRIGHT,
|
right: MARGINRIGHT,
|
||||||
bottom: `${plotIndex * 50}px`,
|
bottom: `${plotIndex * 8}%`,
|
||||||
height: '50px',
|
height: '8%',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
Object.entries(value).forEach(([sk, sv]) => {
|
Object.entries(value).forEach(([sk, sv]) => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user