Hi !
There's a new sub-project (the idea is to include it with the next future version of TeeChart), to perform "Clustering" algorithms.
For more information and an executable beta example, visit this link:
http://www.steema.us/files/public/teech ... orial.html
As always, feel free to post here your inquiries and suggestions !
regards
david
Clustering with TeeChart
-
- Site Admin
- Posts: 83
- Joined: Wed Nov 12, 2003 5:00 am
- Location: Girona, Catalonia
- Contact:
Re: Clustering with TeeChart
Hi.
This is a great tool. If I can make it work. I am running D7 and just installed Teechart 2011. Actually I purchased the upgarde for this tool.
So I start with adding the followig to my code:
uses TeeClusteringTool;
Delphi complains that it cannot find "TeeClusteringTool.dcu"
So add the following sourse files to my project:
"TeeClusteringTool.pas" and "TeeClustering.pas"
and compile again and get the following errors:
__________________________________________________
[Error] TeeClusteringTool.pas(540): This form of method call only allowed for class methods
[Error] TeeClusteringTool.pas(541): Undeclared identifier: 'PolygonCentroid'
[Error] TeeClusteringTool.pas(774): Undeclared identifier: 'Z'
[Error] TeeClusteringTool.pas(864): Undeclared identifier: 'PolygonCentroid'
[Fatal Error] XPplot.pas(13): Could not compile used unit 'TeeCluster\TeeClusteringTool.pas
______________________________________________________________________________
and it comes from this function:
function TClusteringTool.GetHullCentroid(const ACluster:TCluster):TPointFloat;
var tmp : TPointArray;
begin
GetClusterPoints(ACluster, tmp);
TTeeCanvas.ConvexHull(tmp); <------------------ Error starts here.
result:=PolygonCentroid(tmp);
tmp:=nil;
end;
How can I proceed?
Can you provide sample code for the demo you have for this tool?
BR
emwamin
This is a great tool. If I can make it work. I am running D7 and just installed Teechart 2011. Actually I purchased the upgarde for this tool.
So I start with adding the followig to my code:
uses TeeClusteringTool;
Delphi complains that it cannot find "TeeClusteringTool.dcu"
So add the following sourse files to my project:
"TeeClusteringTool.pas" and "TeeClustering.pas"
and compile again and get the following errors:
__________________________________________________
[Error] TeeClusteringTool.pas(540): This form of method call only allowed for class methods
[Error] TeeClusteringTool.pas(541): Undeclared identifier: 'PolygonCentroid'
[Error] TeeClusteringTool.pas(774): Undeclared identifier: 'Z'
[Error] TeeClusteringTool.pas(864): Undeclared identifier: 'PolygonCentroid'
[Fatal Error] XPplot.pas(13): Could not compile used unit 'TeeCluster\TeeClusteringTool.pas
______________________________________________________________________________
and it comes from this function:
function TClusteringTool.GetHullCentroid(const ACluster:TCluster):TPointFloat;
var tmp : TPointArray;
begin
GetClusterPoints(ACluster, tmp);
TTeeCanvas.ConvexHull(tmp); <------------------ Error starts here.
result:=PolygonCentroid(tmp);
tmp:=nil;
end;
How can I proceed?
Can you provide sample code for the demo you have for this tool?
BR
emwamin
Re: Clustering with TeeChart
Hello emwamin,
You are right. We'll try to correct it for the next maintenance releases.
I'll send you the required units to the mail account you have registered in these forums.
You are right. We'll try to correct it for the next maintenance releases.
I'll send you the required units to the mail account you have registered in these forums.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |