Map Series Type

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
wilcohsu
Newbie
Newbie
Posts: 40
Joined: Mon Dec 18, 2006 12:00 am

Map Series Type

Post by wilcohsu » Wed Jan 03, 2007 7:12 am

I can't find map series type in teechart pro .net(v2.0.50727) tutorial.
So,some map information I can't catch.ex.No. of variables,DataSource Properties

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 03, 2007 10:55 am

Hi wilcohsu,

Have you seen the Maps demo available at TeeChart's program group? Full project sources are also included in the examples folder.
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

wilcohsu
Newbie
Newbie
Posts: 40
Joined: Mon Dec 18, 2006 12:00 am

Map Series Type tutorial

Post by wilcohsu » Thu Jan 04, 2007 12:54 am

Hi,Narcis

That Sample Project is not enough information for me.
How should I use Map to bind dataset?
Or how many variables are there in map?
[TeeChart 2.0.2546.16099]

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

Post by Narcís » Thu Jan 04, 2007 8:29 am

Hi wilcohsu,

TeeChart map format supported is .SHP files. The ESRI Shape (SHP) file format is a vector format created by the Environmental System Research Institute. SHP files support point, multi-point, polygon, polyline and multi-patches. Map series can also use any file format provided you can read them. All map series is about are poligons.

You can bind map series to a datasource as with any other map series. In VS2005 you can use bindingsource as I told here.
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

wilcohsu
Newbie
Newbie
Posts: 40
Joined: Mon Dec 18, 2006 12:00 am

Post by wilcohsu » Tue Jan 09, 2007 9:16 am

Hi,Narcis

This Sample "C:\Program Files\Steema Software\TeeChart for .NET v2\Examples\DemoProject\Series\Map_Series.cs"
use AddShape function to add polygons.

How can I use these properties(XValues.DataMember,YValues.DataMember,ZValues.DataMember,DataSource)
to achieve above map?

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

Post by Narcís » Tue Jan 09, 2007 9:26 am

Hi wilcohsu,

Here you'll find an example of DataMember usage in a gantt series. The same will apply for map series.
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

wilcohsu
Newbie
Newbie
Posts: 40
Joined: Mon Dec 18, 2006 12:00 am

Post by wilcohsu » Wed Jan 10, 2007 1:16 am

Hi,Narcis

I still was unable to achieve map of sample project(Map_Series.cs).
Could you please give me some map code for achieve that?

Best Regard!

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 10, 2007 12:17 pm

Hi wilcohsu,

Sorry but hadn't realised about that before. You should use Map series as in the example at C:\Program Files\Steema Software\TeeChart for .NET v2 Evaluation\Examples\MapProject\bin\ExecutableDemo, I though you had already seen that. Full project sources are also included.
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