将边框颜色和宽度添加到3d条形高图中>>

问题描述 投票:1回答:1

我想更改3d条形图表的边框颜色和宽度...

我尝试过的事情:

// Set up the chart
var chart = new Highcharts.Chart({
    chart: {

        renderTo: 'container',
        type: 'column',
        options3d: {
            enabled: true,
            alpha: 15,
            beta: 15,
            depth: 50,
            viewDistance: 25
        }
    },
    yAxis:{
    gridLineWidth:0,
    visible:false,
    },
    xAxis: {
    gridLineWidth:0,
    categories:['Jan','feb']
    },
    title: {
        text: 'Chart rotation demo'
    },
    subtitle: {
        text: 'Test options by dragging the sliders below'
    },
    plotOptions: {
        column: {
            depth: 25,
          color:'blue,
        },
        series: {

     showInLegend: false,
            dataLabels: {
                enabled: true,
                align: 'center',
                color: 'black',
                x: 0,
                y:2

            },
            pointPadding: 0.2,
            groupPadding: 0
        }
    },
    series: [{
        data: [0, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4],
    }]
});

获取输出:link for output screen

我想为条形和边框获得不同的颜色.....

我也尝试过:

列{borderWidth:3,borderColor:'红色'}

预先感谢!

我想更改3d栏highchart的边框颜色和宽度...我尝试过://设置图表var chart = new Highcharts.Chart({chart:{renderTo:'container',type:'column' ...

javascript html angular highcharts
1个回答
0
投票

使用edgeColoredgeWidth属性:

© www.soinside.com 2019 - 2024. All rights reserved.