Page 1 of 1
Map Series Type
Posted: Wed Jan 03, 2007 7:12 am
by 9643419
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
Posted: Wed Jan 03, 2007 10:55 am
by narcis
Hi wilcohsu,
Have you seen the Maps demo available at TeeChart's program group? Full project sources are also included in the examples folder.
Map Series Type tutorial
Posted: Thu Jan 04, 2007 12:54 am
by 9643419
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]
Posted: Thu Jan 04, 2007 8:29 am
by narcis
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.
Posted: Tue Jan 09, 2007 9:16 am
by 9643419
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?
Posted: Tue Jan 09, 2007 9:26 am
by narcis
Hi wilcohsu,
Here you'll find an example of DataMember usage in a gantt series. The same will apply for map series.
Posted: Wed Jan 10, 2007 1:16 am
by 9643419
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!
Posted: Wed Jan 10, 2007 12:17 pm
by narcis
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.