How to prevent hiding plotly chart bar on chart legend click in an angular application.
<plotly-plot
[divId]="graph.selectedGraph.name"
[data]="graph.selectedGraph.data"
[config]="graph.selectedGraph.config"
[layout]="graph.selectedGraph.layout"
(relayout)="draggedShape($event)"
[ngClass]="{ 'single-data': graph.data && graph.data.length === 1 }"
(legendClick)="launchColorPicker($event); $event.stopPropagation()"
>
</plotly-plot>