You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/02/03 00:01:52 UTC

[GitHub] [superset] ktmud commented on issue #12878: Custom viz throwing KeyError from superset.views.base

ktmud commented on issue #12878:
URL: https://github.com/apache/superset/issues/12878#issuecomment-772099765


   Looks like you are still using [the legacy API](https://github.com/thanksgold/plugin/blob/main/plugin-chart-traffic-lights/esm/TrafficLights/index.js#L27). We recommend creating new viz plugins using the new chart data API, which requires setting `useLegacyAPI` to `false`.
   
   You can check out the official non-legacy plugins (e.g. [plugin-chart-word-cloud](https://github.com/apache-superset/superset-ui/tree/master/plugins/plugin-chart-word-cloud/src/plugin)) for examples of how to build queries for the generic data backend API.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org