Setting fill to 'none'

I’m trying to set the fill attribute of lanes/pools to ‘none’ (so I can show a heatmap behind them), but when I set the value, it says invalid color value: none.
Is there a way to do this?

How are you trying to set the fill color?

elementRegistry.forEach(function(el) {
                modeling.setColor([el], {fill: '#ffffff', stroke: '#090'});

This works. It gives me an error if I set the color to ‘none’ or “rgba(0,0,0,0)” even though both are valid css.

Try setting it to undefined

Thanks. It responds Uncaught (in promise) Error: invalid color value: undefined.

Not ‘undefined’ as a string, just undefined as a value: modeling.setColor(el, {fill: undefined stroke: undefined}). I believe this should work but let me know if it doesn’t :slightly_smiling_face:

That clears up the error, but the shapes still have a white fill.