score:1

Accepted answer

you need to increase data amount, not series amount. so instead of multiple series:

hibar bar1 = new hibar();
number[] bar1data = new number[]{10};
...

hibar bar2 = new hibar();
number[] bar2data = new number[] {15};
...

hibar bar3 = new hibar();
number[] bar3data = new number[] {20};
...

use one series with multiple points:

hibar bar1 = new hibar();
number[] bar1data = new number[] {107, 31, 635, 203, 2 };
bar1.setdata(new arraylist<>(arrays.aslist(bar1data)));

Related Query

More Query from same tag