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.
我正在使用 HighChart。我想将颜色填充到区域样条图(或任何类型的图表)的部分区域。
就像在这张图片中:
我怎样才能做到这一点?
您需要使用两个系列,第一个样条线和第二个带面积。
series: [{ data: [3, 4, 3] }, { type: 'areaspline', data: [null,null,3, 4, 3, 3, 5, 4] }]
http://jsfiddle.net/7wSuT/