Emdee
Emdee

Reputation: 1701

Display labels in Highcharts 3D scatter plot

I use Highcharts to visualize 3D charts in my project. Particularly I am interested in showing a 3D scatter plot like this. Below the chart you can see the options as well as the respective jsFiddle.

Is there a possibility to display a label with every point's name always i.e. that hovering is not required?

Thanks!

Upvotes: 1

Views: 506

Answers (1)

wf4
wf4

Reputation: 3827

Within the series you can enable the datalabels like this:

series: [{
    dataLabels: {
        enabled: true,
    },
}]

http://jsfiddle.net/oghokm8w/1/

then you could use the formatter to customise the text to be displayed:

 series: [{
    dataLabels: {
        enabled: true,
        formatter: function () {
            return this.point.x;
        },
    }
}]

Upvotes: 2

Related Questions