We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
$multiLineChartModel = $aggregatedData->reduce( function ($chartModel, $data) { // Assuming $data->date_interval is your column category (x-axis) $chartModel->addSeriesPoint('Notified Users', $data->date_interval, $data->total_sent); $chartModel->addSeriesPoint('Opted-Out Users', $data->date_interval, $data->total_not_sent); $chartModel->addSeriesPoint('Clicks', $data->date_interval, $data->total_open_count); return $chartModel; }, LivewireCharts::multiLineChartModel() ->setTitle('Notification Stats') ->setAnimated(true) ->setDataLabelsEnabled(true) ->withOnPointClickEvent('onPointClick') ->setSmoothCurve() ->multiLine() ->setColors(['#15803d', '#b91c1c', '#1d4ed8']) // Set your colors accordingly );
i don't understand as to why the line is off. jan'24 blue line should have been in 5 but instead it is in 20, same as the red line..
The text was updated successfully, but these errors were encountered:
No branches or pull requests
i don't understand as to why the line is off. jan'24 blue line should have been in 5 but instead it is in 20, same as the red line..
The text was updated successfully, but these errors were encountered: