Non Linear increase in draw time of symbols

TeeChart for ActiveX, COM and ASP
Post Reply
jacques
Newbie
Newbie
Posts: 30
Joined: Thu Nov 20, 2008 12:00 am
Location: South Africa
Contact:

Non Linear increase in draw time of symbols

Post by jacques » Fri Jan 09, 2009 6:10 am

Dear sir / madam

With regards my previous query, I have uploaded a project that illustrates the problem (TeeTestTwo.zip). The application has been developed in VisualStudio 2008.

It is a test project consisting of a dialog box and three buttons to draw 500 1000 and 2000 symbols respectively, thus illustrating the phenomenon.

The application makes provision for only one press of a button, after which the application needs to be restarted.

Regards
Jacques

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Jan 14, 2009 11:51 am

Hi Jacques,

Thanks for the example project, we think the problem is that Shape series is not designed for plotting so much points. Tests here confirmed that Bar3D series performs much better, you could try using that. We will also add this as an enhancement to be done at the wish-list.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

jacques
Newbie
Newbie
Posts: 30
Joined: Thu Nov 20, 2008 12:00 am
Location: South Africa
Contact:

Increase in plot time

Post by jacques » Wed Jan 14, 2009 12:22 pm

Hello Narcis

Thanks for analyzing the problem.
At present we have adapted the the software to 500 or less symbols (shapes).

We selected the Steema software specifically because of its capability to draw "symbolic (shapes) plots". We not only use bars but also triangles, inverted triangles etc to represent events over a two dimensional time frequency domain.

I realise that this is "out of context" usage.

I would appreciate it if you could place this optimization on a wish list for later update or at least further investigation.

It seems that every time a shape (AddSeries) is added a process is started scanning from series 0 to the last addition, but that is only speculation.


I will upload a screenshot of the application for you to get an idea of what we are attempting.

Regards
Jacques

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Jan 14, 2009 12:32 pm

Hi Jacques,

Sure, we will add the issue to the wish-list.

Also, looking at your image, using Bar3D series in a 2D you could change its style, for example:

Code: Select all

    TChart1.Series(0).asBar3D.BarStyle = bsInvPyramid
An alternative would be using Points series with different pointer styles:

Code: Select all

    TChart1.Series(0).asPoint.Pointer.Style = psTriangle
With points series you could use a single series and use its OnGetSeriesPointerStyle event for setting each point style.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply