Tchart ColorGrid resolution

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Dynamed
Newbie
Newbie
Posts: 11
Joined: Wed Jan 12, 2005 5:00 am

Tchart ColorGrid resolution

Post by Dynamed » Wed Sep 28, 2016 4:50 pm

Dear Personal support Steema

I wonder if with TChart component is possible to obtain the same color quality and resolution with colorgrid component relative to competing component TMS Software.
try to interpolate the data in the chart ,smoothing and yet the resolution does not improve, I would like to know if you have a better way to make this graph, based on the experience of you
using: teechartt pro 7:05 for Delphi 7

is attached example

greetings


Dynamed ind. with. ltda
Attachments
HRM5.PNG
Graphics
HRM5.PNG (428.89 KiB) Viewed 20419 times

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Tchart ColorGrid resolution

Post by Yeray » Thu Sep 29, 2016 7:11 am

Hello,

Could you please arrange a simple example project we can run as-is to see how are you exactly setting and populating your chart and series?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Dynamed
Newbie
Newbie
Posts: 11
Joined: Wed Jan 12, 2005 5:00 am

Re: Tchart ColorGrid resolution

Post by Dynamed » Thu Sep 29, 2016 12:44 pm

Good morning Sr. Yeray

thanks So much by replay

in attachment be project , remember compiled in delphi 7 and teechart 7.05

the project is a software witch capture data from device and plot this data on colorgrid chart

as spoken before the chart losses quality on cologrid chart and we need something near the competitor (TMS)

More one time thanks, best regards.

Dynamed
Attachments
foot.rar
project's file
(334.26 KiB) Downloaded 795 times

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Tchart ColorGrid resolution

Post by Yeray » Tue Oct 04, 2016 2:20 pm

Hello,

This is how the application you attached looks when using the current TeeChart version:
Project1_2016-10-04_16-18-05.png
Project1_2016-10-04_16-18-05.png (228.97 KiB) Viewed 20364 times
That is pretty similar to what you get with TeeChart 7, isn't it?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Dynamed
Newbie
Newbie
Posts: 11
Joined: Wed Jan 12, 2005 5:00 am

Re: Tchart ColorGrid resolution

Post by Dynamed » Tue Oct 04, 2016 3:03 pm

Good afternoon Sr. Yeray

thanks So much by replay

Yes, but i would like that was similar or equal the above and improve the quality and appearance of the graph. The same of first graph using Delphi 7 and Teechart 7.05.

More one time thanks, best regards.

Dynamed

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Tchart ColorGrid resolution

Post by Yeray » Wed Oct 05, 2016 6:52 am

Hello Dynamed,

If I set SGrid.SmoothBitmap to false in your example, the ColorGrid looks like this:
Project1_2016-10-05_08-36-28.png
Project1_2016-10-05_08-36-28.png (45.01 KiB) Viewed 20319 times
If I'm not wrong this resultant grid of 300x36 cells accurately represents your data.
An interpolation to reduce the size of the grid, calculating means, could make sense, but you are asking for the contrary.
Calculating new interpolation points between values would result in (1) fake values and (2) the same resultant grid, just with more resolution.
Is this what you would like to achieve?

Instead of doing this, SmoothBitmap feature in TeeChart's ColorGrid calls GDIPlus doing a "bicubic interpolation" of the pixels to smooth them.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Dynamed
Newbie
Newbie
Posts: 11
Joined: Wed Jan 12, 2005 5:00 am

Re: Tchart ColorGrid resolution

Post by Dynamed » Mon Oct 24, 2016 5:34 pm

Sr. Yeray

thanks So much by replay

So, I tried do modifications in my graphic, but i don´t get what i wanted.
Now, I will change my chart to Countour filed, but in realtime the colorGrid plot is more speeder than contour filed plot, do you know why?
For example, before I was using GridColor and the time of plot is good, but the quality ins't
I did one example using Countour filed and I can saw that the quality is very good, but the time to plot isn't.

Obs: In version 7.05 don't have option countour filed we have upgrade the version 7.05 to 15.

Now I was using Teechart 15 on delphi 7.

