Hide dataset in Chart if value === null

Dear Support Team,

I noticed, that the table components have a field where I can dinamicaly set if hidden or visible

Sadly chart components don´t seem to have that field... it would be very necessary in my case, since there are many datasets I want to show depending on what is selected in the multi select field

Is there any way to hide/show them?

Thank you

@Leon

Hey there :wave: Thanks for reaching out! Since you are looking to filter the data based on a multiselect value I would recommend filtering this data in a transformer and populating the chart with this filtered data. We would recommend the same for a table. Here is a quick example where I am filtering based on the id column in my query data:

This logic can look however you need it to :slightly_smiling_face: