Marek Pavlík
09/23/2022, 4:07 PMJiri Zajic
09/23/2022, 9:52 PMJiri Zajic
09/23/2022, 9:53 PMJiri Zajic
09/23/2022, 9:54 PMMarek Pavlík
09/26/2022, 8:59 AMwithCustomDecorator
function. Do I need to use the useCustomWidgetExecutionDataView()
and useCustomWidgetInsightDataView()
hooks somehow, or how to make it work? Thanks!Jiri Zajic
09/26/2022, 9:26 PMuseCustomWidgetExecutionDataView()
or useCustomWidgetInsightDataView()
to get the raw data.
If both insights are GoodData.UI components, you can get dashboard filters using useDashboardSelector(selectFilterContextFilters)
and pass them to the component via filters
prop like this <ChartComponent filters={[ … ]} />
.
Does that help? 🙄Jiri Zajic
09/27/2022, 10:41 PMuseWidgetFilters()
that respects dashboard filters, ignored widget filters etc. Also an option for you 🙂