Forum Discussion
Create new custom visuals from the scratch code
Hi v-chuncz-msft,
Thanks for your reply. I have follow the Sample Bar Chart Repo and write the same code as explain, but when look in the Power BI I am not able to see the report data.
Thanks
Make sure that all necessary files are added to the files array in tsconfig.json. This allows the TypeScript compiler to load them and in what order. For tips about debugging your custom visual, see the debugging guide.
- Krunalbpatel9 years agoHelper III
Hi v-chuncz-msft,
Thanks for your reply, and I got the solution for this. It was the D3 folder and node_module folder is not able to find the correct file. So it was giving an error.
- Krunalbpatel9 years agoHelper III
Hi,
Now I am stuck on color selection for the bar or text. I got the color selection option in theproperty window but I am not able to apply the color to the bars or color. For this I have to add any file which I have forgottotn to add? I am getting error on getSelection() for the color.
Thanks
Krunal Patel
- v-chuncz-msft9 years agoCommunity Support
This is another error, better to raise a new thread. That way, community members could easily find the solution to a specific problem. By the way, you may post some screenshots and the related code snippet to better illustrate this issue.