GitHub user MidnightOakMapleNote added a comment to the discussion: How to add  
a new chart type in superset version 4.1.1?

Hello, I would like to ask: In Superset version 4.1.1, when I use setDataMask 
for a waterfall chart, why does the chart structure change entirely? Before 
using setDataMask, the chart contained all the original data; however, after 
using setDataMask, the chart structure only displays the filtered data and its 
corresponding total.

Furthermore, when I call setDataMask with the following parameters in an 
attempt to clear the filter—{ extraFormData: { filters: [ { col: 
formData.xAxis, op: 'IN' as const, val: [value], }, ], }, filterState: { label: 
undefined, value: null, selectedValues: null }, isCurrentValueSelected: false, 
}—the data fails to revert to its initial state. The only way to restore it is 
by manually refreshing the page. I want to know why this occurs. @dosu

GitHub link: 
https://github.com/apache/superset/discussions/34817#discussioncomment-14261224

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to