javascript - Removing "Series" label on highcahrt-columnrange chart -



javascript - Removing "Series" label on highcahrt-columnrange chart -

as see in attachment. want take off "series 4" tooltip

my xaxis displays date , yaxis displays difference between end_time , start_time

but don't know "series 4" comes from.

additional code :

var series = []; $.each(tasks.reverse(), function (i, task) { var item = { name: task.name, data: [] }; $.each(task.intervals, function (j, interval) { item.data.push({ x: interval.from, y: i, label: interval.label, from: interval.from, to: interval.to }); }); series.push(item);

any help appreciate?

thanks

the "series 4" comes because did not specify name series. it's improve thought give meaningful name removing it. otherwise confusing info tooltip for.

for example:

series: [{ 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] }, { name: 'new york', data: [-0.2, 0.8, 5.7, 11.3, 17.0, 22.0, 24.8, 24.1, 20.1, 14.1, 8.6, 2.5] }]

javascript highcharts

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -