I have a line series, when I view the editor, and click series, there is a button for "Border".
How do I access those settings for the border via code? I cannot figure it out. I assumed it would be something like
series.GetAsLine().GetBorderPen()
but I just cannot find out how to access the border settings.
Tony.
Border editor.
Re: Border editor.
Hi Tony,
It's something like following:
It's something like following:
Code: Select all
TChart1.Series(0).asLine.LinePen.Color = vbGreen
Best Regards,
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |
Re: Border editor.
No, that's the line colour itself. I mean the border properties of the line (see attached image).
Also, below the border popup in the attachment there is a setting "Height 3d". I cannot find how to set that in code either.
Also, below the border popup in the attachment there is a setting "Height 3d". I cannot find how to set that in code either.
- Attachments
-
- TChartBorderDialog.jpg (27.32 KiB) Viewed 6313 times
Re: Border editor.
Hi Tony,
What TeeChart version are you using? Here is my result in VB6 with TeeChart AX 8.0.0.8 and also with the TeeChart AX v2010 beta.
What TeeChart version are you using? Here is my result in VB6 with TeeChart AX 8.0.0.8 and also with the TeeChart AX v2010 beta.
Code: Select all
Private Sub Form_Load()
TeeCommander1.ChartLink = TChart1.ChartLink
TChart1.AddSeries scLine
TChart1.Series(0).FillSampleValues
TChart1.Series(0).Color = RGB(255, 128, 0)
TChart1.Series(0).asLine.LinePen.Color = vbGrayText
TChart1.Series(0).asLine.LinePen.Width = 3
TChart1.Series(0).asLine.LineHeight = 20
End Sub
Best Regards,
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |