Forum Discussion
Create new custom visuals from the scratch code
Hi BhaveshPatel,
I see this video but I am not able understand properly. Is there any documentation available for basic codes?
Sample Bar Chart Repo could be the start point, and you'll need to learn TypeScript first. As for the error message, check Type assertions.
- Krunalbpatel9 years ago
Helper III
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
- v-chuncz-msft9 years ago
Community Support
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 ago
Helper 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.