Print Page | Close Window

Can't find sub/superscripts and printing support

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Chart Control
Forum Description: Topics Related to Codejock Chart Control
URL: http://forum.codejock.com/forum_posts.asp?TID=21696
Printed Date: 28 April 2024 at 8:40am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Can't find sub/superscripts and printing support
Posted By: MichaelN
Subject: Can't find sub/superscripts and printing support
Date Posted: 08 June 2013 at 5:33pm
Where is printing support for charts? Also, I can't figure out how to use superscripts and subscripts in labels and legend. Thanks in advance for your help.
 
Michael



Replies:
Posted By: MichaelN
Date Posted: 09 June 2013 at 8:00pm
I answered my superscript/subscript question by setting baseline and font size in the Markup.
 
Printing and saving to an image still have issues in version 16.1. You can easily see the printing issue using the Print command in the provided StockSample chart. I had the same issues in version 15.
 
I added the PrintDC() and SaveAsImage() methods to the ChartBrowser sample. For both methods, any chart element using fonts does not scale correctly to the output device context. SaveAsImage works correctly only if the image pixel dimensions are exactly the same as the view. PrintDC never works correctly because the page dimensions are never the same as the view. The printed font is always tiny and that causes all the legends and text markers to be wrong. For example, if the page or image dimensions are 4 times larger than the view, then the fonts are 1/4 as large as they should be and all layout involving text is messed up accordingly.
 
Both BCG and GigaByte chart components print and export to a file correctly. So I assume there must be some initialization or something I am not doing for Chart Pro. Is there a fix?
 
Michael


Posted By: markr
Date Posted: 03 January 2014 at 3:15pm
We really need chart printing fixed as well. Hasn't worked properly for a while now. Ugh.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net