Hi~
I have TeeChartV7.06 in BCB5 . I am trying to use a surface.
I world like to draw the color of surface like Pic1,but I have Pic2 now.(
I send the Pic at news://www.steema.net/steema.public.attachments
newsgroup.)
Is there anyway to do that?
I've already tried below code,but it's can't work
Series1->ColorRange(Series1->YValues, 0.190,0.2,clRed);
Series1->ColorRange(Series1->YValues, 0.180,0.190,clBlue);
Series1->ColorRange(Series1->YValues, 0.170,0.180,clBlack);
Series1->ColorRange(Series1->YValues, 0.160,0.170,clYellow);
for(i=0;i<Series1->Count();i++)
{
if ((Series1->YValue<0.2) & (Series1->YValue>0.190))
{ Series1->ValueColor = clRed; }
else
if ((Series1->YValue<0.190) & (Series1->YValue>0.180))
{ Series1->ValueColor = clYellow; }
else
if ((Series1->YValue<0.180) & (Series1->YValue>0.170))
{ Series1->ValueColor = clGreen; }
else
if ((Series1->YValue<0.170) & (Series1->YValue[i]>0.160))
{ Series1->ValueColor[i] = clBlue; }
}
Thanks fo your patience and help
Icys
A problem about surface's color
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Icys,
As I told you in the newsgroups, to achieve that you need TIsoSurfaceSeries which beta version I've already sent to you.
I've also replied to your message on how to install the sources.
As I told you in the newsgroups, to achieve that you need TIsoSurfaceSeries which beta version I've already sent to you.
I've also replied to your message on how to install the sources.
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 |