LegendItemOrder 枚举

定义

指定项在图例中的添加顺序。Specifies the order in which items are added to the legend.

public enum class LegendItemOrder
public enum LegendItemOrder
type LegendItemOrder = 
Public Enum LegendItemOrder
继承
LegendItemOrder

字段

Auto 0

图表会自动确定项在图例中的添加顺序。The chart automatically determines the order in which items are added to the legend.

ReversedSeriesOrder 2

按照项添加到图表序列中的相反顺序将项添加到图例中。Items are added to the legend in the reverse order of items added to the chart series.

SameAsSeriesOrder 1

按照项添加到图表序列中的相同顺序将项添加到图例中。Items are added to the legend in the same order as items added to the chart series.

注解

默认情况下, 图表确定项在图例中的添加顺序。By default, the chart determines the order in which items are added to the legend. 除堆积面积图、堆积条形图和堆积柱形图之外的所有图表类型都将始终按在中对项进行排序SeriesCollection的顺序放置图例中的项。All chart types except stacked area, stacked bar and stacked column charts will always place items in the legend in the same order as how items are ordered in the SeriesCollection. 默认情况下, 堆积图将始终按反转顺序显示项, 就像它们在序列集合中的排序方式。By default, stacked charts will always show items in the reversed order as how they are ordered in the series collection.

适用于