Printing from previewer after moving DragMarks
Posted: Tue Nov 14, 2006 2:46 pm
I'm trying to print scatterplots that have marks that can be moved by the user. I'm using the method posted in this forum of saving the customized marks coordinates and restoring them to ensure that the marks are in the correct places when the graph is resized, copied to clipboard etc. I can also print directly by creating a metafile of the chart and sending it to the printer with StretchDraw. This all works OK.
However, I've like to print from the TChartPreviewer. That uses its own print routine that results in the customized marks being shifted to the upper left. The preview shows the customized marks in the correct place, but they are out of place on the actual printout. I've tried adjusting the marks position in the OnBeforePrint event but that doesn't help.
Can you tell me:
a) how can I get customized marks to print in the correct position when printing from the print previewer, and
b) will the new ver. 8 of TeeChart define the positions of customized marks in axis coordinates rather than screen coordinates, thus saving all this messing about when using drag marks?
Thanks,
Warren
However, I've like to print from the TChartPreviewer. That uses its own print routine that results in the customized marks being shifted to the upper left. The preview shows the customized marks in the correct place, but they are out of place on the actual printout. I've tried adjusting the marks position in the OnBeforePrint event but that doesn't help.
Can you tell me:
a) how can I get customized marks to print in the correct position when printing from the print previewer, and
b) will the new ver. 8 of TeeChart define the positions of customized marks in axis coordinates rather than screen coordinates, thus saving all this messing about when using drag marks?
Thanks,
Warren