javascript - Highchart 5: Pie Drilldown labels and back button not visible -


i try highcharts pie drilldown chart working. seems in version 5 of highcharts, button not visible data labels entering level 2:

the code exact code highcharts demo page (version 4).

here js fiddle

$(function () {      // create chart      $('#container').highcharts({          chart: {              type: 'pie'          },          title: {              text: 'browser market shares. january, 2015 may, 2015'          },          subtitle: {              text: 'click slices view versions. source: netmarketshare.com.'          },          plotoptions: {              series: {                  datalabels: {                      enabled: true,                      format: '{point.name}: {point.y:.1f}%'                  }              }          },            tooltip: {              headerformat: '<span style="font-size:11px">{series.name}</span><br>',              pointformat: '<span style="color:{point.color}">{point.name}</span>: <b>{point.y:.2f}%</b> of total<br/>'          },          series: [{              name: 'brands',              colorbypoint: true,              data: [{                  name: 'microsoft internet explorer',                  y: 56.33,                  drilldown: 'microsoft internet explorer'              }, {                  name: 'chrome',                  y: 24.03,                  drilldown: 'chrome'              }, {                  name: 'firefox',                  y: 10.38,                  drilldown: 'firefox'              }, {                  name: 'safari',                  y: 4.77,                  drilldown: 'safari'              }, {                  name: 'opera',                  y: 0.91,                  drilldown: 'opera'              }, {                  name: 'proprietary or undetectable',                  y: 0.2,                  drilldown: null              }]          }],          drilldown: {              series: [{                  name: 'microsoft internet explorer',                  id: 'microsoft internet explorer',                  data: [                      ['v11.0', 24.13],                      ['v8.0', 17.2],                      ['v9.0', 8.11],                      ['v10.0', 5.33],                      ['v6.0', 1.06],                      ['v7.0', 0.5]                  ]              }, {                  name: 'chrome',                  id: 'chrome',                  data: [                      ['v40.0', 5],                      ['v41.0', 4.32],                      ['v42.0', 3.68],                      ['v39.0', 2.96],                      ['v36.0', 2.53],                      ['v43.0', 1.45],                      ['v31.0', 1.24],                      ['v35.0', 0.85],                      ['v38.0', 0.6],                      ['v32.0', 0.55],                      ['v37.0', 0.38],                      ['v33.0', 0.19],                      ['v34.0', 0.14],                      ['v30.0', 0.14]                  ]              }, {                  name: 'firefox',                  id: 'firefox',                  data: [                      ['v35', 2.76],                      ['v36', 2.32],                      ['v37', 2.31],                      ['v34', 1.27],                      ['v38', 1.02],                      ['v31', 0.33],                      ['v33', 0.22],                      ['v32', 0.15]                  ]              }, {                  name: 'safari',                  id: 'safari',                  data: [                      ['v8.0', 2.56],                      ['v7.1', 0.77],                      ['v5.1', 0.42],                      ['v5.0', 0.3],                      ['v6.1', 0.29],                      ['v7.0', 0.26],                      ['v6.2', 0.17]                  ]              }, {                  name: 'opera',                  id: 'opera',                  data: [                      ['v12.x', 0.34],                      ['v28', 0.24],                      ['v27', 0.17],                      ['v29', 0.16]                  ]              }]          }      });  });

any idea?

thanks lot.

like grzegorz pointed out, bug in pre-release version of highcharts 5.


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -