ArielMejiaDev / larapex-charts

A Laravel wrapper for apex charts
https://larapex-charts.netlify.app/
MIT License
290 stars 83 forks source link

Add strokeDashArray to setGrid method. #106

Open hesami opened 3 months ago

hesami commented 3 months ago

Update LarapexChart.php by adding the $strokeDashArray parameter to the setGrid method.

marineusde commented 3 months ago

good idea, I added it (little bit more complex) in my fork in Version 1.4.1:

https://github.com/marineusde/larapex-charts

you can use it easily:

$chart = (new BarChart)
  ->setGridOptions(
      (new GridOption())->setStrokeDashArray(5)
);