Closed KoffeinFlummi closed 1 year ago
This looks totally amazing @KoffeinFlummi! By any chance, could you include fully working example (into examples
dir) that will render the picture similar to what you have put in this PR?
Requested features added as part of #47. Thanks again @KoffeinFlummi for this PR and inspiration.
Thanks to @uandere and apologies for the silence, I've unfortunately been pretty busy these past few weeks.
This adds the ability to specify a callback for formatting the min/max labels for both the x and y axis. This allows formatting the x axis as dates (#9) or adding units, and including colored strings.
I have also included a commit that changes the rendering order so that the axes are printed behind the plots. This prevents the white of the axes resetting the color of the plots. If you want, I can split this up into multiple PRs.
Example Code (
from
andto
arechrono::NaiveDate
):Result (without reordering commit):
Result (with reordering commit):