More one time thanks, best regards.

Dynamed

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Tchart ColorGrid resolution

Post by Yeray » Thu Oct 27, 2016 2:28 pm

Hello Dynamed,

If I change your TColorGrid series for a TContourSeries I get this:
ColorGrid.png
ColorGrid.png (360.66 KiB) Viewed 20240 times
I'm not sure if this is what you are looking for.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Dynamed
Newbie
Newbie
Posts: 11
Joined: Wed Jan 12, 2005 5:00 am

Re: Tchart ColorGrid resolution

Post by Dynamed » Thu Oct 27, 2016 5:22 pm

hi sr.Yeray

thanks so much by answer

unfortunately not yet what we looking for, but we found out one possible solution

if we use iso-Surface the result be near at we looking for, but the graphics plotting

too slowing as in realtime as in viewer by file same example attchament.

we would like what the response of plotting series Iso-Surface to be like same colorgrid Series

or another tchart series.

this is possible? if yes how we will do that !

thanks so much

best regards

Dynamed
Attachments
Exame1.rar
aplicativo
(35.73 KiB) Downloaded 777 times

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Tchart ColorGrid resolution

Post by Yeray » Mon Oct 31, 2016 12:30 pm

Hello,

I've simplified your example to compare the performance of the 3 series types: TSurfaceSeries, TContourSeries and TColorGrid:
SurfaceContourColorGrid.zip
(3.18 KiB) Downloaded 731 times
The IsoSurface seems to be faster than the TContourSeries for me.
The TColorgrid is the fastest of the 3, but it doesn't give the interpolated result you wish.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Dynamed
Newbie
Newbie
Posts: 11
Joined: Wed Jan 12, 2005 5:00 am

Re: Tchart ColorGrid resolution

Post by Dynamed » Tue Nov 15, 2016 6:48 pm

Hello Sr. Yeray
thanks by answer, again

We made your solution, but as I had tested before, it is still very slow to plot the graph, just like the cologrid we have a quick plot
A thing that we observe that if we test the same code in version 8 of the teechart the plotting of the iso-surface the plotting is very similar to that of the colorgrid, that is a possible solution. What we ask is
Is it possible to plot at the same speed as version 8 using the 2016 version?
If so, how can we do this?
If not, is it possible to downgrade from version 2016 to version 8?
Since we do not have version 8, (to be able to do the test in version 8 we had to take the code to a colleague who had version 8 ).

thanks so much

best regards

Dynamed

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Tchart ColorGrid resolution

Post by Yeray » Thu Nov 17, 2016 1:01 pm

Hello,

I see the drawing performance of the TIsoSurfaceSeries got worse since v2014.10.
I've seen this was already identified in the ticket #1438.
Dynamed wrote:Since we do not have version 8, (to be able to do the test in version 8 we had to take the code to a colleague who had version 8 ).
You could take versions older than v2014.10 login in the client area and navigating to the "Release archive" tab.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Dynamed
Newbie
Newbie
Posts: 11
Joined: Wed Jan 12, 2005 5:00 am

Re: Tchart ColorGrid resolution

Post by Dynamed » Fri Nov 18, 2016 1:35 pm

Hello Sr. Yeray
thanks by answer, again

I did downgrade of teechart 2016 to teechart 2010 and i did one test to saw if i could plot chart better.
When I plot in chart and just make analisys it's reasonable, but when i need make a exam in collect after any seconds more and less 5 seconds
the plot is slow and almost stopping. When i did test with colorgrid this not happen, but can't use colorgrid because need isolines of grid,
there are the component or function in tchart like colorgrid with isolines?
I need that in collect be more faster! Do you know how can i do for this problem?

thanks so much

best regards

Dynamed

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Tchart ColorGrid resolution

Post by Yeray » Mon Nov 21, 2016 3:59 pm

Hello,
Dynamed wrote:there are the component or function in tchart like colorgrid with isolines?
As you'll understand, the calculations performed to draw the levels in the TIsoSurfaceSeries need some time to be done, and improving the TIsoSurfaceSeries performance is the goal of the ticket #1438.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply