Not every label in bar and line charts show when there is one long label

When I create bar chart with 10+ labels (on x axis), and some of them are 30~ characters long, some of labels are hidden, while there is a lot of free space that could be used for them. Is there any way to show them then? Even the answer that lets me to always show them will satisfy me.

Author: Fantashit

1 thought on “Not every label in bar and line charts show when there is one long label

  1. This is as designed to prevent labels from overlapping. To force them to be shown you can disable the auto skipper using the following config snippet. Hope this helps!

    options: {
      scales: {
        xAxes: [{
          ticks: {
            autoSkip: false
          }
        }]
      }
    }

Comments are closed.