Hi Sethu,
1. You may use BarLayer.setBarGap to control the bar width. I think you may already have
a setBarGap method call in your code. It is because by default, there should be gaps
between all bars, but in your case, there is no gap between the "Self" and "Norm" bars. So
your code may already have a setBarGap method call to set the gap between the bars
within a bar group to Chart.TouchBar. If you also increase the gap between the bar groups,
the bars will become thinner. For example:
myBarLayer.setBarGap(0.5, Chart.TouchBar);
2. You may use Axis.setLinearScale to configure the axis scale. For example:
c.yAxis().setLinearScale(0, 100, 20);
Hope this can help.
Regards
Peter Kwan |