You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by gi...@git.apache.org on 2017/08/03 04:30:28 UTC

[GitHub] mistercrunch commented on a change in pull request #3006: [explore] new visualization that adds a paired t-test table to linechart

mistercrunch commented on a change in pull request #3006: [explore] new visualization that adds a paired t-test table to linechart
URL: https://github.com/apache/incubator-superset/pull/3006#discussion_r131051274
 
 

 ##########
 File path: superset/assets/javascripts/explore/stores/visTypes.js
 ##########
 @@ -940,6 +945,8 @@ export const visTypes = {
     },
   },
 };
+visTypes.line_ttest.controlPanelSections = visTypes.line.controlPanelSections;
 
 Review comment:
   Seems like this would be easy to miss. I'd prefer defining `const lineVis = {...}` at the top and then 
   ```
   line: lineVis,
   line_ttest: Object.assign({}, lineVis, {'label': '...'}),
   ```
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services