fxcosta / laravel-chartjs

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

Can I show more than one graph? #55

Closed palmmyday closed 7 years ago

palmmyday commented 7 years ago

As picture below, we use 2 div to render my chart but there's a problem only the first

was rendered, how can I make multi chart in one page, are there anyway to fix this.

PS. I'm not good at english if I spell anything wrong my apologies.

21764338_1766178893409788_483054849_o

ibrunotome commented 7 years ago

Hi @palmmyday, check if the name (->name('name_here')) of your graphs are different, they must be.

palmmyday commented 7 years ago

@ibrunotome Problem solved,Thank you, very much!!! you just saved me and sorry for wasting your time.