Page 1 of 1
Non Linear increase in draw time of symbols
Posted: Fri Jan 09, 2009 6:10 am
by 15050891
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
Posted: Wed Jan 14, 2009 11:51 am
by narcis
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.
Increase in plot time
Posted: Wed Jan 14, 2009 12:22 pm
by 15050891
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
Posted: Wed Jan 14, 2009 12:32 pm
by narcis
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.