python-coder
python-coder

Reputation: 2148

Highcharts - Stacked bar chart - Remove axis

How to remove axis from the stacked bar char.

I've tried exporting: { enabled: false }, but it didnt work ?

Here is jsfiddle

Upvotes: 0

Views: 125

Answers (2)

logan Sarav
logan Sarav

Reputation: 781

try this

    xAxis: {
        gridLineWidth: 0,
        labels: {
           enabled: false
        }
    },
    yAxis: {
        gridLineWidth: 0,
        labels: {
           enabled: false
        }
    },            

Upvotes: 0

python-coder
python-coder

Reputation: 2148

I got the answer. Here it is

xAxis: {
            tickWidth: 0,
            lineWidth:0,
            gridLineWidth: 0,
            labels:{
                enabled:false
            }
        },
        yAxis: {
            title: {
              text: ''
            },
            tickWidth: 0,
            lineWidth:0,
            gridLineWidth: 0,
            labels:{
                enabled:false
            }
        },

Upvotes: 1

Related Questions