GitHub user dosubot[bot] added a comment to the discussion: [DECK.GL MULTIPLE LAYERS] Dataset or Filter could be defined but it's unuseful for this chart
<!-- Answer --> The DECK.GL MULTIPLE LAYERS chart in Apache Superset is designed to compose multiple layers together for complex visualizations. This chart type focuses on integrating multiple layers rather than relying on a single dataset or filter, which is why defining a dataset or filter might be considered unuseful for this chart <sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/legacy-preset-chart-deckgl/src/Multi/index.ts)</sup>. Regarding the "View query" and "Run in SQL Lab" options returning "No query," this behavior is likely because the DECK.GL MULTIPLE LAYERS chart does not generate a single query that can be viewed or run in SQL Lab. Instead, it combines multiple layers, each potentially having its own data source and query logic <sup>[[2]](https://github.com/apache/superset/blob/master/superset-frontend/src/explore/components/useExploreAdditionalActionsMenu/index.jsx)</sup><sup>[[3]](https://github.com/apache/superset/blob/master/superset-frontend/src/dashboard/components/SliceHeaderControls/index.tsx)</sup>. For hiding or greying out unnecessary UI elements, Apache Superset uses specific conditions and flags to manage the visibility of UI elements. These conditions are based on configuration values and control states, which determine when elements should be hidden or greyed out <sup>[[4]](https://github.com/apache/superset/blob/master/superset-frontend/src/components/UiConfigContext/index.tsx)</sup><sup>[[5]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/plugin-chart-table/src/controlPanel.tsx)</sup>. The error message "'NoneType' object has no attribute 'to_dict'" suggests that there might be an issue with the data or configuration being passed to the chart, possibly due to missing or incorrect data handling. Unfortunately, specific details about this error in the context of DECK.GL MULTIPLE LAYERS charts were not found in the available information. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/304f0c86-204b-4afb-9e28-7a330787aa42?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/304f0c86-204b-4afb-9e28-7a330787aa42?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/304f0c86-204b-4afb-9e28-7a330787aa42?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/304f0c86-204b-4afb-9e28-7a330787aa42?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/304f0c86-204b-4afb-9e28-7a330787aa42?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/304f0c86-204b-4afb-9e28-7a330787aa42?feedback_type=other)</sup> GitHub link: https://github.com/apache/superset/discussions/33624#discussioncomment-13315667 ---- 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]
