Hide x-axis ticks in bar chart when # of workload is <10

Currently the bar chart shows ticks 1 to 10 by default even if the # of workload is <10.

With this change, the default size of x-axis remain the same (10 workloads), but the chart will not show extra ticks in the x-axis when workload is <10.