简体   繁体   中英

highcharts - Remove only legend for colorAxis (keep legend for series)

I have heatmap and scatter in one plot. I tried to remove the legend of colorAxis (for heatmap). The only solution I found on web is to remove the whole legend what I do not want since I want to keep the legend for scatter.

So the flowing example does not solve the problem. I still want to have a legend. I want to remove just part for colorAxis.

legend: {
  enabled: false
}

I want to have something like this with only Seriest 2 in legend. http://jsfiddle.net/9mL8x9bc/4/

Try ...

legend: false

This works for me

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM