Sign in


Sign up


Set the color of the line chart

MDB SupportCategory: General Bootstrap questionsSet the color of the line chart
gabri35 asked 2 months ago, version:4.41

Hi

Is it posible to set the color of the axes?

 

Regards

1 Answers
Bartłomiej Malanowski answered 2 months ago

It’s pretty easy to resolve:

scales:{
  xAxes:[{
    gridLines:{
      color:"rgba(255,255,255,0.5)",
      zeroLineColor:"rgba(255,255,255,0.5)"
    }
  }],
}