epispot / EpiJS

A toolset for analyzing and creating epidemiological models.
https://epi.js.org
GNU General Public License v3.0
5 stars 2 forks source link

Feature - Adding a `plots` module and no longer plotting charts in the `pre` module #59

Closed Quantalabs closed 3 years ago

Quantalabs commented 3 years ago

Is your feature request related to a problem? Please describe. Right now, the pre module only outputs a direct graph, unlike all the other modules.

Describe the solution you'd like Instead, returning the output and then including a plots module, which could be extended in the future to also plot graphs from the com and model modules, which will take the data and plot it.

Describe alternatives you've considered The only way to access the data is to use the ChartJS API to then fetch the chart and extract the data.

Additional context Work is starting on the chart-fix branch built off the v2.0.0 branch.

Quantalabs commented 3 years ago

This was fixed in #61, however, it isn't merged to the main branch, and will be when we merge 2.0.0 into main and release the new version.