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

Message ListMessage List     Post MessagePost Message

  Automation Error ImageMap
Posted by Alexandre Rocha on Mar-18-2010 04:46
Hello,
The truth is the error "automation error" when I add more than 10 lines in the graph, and I believe it is the volume of data.
Is there a limit on the data component of the free version?
I'm getting paid a license, make the request today.
However, I wonder if this problem is on the license, or a limit of ImageMap.
There is another way to display legend when I move the mouse over the point without the ImageMap?
Thank you!
Alexandre Rocha

  Re: Automation Error ImageMap
Posted by Peter Kwan on Mar-18-2010 16:55
Hi Alexandre,

The issue should not be related to the free version.

Whereas there is not a built-in limit on the volume of data, there is a practical limit determined by your computer resources (using limited by memory in the computer).

ChartDirector has been tested to up to 2 million data points, and it works normally. However, note that if there are a large number of data points, and if image map is used, the system may use a large amount of memory. It is because it is memory intensive to create "hot spots" in the user interface. A single hot spot may consume a few hundred bytes.

I am not sure how many points you have in each of your lines. Note that most computer screen has less than 2000 pixels wide. The chart plot area probably is even smaller (typically only a few hundred pixels wide). So it is not useful to create a line with a lot more than 1000 points. It will be a waste of resources, as the points may overlap and the screen cannot display them anyway. If you have a lot of points per line, it is suggested you aggregate them first, before passing them to ChartDirector.

For example, if you have 50000 points per line, you may reduce them by breaking the 50000 points into 500 intervals, each with 100 points. Then you may retain only the maximum and minimum points for each interval and discard all other points. This will reduce the line to 1000 points, and the line will look virtually the same as the 50000 points line on a chart.

If each of your line only have 1000 points, then total for 10 lines are only 10000 points. The image map will be a few megabytes. Most computers should handle this well. (Note that if you are writing a web application, you would need to have a sufficiently fast network to transfer the megabytes of image map to the browser.)

Hope this can help.

Regards
Peter Kwan