fxcosta / laravel-chartjs

Simple package to facilitate and automate the use of charts in Laravel 5.x using Chartjs v2 library
486 stars 112 forks source link

How to make mixed graphics #52

Closed bitqubeio closed 6 years ago

bitqubeio commented 7 years ago

bar and line

fxcosta commented 6 years ago

Hello! Sorry for the delay. You may not even need help any more, but I should respond for future reference. What kind of problem are you having in rendering multiple charts? This is perfectly possible as long as you create charts with different names and render them according to each name:

            <div style="width:100%;">
                {!! $chartjsLine->render() !!}
            </div>

            <div style="width:100%;">
                {!! $chartjsBar->render() !!}
            </div>

For now I'll leave the issue closed. If there is any problem, you can reopen it! Thanks!