1 Reply Latest reply on Jan 29, 2009 11:38 AM by yantzgh

    Printing charts that contain the Cartesian Canvas

    yantzgh
      Now that I'm able to add trend lines to our charts as discussed here, 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?)?

      Thanks,
      Greg.
        • 1. Re: Printing charts that contain the Cartesian Canvas
          yantzgh Level 1
          I found a solution. It's likely not the most elegant, but it works...

          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.