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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |