Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
I'm interested in developing custom visuals for Power BI and have a few questions regarding the starting point for such development:
Use Case: We want to set up the default Microsoft Line chart with two legends. Currently, it has one legend, which could also be called "Color by" (since it distingusihes series by colors). We would like to add a second legend, which we would call "Dash by" (shape of the line). This functionality would tremendously expand the capabilities of the Line chart.
It would be extremely beneficial if developers could start from Microsoft's default visuals and simply modify or add code to create custom visuals. We would also prefer this since the speed and integration with other parts could potentially stay up there.
Hi @davidz106,
No, Microsoft doesn't open-source its visuals. Even if the code were available, there are implementation differences between core visuals and custom visuals due to how MS sandboxes visuals and their APIs for third-party developers. Essentially, not all features in the core visuals are available for us unless MS creates specific APIs for us to leverage, and while they have closed some in recent years, there are still many gaps.
If you want to customize the line chart beyond the basics, you need to build all desired functionality as well. This is a common sticking point for clients approaching me for bespoke development, and it usually makes the costs untenable if all they want is a simple addition.
This is probably not the answer you're looking for, but should hopefully confirm your questions.
Regards,
Daniel
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Thank you. I hope MS standpoint here changes in the future. After all, those would not modify the core visual directly but rather make a "duplicate" of it which should not interfere with core PBI functionalities.
User | Count |
---|---|
9 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
11 | |
3 | |
2 | |
2 | |
2 |