mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-25 12:35:15 +00:00
Prevent chart from touching the chart border
This commit is contained in:
parent
8288f10cc5
commit
fd4fd17580
|
@ -574,6 +574,12 @@ function initializeChartOptions() {
|
|||
yAxis: [
|
||||
{
|
||||
scale: true,
|
||||
max: (value) => {
|
||||
return value.max + (value.max - value.min) * 0.02;
|
||||
},
|
||||
min: (value) => {
|
||||
return value.min - (value.max - value.min) * 0.04;
|
||||
},
|
||||
},
|
||||
{
|
||||
scale: true,
|
||||
|
|
Loading…
Reference in New Issue
Block a user