Now that I'm able to add trend lines to our charts as
I'm having an issue with printing. When the charts are moved from
their original Canvas to the print canvas (and then back again),
the trend lines that were drawn are erased.
Is this expected behaviour? If so, is there a way around it
(an event that I can catch maybe?)?
I found a solution. It's likely not the most elegant, but it
There are now 2 items in my annotationElements array. The 1st
is the CartesianDataCanvas, the 2nd is a simple Canvas. I use the
CartesianDataCanvas simply to get the height of the yAxis (I can't
seem to find that value anywhere else). I then draw onto the Cavnas
(not the CartesianDataCanvas) and all is well.