willdale/SwiftUICharts

Is there a way to add multiple legends base on the color of the bars in BarChart?

owenzhao opened this issue · 0 comments

I had tried, but the legends created was based on each bar with many duplicates.

What I wanted was something like:
red bar, type 1
green bar, type 2
yellow bar, type 3

like above.