相关疑难解决方法(0)

HighCharts:标签在工具提示上可见

我的图表上的标签显示在工具提示上,看起来不太好.我试着玩zIndex,但没有结果.如何使工具提示不透明?这是我的jsFiddle:http://www.jsfiddle.net/4scfH/3/

$(function() {
  var chart;
  $(document).ready(function() {
    chart = new Highcharts.Chart({
      chart: {
        renderTo: 'graf1',
        plotBackgroundColor: null,
        plotBorderWidth: null,
        plotShadow: false
      },

      title: {
        margin: 40,
        text: 'Podíl všech pot?eb'
      },
      tooltip: {
        //pointFormat: '<b>{point.y} K? [{point.percentage}%]</b>',
        percentageDecimals: 2,
        backgroundColor: "rgba(255,255,255,1)",
        formatter: function() {
          return this.point.name + '<br />' + '<b>' + Highcharts.numberFormat(this.y).replace(",", " ") + ' K? [' + Highcharts.numberFormat(this.percentage, 2) + '%]</b>';
        }
      },
      plotOptions: {
        pie: {
          allowPointSelect: true,
          cursor: 'pointer',
          dataLabels: …
Run Code Online (Sandbox Code Playgroud)

javascript jquery tooltip labels highcharts

16
推荐指数
2
解决办法
3万
查看次数

标签 统计

highcharts ×1

javascript ×1

jquery ×1

labels ×1

tooltip ×1