score:5

the chartarea property contains an object that shows the area bounded by the x and y axes:

let mychart = new chart(ctx, {
  ...
});

console.log(mychart.chartarea);

result:

{
  bottom: 500,
  left: 30,
  right: 1000,
  top: 30
}

Related Query

More Query from same tag