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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.