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
I like morris.js but I'm wondering if it is capable of doing regions with the line charts, something similar to this:
I don't care about the different shading, I'm talking about the green/red background colors in the chart from top to bottom.
The text was updated successfully, but these errors were encountered:
Hello,
Yes, this is possible by settings an array in the options events, have a look to the example in the file events.html :
Morris.Line({ element: 'graph', data: week_data, xkey: 'period', ykeys: ['licensed', 'sorned'], labels: ['Licensed', 'SORN'], events: [ '2011-04', ['2011-05', '2011-06'], '2011-08' ] });
Sorry, something went wrong.
Bit late now, but thanks haha.... good to know for next time :)
Add options to display areas in background
636d073
Original idea morrisjs#723
No branches or pull requests
I like morris.js but I'm wondering if it is capable of doing regions with the line charts, something similar to this:
I don't care about the different shading, I'm talking about the green/red background colors in the chart from top to bottom.
The text was updated successfully, but these errors were encountered: