Why is the legend printing with incorrect size?
Posted: Tue Aug 30, 2011 8:47 pm
Hello!
I have a chart that displays two right-aligned legends. The first legend is the standard chart legend, and the second is a TExtraLegend tool. When I draw the legends on the screen, they appear correctly. It looks like this: 'Color by Cum Gas' is the standard legend and 'Size By Latest Gas' is the TExtraLegendTool.
When I print the chart by calling TChart.PrintLandscape, the resulting file looks like this: Do you have any idea what might be going wrong here? I have tried looking into the TCustomChart.DrawTitlesAndLegend method, but I didn't see anything that looked like it would cause the legend to become huge. Is there another method you could reccomend for me to step through to try and understand what is happening?
Thanks a lot!
-erzsebet
I have a chart that displays two right-aligned legends. The first legend is the standard chart legend, and the second is a TExtraLegend tool. When I draw the legends on the screen, they appear correctly. It looks like this: 'Color by Cum Gas' is the standard legend and 'Size By Latest Gas' is the TExtraLegendTool.
When I print the chart by calling TChart.PrintLandscape, the resulting file looks like this: Do you have any idea what might be going wrong here? I have tried looking into the TCustomChart.DrawTitlesAndLegend method, but I didn't see anything that looked like it would cause the legend to become huge. Is there another method you could reccomend for me to step through to try and understand what is happening?
Thanks a lot!
-erzsebet