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/09/01 23:01:33 UTC

[GitHub] [superset] aelich opened a new issue #16560: Custom visualization doesn't work on superset 1.3.0

aelich opened a new issue #16560:
URL: https://github.com/apache/superset/issues/16560


   ### Expected results
   
   Working searchable visualization plugin
   
   ### Actual results
   
   Doesn't show at all in create new Chart
   
   #### How to reproduce the bug
   
   I edited package.json
   ```
       "@superset-viz-plugins/plugin-chart-composed": "^0.24.1",
       "@superset-viz-plugins/plugin-chart-waterfall": "^0.12.0",
       "@superset-viz-plugins/plugin-chart-pie": "^0.7.4",
       "@superset-viz-plugins/plugin-chart-pivot-table": "^0.11.1",
       "@superset-viz-plugins/plugin-chart-status": "^0.1.5",
   ```
   
   Then edited MainPreset.js and added
   ```
   import ComposedChartPlugin from '@superset-viz-plugins/plugin-chart-composed';
   import WaterfallChartPlugin from '@superset-viz-plugins/plugin-chart-waterfall';
   import DonutPieChartPlugin from '@superset-viz-plugins/plugin-chart-pie';
   import TablePivotNewChartPlugin from '@superset-viz-plugins/plugin-chart-pivot-table';
   import StatusChartPlugin from '@superset-viz-plugins/plugin-chart-status';
   ...
   ...
           new ComposedChartPlugin().configure({ key: 'nielsen-oss-composed' }).register(),
           new StatusChartPlugin().configure({ key: 'nielsen-oss-status' }).register(),
           new TablePivotNewChartPlugin().configure({ key: 'nielsen-oss-table-pivot' }).register(),
           new DonutPieChartPlugin().configure({ key: 'nielsen-oss-pie' }).register(),
           new WaterfallChartPlugin().configure({ key: 'nielsen-oss-waterfall' }).register(),
           new AreaChartPlugin().configure({ key: 'area' }),
   
   ```
   
   then I edited VizTypeGallery.tsx
   ```
    'nielsen-oss-composed',
     'nielsen-oss-status',
     'nielsen-oss-table-pivot',
     'nielsen-oss-pie',
     'nielsen-oss-waterfall'
   ```
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: `1.3.0`
   - python version: `3.7.9`
   - node.js version: `14`
   - any feature flags active:
   
   ### Additional context
   
   Are there some additional steps needed to do as before this was enough to make it work 


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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


[GitHub] [superset] dandandan1983 commented on issue #16560: Custom visualization doesn't work on superset 1.3.0

Posted by GitBox <gi...@apache.org>.
dandandan1983 commented on issue #16560:
URL: https://github.com/apache/superset/issues/16560#issuecomment-998836304


   @aelich Hello. Did you solve this problem?


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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


[GitHub] [superset] aelich commented on issue #16560: Custom visualization doesn't work on superset 1.3.0

Posted by GitBox <gi...@apache.org>.
aelich commented on issue #16560:
URL: https://github.com/apache/superset/issues/16560#issuecomment-911512660


   @RossMoir do you have any hint this time?


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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