Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
In the standard Line Chart visual, the formatting options (under Data Colors) show a color selector for each item in the legend. It appears to be dynamic, i.e. the formatting pane dynamically adjusts to the number of legend items present.
How do I recreate this behaviour in my own visual?
User | Count |
---|---|
8 | |
7 | |
2 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |