I am using charts framework for drawing charts. I need to add some strings in left of every bars. In my code always there are two bars, one for Income and o
When you create your BarChartDataSet you can pass the label.
BarChartDataSet
let data = BarChartData() let ds1 = BarChartDataSet(values: yse1, label: "Income") ds1.colors = [UIColor.red, UIColor.blue]
Hope this helps.