Hi there
Currently we use the contour chart and it works well .However we'd like to be able to fill the contours with different colours depending on the value. I understand this function was under development a while back. Does anyone know if this function has been implemented yet.
FYI. Our .NET TeeChart version is version 3
Thanks.
Filled Contours. Does It Work?
Re: Filled Contours. Does It Work?
Hello Dave,
Ok. I can check next code in last version 2011 of TeeChart.Net and seems that ColoEach works fine:
But, previous code doesn't work in last version 3. The only solution as you have, if you use version 3, is set property UsesColorRange = false and set UsesPalette property = true as do in next code:
I hope will helps.
Thanks,
Ok. I can check next code in last version 2011 of TeeChart.Net and seems that ColoEach works fine:
Code: Select all
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
Steema.TeeChart.Styles.Contour Contour1 = new Steema.TeeChart.Styles.Contour(tChart1.Chart);
Contour1.FillSampleValues();
Contour1.FillLevels = true;
Contour1.ColorEach=true;
tChart1.Draw();
}
Code: Select all
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
Steema.TeeChart.Styles.Contour Contour1 = new Steema.TeeChart.Styles.Contour(tChart1.Chart);
Contour1.FillSampleValues();
Contour1.FillLevels = true;
Contour1.UsePalette = true;
Contour1.UseColorRange = false;
}
Thanks,
Best Regards,
Sandra Pazos / 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 |