Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I can run the sample barchart from here without errors but whe I test it, it only shows the texts of field that I choose and does not show the barcharts. Also, i tried that debugger and @logexception decorator acording tot he instruction in the other post and can't get the debuger spit out anything. Can someone please help me how to figure this out? Thanks.
Solved! Go to Solution.
There are a few issues in the code:
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Can you share a screenshot? Have you filled all of required data fields?
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
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?
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
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:
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
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?
Since this is a JavaScript project all of dependencies are listed in package.json.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
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.
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
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
17 | |
2 | |
2 | |
1 | |
1 |