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
Below is the screenshot. It does get the data but it's just now showing the chart.
also this is the link to the source and json files
https://github.com/arashaga/barchart
Thank you very much,
It seems this issue is related to missing \style\visual.less.
Our recommendation is to fork original repo and work with it.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- arashaga8 years ago
Helper I
Thanks. I only included the src and json files in there but I matched my less file with the repo and still can't see the chart. Could it be the mismatch of package versions?
- v-viig8 years ago
Community Champion
I don't think so. Could you please upload the latest code with less file to your GitHub repo?
We'll check it on our end once you upload the latest code.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- v-viig8 years ago
Community Champion
I don't think so. Could you please upload the latest code with less file to your GitHub repo?
We'll check it on our end once you upload the latest code.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- arashaga8 years ago
Helper I
I added the less file. below is the link again. Thanks for your help.
https://github.com/arashaga/barchart