ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Improving image resolution
Posted by Valorie on May-18-2013 08:01
My customer is complaining that the image resolution is not very good. Can anyone provide
tips on how to improve image resolution? For example, should I make the chart bigger via
new XYChart and then display it smaller via html <img>?

  Re: Improving image resolution
Posted by Peter Kwan on May-21-2013 01:59
Hi Valorie,

If you are referring to display resolution (as opposed to print resolution), the best resolution is achieved if the display pixel size is the same as the chart size. For example, if the chart on your web page is displayed as 800 x 600 pixels, then it is best to create the chart as 800 x 600 in size pixels.

If you create a chart at 800 x 600, but view it using a pixel size of 700 x 440 (eg., the width and height attribute of the <IMG> tag is set to 700 x 400), the browser will resize the chart, and this will cause distortion.

If your user thinks the resolution is not good, may be you can ask him to clarify on which way the resolution is not good. For example, is the text not big enough, or not sharp enough, or is the text too sharp (some people prefer small text too be "smooth" and not to be too sharp), or is it the line is "jagged", etc.. It would be useful if you can ask the user to take a screen shot, so we can see the exact problem. (The display of a web page in every computer can be different. For example, many browers allow the user to "magnify" the web page, and this changes the display pixel size.)

Regards
Peter Kwan