1

我有这个带有一些切出切片的 Jqplot 饼图:

var data = [['SliceOfSlices', 60],['a', 10],['b', 5],['c', 25],['d', 10],];

plot = $.jqplot('pie-graph', [data], {
    title: 'Slices',
    seriesDefaults: {
        renderer: $.jqplot.PieRenderer,
        rendererOptions: {
            sliceMargin: 8,
        }
    }
});

JSFiddle在这里

我想做的是让其中一个切片包含自己的切片,而不是将它们切碎。像这样: 饼片切片

我环顾四周,我怀疑这可能会将 jqplot 库的功能延伸得有点远......只是想我会问。

4

0 回答 0