Hi,
I am using colorgrid for mapping with C#. xCoordinate, yCoordinate are coordinate array ,zValue is the value of x-y, c is different colors , programme is :
TChart2.Series(0).asColorGrid.IrregularGrid = true
for (int i = 0; i < MyDb.zValue.Length; i++)
{
UInt32 c = MyDb.allocate(MyDb.zValue);
TChart2.Series(0).asColorGrid.AddXYZ(xCoordinate, zValue, yCoordinate, "", c);
}
sometimes I can work out images,but sometimes I cannot, see attached. I checked the original data of black color in images, the color should not be black.I wonder if data are large(about 50000 records)
Now if I use addarrayXYZ(x,z,y) to replace addxyz to finish the same task. z represents color, how I define z in c#?
thanks,
How to use AddArrayXYZ method in color grid
How to use AddArrayXYZ method in color grid
- Attachments
-
- failed image
- p1.jpg (101.39 KiB) Viewed 16673 times
Re: How to use AddArrayXYZ method in color grid
Hello,
You may be interested in reading the explanation here about how to populate this type of series.
If you still find problems with it, please try to arrange a simple example project we can run as-is to reproduce the problem here.
Thanks in advance.
You may be interested in reading the explanation here about how to populate this type of series.
If you still find problems with it, please try to arrange a simple example project we can run as-is to reproduce the problem here.
Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: How to use AddArrayXYZ method in color grid
Yeray,
Thank you for your answer instantly. I find I cannot show the color rightly. I mark two points that show color incorrectly(see my images).
I give you a simple programme, Please help me to check it. I hope there were no black(or blue) bars in it.
I appreciate your great help.
thanks,
robinson.
Thank you for your answer instantly. I find I cannot show the color rightly. I mark two points that show color incorrectly(see my images).
I give you a simple programme, Please help me to check it. I hope there were no black(or blue) bars in it.
I appreciate your great help.
thanks,
robinson.
- Attachments
-
- wrong image
- question.jpg (317.65 KiB) Viewed 16564 times
Re: How to use AddArrayXYZ method in color grid
Yeray,
Here is my programme. The colors on my image at my marked points should be the colors I marked. I donot know if I attached my programme successfully.
Merry Christmas,
Robinson
Here is my programme. The colors on my image at my marked points should be the colors I marked. I donot know if I attached my programme successfully.
Merry Christmas,
Robinson
Re: How to use AddArrayXYZ method in color grid
Hi Robinson,
I can't see the attachment. Don't you get an error message indicating what's wrong?
If you still find problems with it, you can post your files at our upload page or directly send them to us at "info at steema dot com" by mail.
I can't see the attachment. Don't you get an error message indicating what's wrong?
If you still find problems with it, you can post your files at our upload page or directly send them to us at "info at steema dot com" by mail.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: How to use AddArrayXYZ method in color grid
Yeray,
I have send email to you.
Cheers,
Robinson
I have send email to you.
Cheers,
Robinson
Re: How to use AddArrayXYZ method in color grid
Hi Robinson,
We've checked the mail account but haven't found your mail. Could you please send it again at "info at steema dot com" or "sales at steema dot com"?
Thanks in advance.
We've checked the mail account but haven't found your mail. Could you please send it again at "info at steema dot com" or "sales at steema dot com"?
Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: How to use AddArrayXYZ method in color grid
Hi,Yeray,
I have emailed you again.
Thanks,
Robinson
I have emailed you again.
Thanks,
Robinson