Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add options to custom override config in chart #33

Merged
merged 4 commits into from Jan 24, 2024

Conversation

pandigresik
Copy link
Contributor

example usage
public function build(): \ArielMejiaDev\LarapexCharts\LineChart { return $this->chart->lineChart() ->setHeight(150) //->setTitle('Sales during 2021.') //->setSubtitle('Physical sales vs Digital sales.') ->addData('Physical sales', [40, 93, 35, 42, 18, 82]) //->addData('Digital sales', [70, 29, 77, 28, 55, 45]) //->setXAxis(['January', 'February', 'March', 'April', 'May', 'June']) ->setOptions([ 'xaxis' => [ 'labels' => ['show' => false] ] ]) ; }
in this example i override value from xaxis.labels.show to false, default is true

@jappi00
Copy link

jappi00 commented Dec 5, 2021

Hello,

I love it! With this you can add sparkline options and so on.

@AbdallaMohammed
Copy link

@ArielMejiaDev

can you merge this feature?

@ArielMejiaDev
Copy link
Owner

It looks really cool @pandigresik I will check this during this week.

@zawilliams
Copy link

@ArielMejiaDev would love for this to be merged as well. Any work needed here from the community to get this merged?

@dudelisius
Copy link

Would love to see this merged! What is the status for this PR?

@ArielMejiaDev ArielMejiaDev merged commit 5a5bc9b into ArielMejiaDev:master Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants