Dhanuka777
Dhanuka777

Reputation: 8636

Hide the highcharts tracker from image

Is it possible to hide the "highcharts-tracker" (clock) from the png/jpeg exports?

I managed to hide it from the guage chart itself by using $("highChartsGuageId").find('.highcharts-tracker').hide();

Not sure whether this is possible or not.

enter image description here

Upvotes: 0

Views: 529

Answers (1)

Sebastian Bochan
Sebastian Bochan

Reputation: 37588

You can use chartOptions to configure exported chart.

exporting:{
        chartOptions:{
            plotOptions:{
                gauge:{
                    dial:{
                        backgroundColor: 'rgba(0,0,0,0)'
                    },
                    pivot:{
                        backgroundColor: 'rgba(0,0,0,0)'
                    }
                }
            }
        }
    },

Example: http://jsfiddle.net/c3eL785x/

Upvotes: 1

Related Questions