Skip to content

Thickness Property

Description

Gets/sets the thickness of the line.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property Thickness() As Integer

Return Type

The thickness of the line.

Remarks

The thickness of the line can be changed to any reasonable value.

Line Styles

Example

Dim xLineStyle As ChartLineSeriesStyle  
Dim nThickness As Integer  

nThickness = 10  

Set xLineStyle = New ChartLineSeriesStyle  
xLineStyle.LineStyle.DashStyle = xtpChartDashStyleDash  
xLineStyle.LineStyle.Thickness = nThickness  
Set ChartControl.Content.Series(3).Style = xLineStyle  

Set xLineStyle = New ChartLineSeriesStyle  
xLineStyle.LineStyle.DashStyle = xtpChartDashStyleDashDotDot  
xLineStyle.LineStyle.Thickness = nThickness  
Set ChartControl.Content.Series(2).Style = xLineStyle  

Set xLineStyle = New ChartLineSeriesStyle  
xLineStyle.LineStyle.DashStyle = xtpChartDashStyleSolid  
xLineStyle.LineStyle.Thickness = nThickness  
Set ChartControl.Content.Series(1).Style = xLineStyle  

Set xLineStyle = New ChartLineSeriesStyle  
xLineStyle.LineStyle.DashStyle = xtpChartDashStyleDashDot  
xLineStyle.LineStyle.Thickness = nThickness  
Set ChartControl.Content.Series(0).Style = xLineStyle

See Also

ChartLineStyle Object


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.