mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-22 11:05:17 +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: [
|
yAxis: [
|
||||||
{
|
{
|
||||||
scale: true,
|
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,
|
scale: true,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user