Forum Discussion
mikorym
8 years agoFrequent Visitor
Is there a working example of a custom visual that uses plotly.js?
Hi all, Are there any code repo's that have a working example of a Power BI custom visual that uses the plotly.js library? Ideally, the code should be minimal and should call plotly.js's plot...
v-chuncz-msft
8 years agoCommunity Support
Take a look at the post below.
https://community.powerbi.com/t5/Developer/Include-vis-js-in-custom-visual-causes-error/td-p/340881
mikorym
8 years agoFrequent Visitor
Hi v-chuncz-msft,
Do you suggest to create a .js file in the src with the following line?
var plotly = window.plotly || window.window.plotly;