Hi,
I have a chart with several 'FastLine' series.
I want to be able to set a different line width for each
series. They are 'fastlines'.
How can I do this?
Thanks,
fano
How to set different Line widths for fastlines on a chart?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi fano,
Yes, you can use fastline.LinePen.Width:
Yes, you can use fastline.LinePen.Width:
Code: Select all
private void Form1_Load(object sender, EventArgs e)
{
tChart1.Aspect.View3D = false;
for (int i = 0; i < 5; ++i)
{
Steema.TeeChart.Styles.FastLine fl = new Steema.TeeChart.Styles.FastLine(tChart1.Chart);
fl.LinePen.Width = i + 1;
fl.FillSampleValues();
}
}
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 |