Annotations shift at print AND print preview
Posted: Tue Feb 28, 2006 4:55 am
Howdy,
I have scoured the posts for a solution to keep the annotiations from moving at print time. I display the selected PIE labels based on some very good code found in this forum to put the label for each PIE at the xcenter and ycenter. BUT, when we go to print this chart thru VB common dialog OR the print preview TEECOMMANDER, the annotations "fly around" the canvas. So, again I found some code snippets on this forum to reference the left and top axis as the starting points WHEN a var we called m_bChartIsPrinting = True. The QA staff is testing on various printiers and the annotations are non-existant OR tucked up into the top left-hand corner of the print out (we have 3 pies max).
I have a "Private Sub DrawAnnotations()" that gets called in the TChart1_OnBeforeDrawSeries() sub. The printouts here at our office on an HP4550 and the MS image writer (ms software printer) work fine (i.e. the annotations line-up ok), but at the QA shop they go bye-bye OR take an upper-corner nap. But, then again, I made some "tweeks" to the code to make them line-up properly in the OnBeforeDrawSeries at print time...
I get the same print results thru the IDE as well as the EXE.
I give up...gimme a vector, please?
I have scoured the posts for a solution to keep the annotiations from moving at print time. I display the selected PIE labels based on some very good code found in this forum to put the label for each PIE at the xcenter and ycenter. BUT, when we go to print this chart thru VB common dialog OR the print preview TEECOMMANDER, the annotations "fly around" the canvas. So, again I found some code snippets on this forum to reference the left and top axis as the starting points WHEN a var we called m_bChartIsPrinting = True. The QA staff is testing on various printiers and the annotations are non-existant OR tucked up into the top left-hand corner of the print out (we have 3 pies max).
I have a "Private Sub DrawAnnotations()" that gets called in the TChart1_OnBeforeDrawSeries() sub. The printouts here at our office on an HP4550 and the MS image writer (ms software printer) work fine (i.e. the annotations line-up ok), but at the QA shop they go bye-bye OR take an upper-corner nap. But, then again, I made some "tweeks" to the code to make them line-up properly in the OnBeforeDrawSeries at print time...
I get the same print results thru the IDE as well as the EXE.
I give up...gimme a vector, please?