Multiple X axis category - Tick angle

I am trying to create bar chart which looks similar to -

sample chart

The chart has multiple categories in x-axis. The categories are Error Type & LOB
The y-axis contains the number per catgory

I am facing two problems (its not evident on the sample chart, but the problem is real) -

  1. The ticks on x axis is overlapping. I tried tickangle, but it is rotating tick for LOB and not for Error type. Please see the image # 1
  2. The color of each bar is same. LOB category can have only 3 values. I want to assign one color to each of the unique value (image # 2)

image # 1

image # 2

Hi @tusharacc,

Could you add a example that reproduces the behavior you’re seeing?