When it comes to enterprise data visualization, Power BI?has been leading from the front. It not only allows you to create great visualizations from your datasets, transforming the way you spot trends and make decisions to move forward, it also provides a platform for developers to extend its capabilities. The Power BI REST API?has been available for a while now. You can use it to retrieve datasets stored in Microsoft Azure and then create visualizations that suit your needs. You can also add the visualizations to your ASP.NET web application hosted in Azure, making the visualizations available to a bigger group of your target audience. The Power BI team has taken a leap forward with the announcement of the availability of extensions in the form of Power BI Visuals.
Once you have cloned the repository from GitHub, you can use the
srcclientsexternals hirdpartyjasminejquery? folder inside the repository. You can then use the
npm test? command to test.
The PowerBI visualization lifecycle includes three methods on the IVisual? interface that the project provides.
- init?method when the PowerBI visual is first created.
- update?method, whenever the host has an update for the visual.
- destroy?method, whenever the visual is about to be disposed.
A cheer meter implementation has been provided here?as an example to demonstrate the Power BI visual extensions.