View Only

 Remove item from legend - ctools

Andy Rathbone's profile image
Andy Rathbone posted 09-15-2023 04:44


I am using ctools to create a dashboard and have a stacked bar chart with a target line.  The chart looks fine, but when I add the legend, I want to hide the marker for the target line.

I have managed to hide the text but not the dot.


jsFiddle remove preview
Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor.
View this on jsFiddle >

It is probably something straightforward I am missing but I can't work it out.  Any help would be much appreciated.



Andy Rathbone's profile image
Andy Rathbone

Does anyone know how to do this?