Highcharts is a rich javascript library which enhances data representations with interactive charts in web applications. But sometimes we need to hide some of default features like series name from legend, like the one shown below:

highcharts series graph image

To disable series name from highcharts legend you need to add following options when initiating chart options;

series: [{
     showInLegend: false,               
     name: 'Tokyo',
     data: [7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6]

You finishd, Thats it....

Comments (0)
Leave a Comment

loader Posting your comment...