-1
是否有可能沒有填充左右的線圖?所以這條線將是邊緣到邊緣,就像在設計?集裝箱內沒有填充的Highchart
在它看起來像
chartOptions: {
chart: {
type: 'spline',
spacingBottom: 0,
},
title: null,
legend: {
enabled: false
},
credits: {
enabled: false,
},
tooltip: {
split: true,
pointFormat: '{point.y} {series.name}',
},
plotOptions: {
series: {
shadow: true,
},
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
minPadding: 0,
maxPadding: 0,
tickWidth: 0,
lineWidth: 0,
crosshair: true,
},
yAxis: {
visible: false,
},
series: [
{
name: 'Bookings',
data: [43, 44, 43, 42, 42, 41, 42, 43, 45, 44, 42, 43],
},
{
name: 'EUR',
data: [143, 144, 143, 142, 142, 141, 142, 143, 145, 144, 142, 143],
},
],
}的那一刻,
首先[檢查](https://stackoverflow.com/help/how-to-ask) – Durga
請問你可以鏈接你的html和css –
Unfurtonelly否,因爲我們在我們的開發服務器上有它,這不是在線給大家 – kdskii