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.js 中选定切片的长度?我不希望从中心偏移 - 但我希望所选切片比其他切片延伸得更远。我似乎无法在 API 中找到影响切片长度的位置。
我建议使用'slicedOffset',这是来自 API 的小提琴
plotOptions: { pie: { allowPointSelect: true, slicedOffset: 20 } },
http://jsfiddle.net/gh/get/jquery/1.7.2/highslide-software/highcharts.com/tree/master/samples/highcharts/plotoptions/pie-slicedoffset-20/