Kendo UI气泡图-添加相同气泡的包装

时间:2020-03-20 13:05:16

标签: javascript kendo-ui bubble-chart

是否可以为具有相同属性的气泡添加填料?

我创建图表,但也想用诸如sample image这样的圆圈/矩形填充一些气泡

function createChart() {
    $("#chart").kendoChart({                                     
        seriesDefaults: {
            type: "bubble"
        },
        dataSource: {
            data: allData
        },
        series: [{
            name: "Sales",
            type: "bubble",
            xField: "date",
            yField: "Id",
            sizeField: "size",
            categoryField : "name",
            labels: {
                visible: true,
                template: "#= setLabels(dataItem.Id) #"
            },                                       
        }],
        yAxis: {
            majorUnit: 1,
            max:21,
            title: {
                text: "Axis Y"
            },
            labels: {
                template: "#= changeLabels(value) #",
            }
        },
        xAxis: {
            plotBands:plotData
        }
    });
}``` 

0 个答案:

没有答案