From cc3e63f1de0a6e5c2fd68464297620ac878fe2a0 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Thu, 22 Jun 2017 12:37:22 -0700 Subject: [PATCH] [docs] adding info on how to create new viz --- CONTRIBUTING.md | 6 ++++++ docs/faq.rst | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 06f3e57f7..d909d5d4a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -369,3 +369,9 @@ to take effect, they need to be compiled using this command: `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. + +## 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 diff --git a/docs/faq.rst b/docs/faq.rst index 9c69b875c..350d48377 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -137,3 +137,9 @@ Behind the scene, the new columns will get merged it. Following this, you may want to re-edit the table afterwards to configure the ``Column`` tab, check the 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