Hide main price chart from custom indicator

Hi, is it possible to hide the main pricing chart from a custom indicator? Or at least change the colors of it to become invisible? I know one can manually set all the colors of the main chart to be transparent but I’m wondering if it can be done from a custom indicator for convenience (in my case, my indicator would be hard to see together with the main price chart’s candles).

Circling back to share the answer that @nom28 eventually found for his excellent Smoothed Heiken Ashi indicator, for any others who are looking to do the same…

return {
        candlestick: {
            color: this.props.hideCandles ? "transparent" : null
        style: {
            value: {
                color: this.props.hideCandles ? "transparent" : null