How do I create an unsupported chart type?
I'd like a stacked area chart showing the numbers of each kind of agent.
Add a guide in the documentation about which module(s) need to be modified. And, some hints about how to modify them would be very helpful. No matter how many chart types you support somebody is always going to want another one. https://python-graph-gallery.com/250-basic-stacked-area-chart/ has hundreds of chart types and you can't do them all.
I'm also adding a feature request for the stacked area chart. I'm surprised it hasn't been requested already.
Are you talking about a stacked bar chart for the visualization server or just in general based on the data collector outputs?
- Actually I'm trying to get a stacked line chart showing the numbers of each kind of agent as time goes by.
- I've been digging into the problem.
- It looks to me like all that would be required is adding a "stacked: true" to the Y-Axes options of .local/lib/python3.7/site-packages/mesa/visualization/templates/js/ChartModule.js, but it didn't work.
On Wed, Jul 29, 2020 at 7:10 AM Tom Pike [email protected] wrote:
Are you talking about a stacked bar chart for the visualization server or just in general based on the data collector outputs?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/projectmesa/mesa/issues/872#issuecomment-665654067, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACVYFZE7YMVOPDGDHFLPXLR6ANULANCNFSM4PJA45TQ .
-- Drew Einhorn Where are we going? And, why am I in this handbasket?
Related #873