0

Hi guys i have the following script displaying a chart

`$(function () {
$('#container').highcharts({
    chart: {
        type: 'line'
    },
    title: {
        text: 'Monthly Average Temperature'
    },

    xAxis: {
        categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
    },
    yAxis: {
        title: {
            text: 'Temperature (°C)'
        }
    },
    plotOptions: {
        line: {
            dataLabels: {
                enabled: true
            },
            enableMouseTracking: false
        }
    },
    series: [{
       {
        name: 'London',
        data: [3.9, 4.2, 5.7, 8.5, 11.9, 15.2, 17.0, 16.6, 14.2, 10.3, 6.6, 4.8]
    }]
});
});`

The chart is displaying well, but i'm not able to select axis labels when passing mouse on it, it displays like an image, i need to know is their a way to make labels selectable.

4

1 回答 1

0

不幸的是,此选项不可用,因为图表基于 SVG 而不是 HTML 元素。

于 2015-04-24T08:48:40.607 回答