Miter Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.  

ChartLineMiterEnum

ChartLineMiterEnum can be one of these ChartLineMiterEnum constants.
chLineMiterBeveldefault
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