用于javscript的arcgis api中的highcharts

时间:2018-10-16 12:00:13

标签: highcharts arcgis

当前,我正在开发用于JavaScript的arcgis API的功能层。我想显示有关我的图层的图形。可能吗?如果是,那么如何在地图上添加高图?

这是我想在我的arcgis地图上显示的图形:

Highcharts.chart('container', {
    chart: {
        plotBackgroundColor: null,
        plotBorderWidth: null,
        plotShadow: false,
        type: 'pie'
    },
    title: {
        text: 'Fiber Position in BTK'
    },
    tooltip: {
        pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>'
    },
    plotOptions: {
        pie: {
            allowPointSelect: true,
            cursor: 'pointer',
            dataLabels: {
                enabled: true,
                format: '<b>{point.name}</b>: {point.percentage:.1f} %',
                style: {
                    color: (Highcharts.theme && Highcharts.theme.contrastTextColor) || 'black'
                }
            }
        }
    },
    series: [{
        name: 'Brands',
        colorByPoint: true,
        data: [{
            name: 'Arial',
            y: 61.41

        }, {
            name: 'Burried',
            y: 11.84
        }, {
            name: 'Other',
            y: 10.85
        }]
    }]
});

0 个答案:

没有答案