[docs] adding info on how to create new viz
This commit is contained in:
parent
a48e246aa0
commit
cc3e63f1de
|
|
@ -369,3 +369,9 @@ to take effect, they need to be compiled using this command:
|
||||||
`ADDITIONAL_MODULE_DS_MAP = {'superset.my_models': ['MyDatasource', 'MyOtherDatasource']}`
|
`ADDITIONAL_MODULE_DS_MAP = {'superset.my_models': ['MyDatasource', 'MyOtherDatasource']}`
|
||||||
|
|
||||||
This means it'll register MyDatasource and MyOtherDatasource in superset.my_models module in the source registry.
|
This means it'll register MyDatasource and MyOtherDatasource in superset.my_models module in the source registry.
|
||||||
|
|
||||||
|
## Creating a new visualization type
|
||||||
|
|
||||||
|
Here's an example as a Github PR with comments that describe what the
|
||||||
|
different sections of the code do:
|
||||||
|
https://github.com/airbnb/superset/pull/3013
|
||||||
|
|
|
||||||
|
|
@ -137,3 +137,9 @@ Behind the scene, the new columns will get merged it. Following this,
|
||||||
you may want to
|
you may want to
|
||||||
re-edit the table afterwards to configure the ``Column`` tab, check the
|
re-edit the table afterwards to configure the ``Column`` tab, check the
|
||||||
appropriate boxes and save again.
|
appropriate boxes and save again.
|
||||||
|
|
||||||
|
How do I go about developing a new visualization type?
|
||||||
|
------------------------------------------------------
|
||||||
|
Here's an example as a Github PR with comments that describe what the
|
||||||
|
different sections of the code do:
|
||||||
|
https://github.com/airbnb/superset/pull/3013
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue