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

withoutGrid() not working #84

Open
akamasAT opened this issue Feb 8, 2023 · 0 comments
Open

withoutGrid() not working #84

akamasAT opened this issue Feb 8, 2023 · 0 comments

Comments

@akamasAT
Copy link

akamasAT commented Feb 8, 2023

I want to get rid of the grid (the gray lines), the option withoutGrid() should handle this I think, but it has no effect on the Chart.

image

$lineChartModel = (new LineChartModel())->multiLine();
        $count->each(function ($value, $key) use(&$lineChartModel) {
            $lineChartModel->addSeriesPoint('Count', Carbon::parse($key)->format("F Y"), $value);
        });
        $lineChartModel->setSmoothCurve()
            ->setXAxisVisible(false)
            ->setYAxisVisible(false)
            ->withoutGrid()
            ->setColors(['#6eb33e'])
            ;

the Method is not documented - is it deprecated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant