Hi!
What is the basic configuration process to fill the Map values?
For example, I add a 'Spain' Series to the TChart component in desingtime.
Then, at runtime, I want to fill or modify the values of each state or poligon. How can I do it?
I have been trying it either manually and using a DataSource but I can't get it to work
Help with Map Series data
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi santycg,
You can access the shapes using either its index or name, for example:
You can access the shapes using either its index or name, for example:
Code: Select all
Series1.Shapes[0].Color:=clRed;
Series1.Shapes.ByName['Girona'].Color:=clLime;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi santycg,
You can use OnGetMarkText event and set to an empty string those marks you don't want to be visible.
You can use OnGetMarkText event and set to an empty string those marks you don't want to be visible.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |