Color Grid map
Posted: Tue Jan 25, 2005 9:12 am
Hi,
I need to design a grid a colored cells but Color Grid map dosen't work well!!
Infact with the following code it (correctly) produces a map of 4 cells centered in (1,1), (2,1), (1,2), (2,2):
TColorGridSeries1->AddXYZ(1,1,1);
TColorGridSeries1->AddXYZ(2,2,1);
TColorGridSeries1->AddXYZ(1,3,2);
TColorGridSeries1->AddXYZ(2,4,2);
but when i use floating numbers it dosen't generate, as it would, a map of 4 cells centered in (1.5,1), (2.5,1), (1.5,2), (2.5,2):
TColorGridSeries1->AddXYZ(1.5,1,1);
TColorGridSeries1->AddXYZ(2.5,2,1);
TColorGridSeries1->AddXYZ(1.5,3,2);
TColorGridSeries1->AddXYZ(2.5,4,2);
How can I solve this problem??
I need to design a grid a colored cells but Color Grid map dosen't work well!!
Infact with the following code it (correctly) produces a map of 4 cells centered in (1,1), (2,1), (1,2), (2,2):
TColorGridSeries1->AddXYZ(1,1,1);
TColorGridSeries1->AddXYZ(2,2,1);
TColorGridSeries1->AddXYZ(1,3,2);
TColorGridSeries1->AddXYZ(2,4,2);
but when i use floating numbers it dosen't generate, as it would, a map of 4 cells centered in (1.5,1), (2.5,1), (1.5,2), (2.5,2):
TColorGridSeries1->AddXYZ(1.5,1,1);
TColorGridSeries1->AddXYZ(2.5,2,1);
TColorGridSeries1->AddXYZ(1.5,3,2);
TColorGridSeries1->AddXYZ(2.5,4,2);
How can I solve this problem??