mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
.. annotate(hline|vline, "text", style, value) to add a horizontal or vertical line to the plot for the current series on a UserChart. style is one of solid, dash, dot, dashdot or dashdotdot which are the standard Qt pen styles for drawing lines. I also took the opportunity to refactor how annotations are passed from the datafilter down to the generic plot. This should make it far easier to add annotations in the future. .. fixed a SEGV in the voronoi annotation, which was related to memory management and the sqrt_nsites variable (honestly, I am amazed it ever worked). .. labels in Python and R charts are now broken, will fixup shortly when worked out how it should work (annotations are related to a series).