ChartGroup.HasHiLoLines 属性 (Excel)ChartGroup.HasHiLoLines property (Excel)

如此 如果折线图有高低点连线。True if the line chart has high-low lines. 仅适用于折线图。Applies only to line charts. 读/写 BooleanRead/write Boolean.


expressionexpression. HasHiLoLines

_表达式_一个代表ChartGroup对象的变量。expression A variable that represents a ChartGroup object.


本示例打开 Chart1 中第一个图表组的高低点连线,并将线条样式、 粗细和颜色。This example turns on high-low lines for chart group one in Chart1 and then sets line style, weight, and color. 该示例应在二维折线图上运行,该折线图具有三个类似股票报价的数据系列(盘高-盘低-收盘图)。The example should be run on a 2-D line chart that has three series of stock-quote-like data (high-low-close).

With Charts("Chart1").ChartGroups(1) 
 .HasHiLoLines = True 
 With .HiLoLines.Border 
 .LineStyle = xlThin 
 .Weight = xlMedium 
 .ColorIndex = 3 
 End With 
End With

另请参阅See also

ChartGroup 对象ChartGroup Object