|
|
@ -493,7 +493,7 @@ function initChart(raw, klineDataRawValue, WDRLValue) { |
|
|
|
textStyle: { color: "white", fontSize: window.innerWidth <= 768 ? 14 : 18 }, |
|
|
|
}, |
|
|
|
grid: { |
|
|
|
left: window.innerWidth <= 768 ? '50px' : '100px', // 移动端使用较小边距,桌面端为四位数预留足够空间 |
|
|
|
left: window.innerWidth <= 768 ? '40px' : '100px', // 移动端使用较小边距,桌面端为四位数预留足够空间 |
|
|
|
right: window.innerWidth <= 768 ? '40px' : '100px', // 为右侧y轴预留空间 |
|
|
|
top: window.innerWidth <= 768 ? '40px' : '60px', |
|
|
|
bottom: window.innerWidth <= 768 ? '60px' : '80px', // 为dataZoom预留空间 |
|
|
|