hi...
i'm new in TeeChart. I've go through TeeChart about 1 month. I start to create a chart in VB.
i want to ask about the series properties.
1. how i can set the series color. I used the default TeeChart color there is red, green and yellow. sometime i also used vbCyan, vbBlue...
I write as
Chart.Series(0).Color=vbCyan ---give me Cyan color
Chart.Series(1).Color=vbBlue --- give me blue color
how about the other colors...like purple, orange?
i tried to use the color code...but give me an error
2. for the line series --- Chart.addSeries(scLine)
how to make the line more thick?
please guide me...
thank you
TeeChart series color
Hi Onyx
You can make the colors with RGB command as below code:
You can find the code easily, there are a lot webs with the RGB code.
You can make the line more thick changing the width of the line pen or height of the line, as below code:
You can make the colors with RGB command as below code:
Code: Select all
TChart1.Series(0).Color = RGB(160, 32, 240) 'purple color
You can make the line more thick changing the width of the line pen or height of the line, as below code:
Code: Select all
TChart1.Series(0).asLine.LinePen.Width = 5
TChart1.Series(0).asLine.LineHeight = 3
thanks
Thanks Edu...