javascript - Donut Inner Text -


I have developed a donut chart using the Highchurch library. I need to include a label in the interior of the donut.

Expected Result:

Enter image details here

JS:

  $ (function () {$ ('# container8') ['# 081969', '# 0e2569', '# 1e3b81 ',' # 08489, '' # 081969 ',' # 0e2569 ',' # 1e3b81 ',' # 284 9 2 ',' # 30509b '], title: {text:'}}, tooltip: { Enabled: false}, plot option: {Pi: {Inhers: 140, Depth: 45}}, series: [{Name: 'distributed amount', data: [['56% ', 56], ['44%'] , 44]]}]}})}};  

Fiddles can be found here:

  Title: {style: {fontSize: '48px', fontWeight: 'bold'}, vertical alliance: 'medium'},  

and finally

 }, Function (chart) {chart.setTitle ({text: chart.series [0]. Data [0] .y + '%'}); });  

Demo :

Related Questions:


Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -