Closed AshishGupta001 closed 8 years ago
Its in development now! Thanks for feedback and when this feature is ready, i close this issue with commit code.
I believe that now it is possible to use legends in charts. Thanks for feedback and i ll wait for your response about this feature. For that just reopen this issue.
Hi Felix, Thanks for fixing the bugs I have logged. I happened to get to use the latest code only now as I got busy with other stuff. You fix worked like charm. Thanks.
As I was using the latest code, I had a few additional things which I would like to achieve along with the current charts. Maybe you already have them in your roadmap to develop and/or might consider them as good enhancement.
1) Currently 'legends' as displayed as bullet points. This takes vertical space if there are 4-5 or more individual datasets. Can there be an option to instead display the legends horizontally as one single line.
2) I had requirement to display data in tabular form along with the Graph. Currently I have coded the same to get the data in tabular form, but I think it will be good to have this as one of the features in your library. Implementation wise it's fairly easy. I tried looking into but could not quite understand on how you do
and how I can extend the same to output the table within a div element.
If you can provide some pointers, it will be helpful.
Thanks Ashish
On Fri, Mar 4, 2016 at 9:14 AM, Felix Costa notifications@github.com wrote:
I believe that now it is possible to use legends in charts. Thanks for feedback and i ll wait for your response about this feature. For that just reopen this issue.
— Reply to this email directly or view it on GitHub https://github.com/fxcosta/laravel-chartjs/issues/4#issuecomment-192083070 .
As per ChartJS doumentation, generating chart legend is as simple as invoking 'generateLegend()' method but how to get this implemented in laravel-chartjs is not documented. This is a important information especially when there are multiple datasets in a single chart.