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

Message ListMessage List     Post MessagePost Message

  Chart's background image made speed 2.5 times slower.
Posted by Yejin Lee on Aug-08-2017 17:42
Hi, I have a "speed issue" with ChartDirector.

My program became so slow after I set background image on the chart.

I think this is ChartDirector's problem because the speed became much better if I don't use background image.



I'm using ChartDirector for Java, and the version is 83886081.



Do you guys have any solution to solve this issue?

or was it already updated on the newest version of ChartDirector?

Please let me know. Thanks.

  Re: Chart's background image made speed 2.5 times slower.
Posted by Peter Kwan on Aug-09-2017 01:32
Hi Yejin,

The version of ChartDirector you are using 83886081, when expressed in hexadecimal, is 0x5000001. It means it is version 5.0.1.

We have customers using background image from less than 1 Kbytes, to over 200MB bytes in size. If the background image byte size is significantly bigger than the chart, it can make the system slower. In many applications, ChartDirector can draw the charts very fast, and the main CPU usage is for compressing the chart image into PNG or JPG. If there is a big background image, it can make the compression slower.

Are you writing a web or desktop application? For the background image, is it possible to provide me with the image for testing, and also provide me with your chart image without the background image, and your chart image with the background image? I need these information so I can know your original chart type and size, and I can try it myself to determine the cause of the problem.

If you cannot post these information to the public forum, you may email me directly at pkwan@advsofteng.net

Regards
Peter Kwan