Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1010 Bytes

Excel.LineGroups.md

File metadata and controls

41 lines (26 loc) · 1010 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
LineGroups method (Excel Graph)
vbagr10.chm3077623
vbagr10.chm3077623
Excel.LineGroups
3a8083b5-8b71-e28b-c775-6be50544d6b2
04/09/2019
medium

LineGroups method (Excel Graph)

On a 2D chart, returns an object that represents either a single line chart group or a collection of the line chart groups.

Syntax

expression.LineGroups (Index)

expression Required. An expression that returns one of the objects in the ChartGroups collection.

Parameters

Name Required/Optional Data type Description
Index Optional Variant Specifies the chart group.

Example

This example sets line group one to use a different color for each data marker. The example should be run on a 2D chart.

myChart.LineGroups(1).VaryByCategories = True

[!includeSupport and feedback]