mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 18:23:50 +00:00
Charting fix, mainly for the daily one. Negative values were off.
This commit is contained in:
parent
e03bec0711
commit
6efdcaebcb
|
@ -84,12 +84,13 @@ export default class DailyChart extends Vue {
|
||||||
show: false,
|
show: false,
|
||||||
pieces: [
|
pieces: [
|
||||||
{
|
{
|
||||||
max: -0.01,
|
max: 0.0,
|
||||||
min: this.absoluteMin - 2,
|
min: -2,
|
||||||
color: 'red',
|
color: 'red',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
min: -0.00001,
|
min: 0.0,
|
||||||
|
max: 2,
|
||||||
color: 'green',
|
color: 'green',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
|
@ -111,12 +111,12 @@ export default class HourlyChart extends Vue {
|
||||||
show: false,
|
show: false,
|
||||||
pieces: [
|
pieces: [
|
||||||
{
|
{
|
||||||
max: -0.001,
|
max: 0.0,
|
||||||
min: -2,
|
min: -2,
|
||||||
color: 'red',
|
color: 'red',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
min: -0.01,
|
min: 0.0,
|
||||||
max: 2,
|
max: 2,
|
||||||
color: 'green',
|
color: 'green',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user