ArielMejiaDev / larapex-charts

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

Stubs and Commands #42

Closed MainaUrbanus closed 3 years ago

MainaUrbanus commented 3 years ago

Hello, thanks for a wonderful package. Is it possible to do away with the automatic creation of stubs and commands... I find them not useful at the moment

ArielMejiaDev commented 3 years ago

Hi @MainaUrbanus of course, you can create a chart by yourself by using the LarapexChart facade or the LarapexChart class with dependency injection

just copy the code from a generated chart file and use it in your own service or controller and you only need to remove the chart command in app/Console/Commands and the chart stubs, and you can create the charts by yourself.

the chart file creation is helpful because the package supports a lot of methods to customize the charts and could be hard to remember all the syntax so there are proper examples, but you are free to remove the command and stubs

MainaUrbanus commented 3 years ago

Hello, Why did you close the issue?I am still seeing the commands and stubs being recreated even after deleting them... THis is causing me to have some permission errors and it is annoying. On Monday, 30 August 2021, 18:55:20 GMT+3, ArielMejiaDev @.***> wrote:

Closed #42.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.