Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
davidz106
Helper III
Helper III

Custom Visuals Development: Starting from Default Visuals?

Hi,

I'm interested in developing custom visuals for Power BI and have a few questions regarding the starting point for such development:

  1. Does Microsoft share the source code behind its default visuals (e.g., the Line chart)?
  2. Is it possible to take a default visual, such as the Line chart, and programmatically add building blocks to it?
  3. Or do all third-party visual developers need to start from scratch and build their visuals independently?

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.

2 REPLIES 2
dm-p
Super User
Super User

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





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


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. 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.