Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi, I am plotting a line chart of a size distribution. There are size classes on x axis and % of particles in each on y axis. I filter by "sample ID" by Legend. Power BI uses a different color for each of my sample IDs by default (categorical colors).
Is there a way to implement same coloring in custom visual? I am wondering because "Line Chart with Smooth Lines from pbivizedit" does it job great but lacks the functionality to use Power BI default color scheme. I would like to know wheter there is a possibility to implement this programatically.
Solved! Go to Solution.
Hi @davidz106 ,
Please review the following links, hope they can help you.
How to change the bar color/axis label color in custom visuals
how to set theme color for custom visual
Best Regards
Hi @davidz106 ,
Please review the following links, hope they can help you.
How to change the bar color/axis label color in custom visuals
how to set theme color for custom visual
Best Regards