constant indicating the way that a line's exterior edges are joined. Read/write.
ChartLineMiterEnum can be one of these ChartLineMiterEnum constants. |
chLineMiterBevel default |
chLineMiterMiter |
chLineMiterRound |
expression.Miter
expression Required. An expression that returns a ChLine object.
Example
This example changes the first chart in Chartspace1 to a line chart and then formats the line for the first data series in the chart.
Sub Set_Series_LineStyle()
Dim chConstants
Dim serSeries1
Set chConstants = ChartSpace1.Constants
' Change the chart to a line chart.
ChartSpace1.Charts(0).Type = chChartTypeLine
' Set a variable to refer to the first data series in the chart.
Set serSeries1 = ChartSpace1.Charts(0).SeriesCollection(0)
' Set the miter of the line of the first series.
serSeries1.Line.Miter = chConstants.chLineMiterBevel
' Set the line weight of the first series.
serSeries1.Line.Weight = chConstants.owcLineWeightThick
' Set the line style of the first series.
serSeries1.Line.DashStyle = chConstants.chLineRoundDot
End Sub