Forum Discussion
sample barchart application runs but it's blank
- 8 years ago
There are a few issues in the code:
- /assets/icon.png does not exist
- NPM installs [email protected] but Sample Bar Chart supports [email protected]
- d3.js is not included into a PBIVIZ package (see externalJS property)
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
I added the less file. below is the link again. Thanks for your help.
https://github.com/arashaga/barchart
There are a few issues in the code:
- /assets/icon.png does not exist
- NPM installs [email protected] but Sample Bar Chart supports [email protected]
- d3.js is not included into a PBIVIZ package (see externalJS property)
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- arashaga8 years ago
Helper I
Thank you. I installed the related packages and it didn't work so I forked the sources from the repo. But I would like to know where in the documnetation states which version of what package we need to use in order to get everything working?
- v-viig8 years ago
Community Champion
Since this is a JavaScript project all of dependencies are listed in package.json.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- arashaga8 years ago
Helper I
Thank you. I totaly understand. Package.json could be specific to the project as well but what I was asking is wether there is a general guideline that says you mustto use d3 3.5.5 or earlier otherwise the visual will not work. Something to that effect for major depencies but again I apreciate your help.
- v-viig8 years ago
Community Champion
There's no recommendation to use specific versions of third party packages.
However, some packages have issues in Power BI context but such issues can be workarounded.
If you face any issues please post an issue at Custom Visuals Community.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals