laravel-charts
laravel-charts copied to clipboard
Package to draw charts in Laravel with Chart.js
 here my code this is homecontroller ` $chart_options = [ 'chart_title' => 'Users by months', 'report_type' => 'group_by_date', 'model' => 'App\Models\User', 'group_by_field' => 'created_at', 'group_by_period'...
Tried setting it in option but it doesn't follow the height: ``` $chart_options = [ 'chart_height' => 750, 'chart_title' => 'Users', 'report_type' => 'group_by_date', 'model' => 'App\Models\User', 'group_by_field' => 'created_at',...
I want to display chart data based on the results sum(value) as total_value from my query. why can't the total_value attribute be displayed on the chart? query: `$rooms2 = Room::query()...
I added a new dropdown day, week, month year, when i change the dropdown value call Ajax and get new data so how do I change chart data in this...
So, I have a `Student` model that has `section_id` column. I was able to create a line graph that shows number of enrollments every year. Now, I want to make...
Chart still renders date range starting at first unfiltered record even when specifying `filter_period`, `range_date_start` and `range_date_end`. ``` $params = [ "chart_title" => "Transactions" "report_type" => "group_by_date" "model" => "App\Models\Transaction",...
- Add percentage label plugin for pie & doughnut chart - Add value label plugin on top of bar chart - Thanks to https://github.com/emn178/chartjs-plugin-labels
If non-English string is apply to chart title, the chart won't show anything and comes with javascript error Reproduce: ``` $chart_options = [ 'chart_title' => '標題', //which is Chinese string...
Good day, Can I see the content of your **user()** function in the **transaction model**? I want to display the **name** rather than the ID number in the chart. ...