ChartJS - how to config Scales?

52 Views Asked by At

I am creating a website about Bitcoins and using some interactive Charts from ChartJS.

Until now the scales in the Charts are changing with the data. But I think to compare the differencesbetween the years I would like them to not change and stay the same. So the scale sould be always from 0 - 110.

I already tried to do this but it does't work: The trick with the max and min...

scales:{
  r: {
    ticks: {       
      beginAtZero: true,
      min: 150,       
      max: 150,     
      stepSize: 10, 

If somebody could help me I would be really greatfull!

Fiddle in the comment.

Cheers!

0

There are 0 best solutions below