Chartjs-How to get rid of axis lines in ChartJS?

1👍

I found a way to disable the axes on Laravel Charts’ (by ConsoleTV) ChartJS. The package itself has two methods to do so.

In the chart’s template class, I’ve added these two functions:

public function __construct()
     {
       parent::__construct();
       // ...

       $this->displayAxes(false);
       $this->minimalist(true);

       // ...
     }

Leave a comment