Is adding new viz different now?
@mistercrunch
I like Caravel a lot and am trying to adding other nvd3 viz into it. I found below examples, and followed, but it didn't work -- I got an error message from explore.js when I selected the new viz in creating slice. I wonder if the process is different now and there are other files I need to change? Many thanks!
https://github.com/airbnb/caravel/pulls?q=is%3Apr+label%3Aexample+is%3Aclosed
The detailed error message is as below: explore.0.11.0.entry.js -- s.default[t.form_data.viz_type] is not a function
Do you have any backtrace in the caravel python app logs? Have you added your class to caravel.viz.viz_types_list ?
Yes I did and I could select the new Viz from the drop down list, but it just didn't work . I also added in ../../visualizations/main.js vizMap.
The problem is the JS I added is not included in explore.0.11.0.entry.js (other viz are there). Is there anything I need to do to generate new explore.0.11.0.entry.js? Thank you for helping.
@github35 are you using npm run dev to build client side assets/js in development?
@ascott There seems to be a lot issues of building on Windows system. I will further explore any other possibilities. Thank you! Caravel is amazing. It will be great if we can customize visualization from browser, e.g. http://echarts.baidu.com/demo.html#heatmap-cartesian.
@github35 can we close this?
@xrmx Sure. Thank you!