Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何读取 HighCharts 图表中绘图区域的宽度和高度?我不是指整个图表的宽度和高度,而只是绘图区域的宽度和高度,不包括 x 和 y 轴标签和边框。
使用chart.plotWidth和chart.plotHeight。
chart.plotWidth
chart.plotHeight