[Chartjs]-(Ionic 3) How to make font size of labels in charts.js responsive?

1👍

Another way possible is to use Scriptable options according to this jsfidlle

 font: function(context) {
  var width = context.chart.width;
  var size = Math.round(width / 32);
    return {
      size: size,
      weight: 600
    };
}

Leave a comment