Open stefaneidelloth opened 2 years ago
The appearance of the chart seems to be "hard coded" in JavaScript:
chart.data.labels.push(control.tick);
The global variable "control" and the tick values are defined in
var control = new MesaVisualizationControl();
This is in fact related to mesa
(for some reason the javascript code was just copied over). Would you like to ask over there?
Not sure if it's related but there's an open PR that might be of interest to you: https://github.com/projectmesa/mesa/pull/1139
Issue transferred to mesa for advice
I made #1540.
Instead of steps I would like to show year numbers on the horizontal axis:
=> Can I do so in Python (e.g. by inheriting from ChartModule.py) or do I need to adapt some JavaScript code? Where?