Series Classe

Definição

Representa os atributos de séries e pontos de dados a serem armazenados.Represents the data points and series attributes to store.

public ref class Series : System::Windows::Forms::DataVisualization::Charting::DataPointCustomProperties
public class Series : System.Windows.Forms.DataVisualization.Charting.DataPointCustomProperties
type Series = class
    inherit DataPointCustomProperties
Public Class Series
Inherits DataPointCustomProperties
Herança

Comentários

Um Series objeto representa uma série de dados e é armazenado na SeriesCollection classe.A Series object represents a data series and is stored in the SeriesCollection class.

Um Series armazena DataPoint objetos usando a DataPointCollection classe.A Series stores DataPoint objects using the DataPointCollection class. Ele também armazena os atributos da série de dados.It also stores attributes of the data series. Por exemplo, uma série de dados tem um atributo de cor, um atributo de imagem de plano de fundo, um atributo de gradiente de fundo e assim por diante.For example, a data series has a color attribute, background image attribute, background gradient attribute, and so forth.

Os DataPoint objetos que pertencem a uma série também têm seus próprios atributos.The DataPoint objects that belong to a series also have their own attributes. Normalmente, se o mesmo atributo for definido para um ponto de dados e a série à qual ele pertence, o atributo de ponto de dados terá precedência.Normally, if the same attribute is set for a data point and the series to which it belongs, the data point attribute has precedence.

Uma série não é necessariamente plotada em um gráfico; Ele pode armazenar valores de ponto de dados que são usados para executar um cálculo do qual outra série é criada e, em seguida, plotados.A series is not necessarily plotted on a chart; it can store data point values that are used to perform a calculation from which another series is created and then plotted. Por exemplo, A série A, que é plotada, pode ser o resultado da adição de pontos de dados da série B e da série C, embora nenhuma dessas séries seja plotada.For example, Series A, which is plotted, may be the result of adding Series B and Series C data points together, though neither of these series is plotted. Para desenhar um Series objeto, a ChartArea propriedade deve ser definida como o nome do ChartArea objeto usado para plotar a série.In order to draw a Series object, the ChartArea property must be set to the name of the ChartArea object used to plot the series.

Quando uma série é criada, ela é automaticamente atribuída ao ChartArea objeto chamado "default" ou à primeira área do gráfico disponível na coleção da área do gráfico se o objeto "default" não existir.When a series is created, it is automatically assigned to the ChartArea object named "Default", or to the first available chart area in the chart area collection if the "Default" object does not exist.

Para desabilitar a exibição de uma série, defina sua ChartArea propriedade como uma cadeia de caracteres de comprimento zero.To disable the display of a series, set its ChartArea property to a zero-length string.

A ChartType propriedade determina o tipo de gráfico que será usado para plotar esta série, se for desenhado.The ChartType property determines the type of chart that will be used to plot this series, if it is drawn.

Construtores

Series()

Inicializa uma nova instância da classe Series.Initializes a new instance of the Series class.

Series(String)

Inicializa uma nova instância da classe Series com o nome da série especificado.Initializes a new instance of the Series class with the specified series name.

Series(String, Int32)

Inicializa uma nova instância da classe Series com o nome e o número máximo de valores de Y especificados.Initializes a new instance of the Series class with the specified name and maximum number of Y-values.

Propriedades

AxisLabel

Obtém ou define o texto do rótulo do eixo da série.Gets or sets the axis label text for the series.

BackGradientStyle

Obtém ou define o estilo de gradiente da tela de fundo.Gets or sets the background gradient style.

(Herdado de DataPointCustomProperties)
BackHatchStyle

Obtém ou define o estilo de hachura da tela de fundo.Gets or sets the background hatching style.

(Herdado de DataPointCustomProperties)
BackImage

Obtém ou define a imagem de tela de fundo do ponto de dados.Gets or sets the background image of the data point.

(Herdado de DataPointCustomProperties)
BackImageAlignment

Obtém ou define o alinhamento da imagem de tela de fundo, que é usada com o modo de desenho Unscaled.Gets or sets the alignment of the background image, which is used with the Unscaled drawing mode.

(Herdado de DataPointCustomProperties)
BackImageTransparentColor

Obtém ou define uma cor que será substituída por uma cor transparente quando a imagem da tela de fundo for desenhada.Gets or sets a color that will be replaced with a transparent color when the background image is drawn.

(Herdado de DataPointCustomProperties)
BackImageWrapMode

Obtém ou define o modo de desenho da imagem de tela de fundo.Gets or sets the drawing mode of the background image.

(Herdado de DataPointCustomProperties)
BackSecondaryColor

Obtém ou define a cor secundária da tela de fundo.Gets or sets the secondary background color.

(Herdado de DataPointCustomProperties)
BorderColor

Obtém ou define a cor da borda do ponto de dados.Gets or sets the border color of the data point.

(Herdado de DataPointCustomProperties)
BorderDashStyle

Obtém ou define o estilo de borda do ponto de dados.Gets or sets the border style of the data point.

(Herdado de DataPointCustomProperties)
BorderWidth

Obtém ou define a largura da borda do ponto de dados.Gets or sets the border width of the data point.

(Herdado de DataPointCustomProperties)
ChartArea

Obtém ou define o nome do objeto ChartArea usado para plotar a série de dados, se houver.Gets or sets the name of the ChartArea object used to plot the data series, if any.

ChartType

Obtém ou define o tipo de gráfico de uma série.Gets or sets the chart type of a series.

ChartTypeName

Obtém ou define o nome do tipo de gráfico usado para desenhar a série.Gets or sets the name of the chart type used to draw the series.

Color

Obtém ou define a cor do ponto de dados.Gets or sets the color of the data point.

(Herdado de DataPointCustomProperties)
CustomProperties

Obtém ou define as propriedades personalizadas do ponto de dados.Gets or sets the custom properties of the data point. As propriedades personalizadas podem ser especificadas no seguinte formato: AttrName1=Value1, AttrName2=Value2...Custom properties can be specified in the following format: AttrName1=Value1, AttrName2=Value2 ...

(Herdado de DataPointCustomProperties)
CustomPropertiesExtended

Obtém ou define as propriedades personalizadas estendidas do ponto de dados.Gets or sets the extended custom properties of the data point. Propriedades personalizadas estendidas podem ser especificadas no seguinte formato: AttrName1=Value1, AttrName2=Value2, etc.Extended custom properties can be specified in the following format: AttrName1=Value1, AttrName2=Value2...

(Herdado de DataPointCustomProperties)
EmptyPointStyle

Obtém ou define o estilo de desenho de pontos marcados como vazios.Gets or sets the drawing style of points marked as empty.

Enabled

Obtém ou define um sinalizador que indica se a série será visível no gráfico renderizado.Gets or sets a flag that indicates whether the series will be visible on the rendered chart.

Font

Obtém ou define a fonte do ponto de dados.Gets or sets the font of the data point.

(Herdado de DataPointCustomProperties)
IsValueShownAsLabel

Obtém ou define um sinalizador que indica se o valor do ponto de dados deve ser mostrado no rótulo.Gets or sets a flag that indicates whether to show the value of the data point on the label.

(Herdado de DataPointCustomProperties)
IsVisibleInLegend

Obtém ou define um sinalizador que indica se o item é mostrado na legenda.Gets or sets a flag that indicates whether the item is shown in the legend.

(Herdado de DataPointCustomProperties)
IsXValueIndexed

Obtém ou define um sinalizador que indica se os índices de pontos de dados serão usados para os valores X.Gets or sets a flag that indicates whether data point indices will be used for the X-values.

Item[Int32]

Obtém o objeto DataPointCustomProperties por sua posição no índice.Gets the DataPointCustomProperties object by its position in the index.

(Herdado de DataPointCustomProperties)
Item[String]

Obtém ou define o objeto DataPointCustomProperties pelo nome.Gets or sets the DataPointCustomProperties object by name.

(Herdado de DataPointCustomProperties)
Label

Obtém ou define o texto do rótulo do ponto de dados.Gets or sets the text of the data point label.

(Herdado de DataPointCustomProperties)
LabelAngle

Obtém ou define o ângulo do rótulo do ponto de dados.Gets or sets the angle of the data point label.

(Herdado de DataPointCustomProperties)
LabelBackColor

Obtém ou define a cor da tela de fundo do rótulo de ponto de dados.Gets or sets the background color of the data point label.

(Herdado de DataPointCustomProperties)
LabelBorderColor

Obtém ou define a cor da borda do rótulo de ponto de dados.Gets or sets the border color of the data point label.

(Herdado de DataPointCustomProperties)
LabelBorderDashStyle

Obtém ou define o estilo da borda do rótulo.Gets or sets the border style of the label.

(Herdado de DataPointCustomProperties)
LabelBorderWidth

Obtém ou define a largura da borda do rótulo.Gets or sets the border width of the label.

(Herdado de DataPointCustomProperties)
LabelForeColor

Obtém ou define a cor do texto do rótulo.Gets or sets the text color of the label.

(Herdado de DataPointCustomProperties)
LabelFormat

Obtém ou define o formato do rótulo do ponto de dados.Gets or sets the format of the data point label.

(Herdado de DataPointCustomProperties)
LabelToolTip

Obtém ou define a dica de ferramenta do rótulo de ponto de dados.Gets or sets the tooltip for the data point label.

(Herdado de DataPointCustomProperties)
Legend

Obtém ou define o nome da série associada ao objeto Legend.Gets or sets the name of the series associated with the Legend object.

LegendText

Obtém ou define o texto do item na legenda.Gets or sets the text of the item in the legend.

(Herdado de DataPointCustomProperties)
LegendToolTip

Obtém ou define a dica de ferramenta do item na legenda.Gets or sets the tooltip of the item in the legend.

(Herdado de DataPointCustomProperties)
MarkerBorderColor

Obtém ou define a cor da borda do marcador.Gets or sets the border color of the marker.

(Herdado de DataPointCustomProperties)
MarkerBorderWidth

Obtém ou define a largura da borda do marcador.Gets or sets the border width of the marker.

(Herdado de DataPointCustomProperties)
MarkerColor

Obtém ou define a cor do marcador.Gets or sets the marker color.

(Herdado de DataPointCustomProperties)
MarkerImage

Obtém ou define a imagem do marcador.Gets or sets the marker image.

(Herdado de DataPointCustomProperties)
MarkerImageTransparentColor

Obtém ou define a cor que será substituída por uma cor transparente quando a imagem do marcador for desenhada.Gets or sets the color that will be replaced with a transparent color when the marker image is drawn.

(Herdado de DataPointCustomProperties)
MarkerSize

Obtém ou define o tamanho do marcador.Gets or sets the size of the marker.

(Herdado de DataPointCustomProperties)
MarkerStep

Obtém ou define um valor que determina com que frequência exibir os marcadores de ponto de dados.Gets or sets a value that determines how often to display data point markers.

MarkerStyle

Obtém ou define o estilo de marcador.Gets or sets the marker style.

(Herdado de DataPointCustomProperties)
Name

Obtém ou define o nome exclusivo de um objeto Series.Gets or sets the unique name of a Series object.

Palette

Obtém ou define a paleta de cores um objeto Series.Gets or sets the color palette of a Series object.

Points

Obtém uma coleção de pontos de dados.Gets a collection of data points.

ShadowColor

Obtém ou define a cor da sombra de uma série.Gets or sets the shadow color of a series.

ShadowOffset

Obtém ou define o deslocamento de sombra, em pixels, de uma série.Gets or sets the shadow offset, in pixels, of a series.

SmartLabelStyle

Obtém ou define o estilo dos rótulos inteligentes.Gets or sets the style of the smart labels.

Tag

Obtém ou define um objeto associado a esse elemento do gráfico.Gets or sets an object associated with this chart element.

(Herdado de ChartElement)
ToolTip

Obtém ou define a dica de ferramenta.Gets or sets the tooltip.

(Herdado de DataPointCustomProperties)
XAxisType

Obtém ou define o tipo de eixo X da série.Gets or sets the X-axis type of the series.

XValueMember

Obtém ou define o membro da fonte de dados de gráfico usado para a associação de dados ao valor X da série.Gets or sets the member of the chart data source used to data bind to the X-value of the series.

XValueType

Obtém ou define os tipos de valores plotados ao longo do eixo X.Gets or sets the value types plotted along the X-axis.

YAxisType

Obtém ou define o tipo de eixo Y de uma série.Gets or sets the Y-axis type of a series.

YValueMembers

Obtém ou define as colunas de membro da fonte de dados de gráfico usada para associar dados aos valores de Y da série.Gets or sets member columns of the chart data source used to bind data to the Y-values of the series.

YValuesPerPoint

Obtém ou define o número máximo de valores Y que objetos DataPoint em um Series podem ter.Gets or sets the maximum number of Y-values that DataPoint objects in a Series are allowed to have.

YValueType

Obtém ou define o tipo de dados do valor Y nos pontos de dados armazenados por uma série.Gets or sets the type of Y-value data in the data points stored by a series.

Métodos

DeleteCustomProperty(String)

Exclui a propriedade personalizada do ponto de dados com o nome especificado.Deletes the data point custom property with the specified name.

(Herdado de DataPointCustomProperties)
Dispose()

Libera os recursos usados pelo ChartElement.Releases the resources used by the ChartElement.

(Herdado de ChartElement)
Dispose(Boolean)

Libera os recursos não gerenciados usados pelo Series e opcionalmente libera os recursos gerenciados.Releases the unmanaged resources used by the Series and optionally releases the managed resources.

Equals(Object)

Determina se Object especificado é igual ao ChartElement atual.Determines whether the specified Object is equal to the current ChartElement.

(Herdado de ChartElement)
GetCustomProperty(String)

Retorna a propriedade personalizada do ponto de dados com o nome especificado.Returns the data point custom property with the specified name.

(Herdado de DataPointCustomProperties)
GetHashCode()

Retorna uma função de hash para um tipo específico.Returns a hash function for a particular type.

(Herdado de ChartElement)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
IsCustomPropertySet(String)

Determina se uma propriedade personalizada com o nome especificado foi definida.Determines whether a custom property with the specified name was set.

(Herdado de DataPointCustomProperties)
MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
ResetIsValueShownAsLabel()

Redefine uma propriedade personalizada para seu valor padrão.Resets a custom property to its default value.

(Herdado de DataPointCustomProperties)
ResetIsVisibleInLegend()

Redefine uma propriedade personalizada para seu valor padrão.Resets a custom property to its default value.

(Herdado de DataPointCustomProperties)
SetCustomProperty(String, String)

Define uma propriedade personalizada do ponto de dados.Sets a custom property of the data point.

(Herdado de DataPointCustomProperties)
SetDefault(Boolean)

Define as propriedades padrão do ponto de dados.Sets the default properties of the data point. Indica se os valores da propriedade anterior devem ser limpos.Indicates whether the previous property values must be cleared.

(Herdado de DataPointCustomProperties)
Sort(IComparer<DataPoint>)

Classifica os pontos na série usando a interface IComparer.Sorts the points in the series using IComparer interface.

Sort(PointSortOrder)

Classifica os pontos de dados na série com base na ordem de classificação fornecida.Sorts the data points in the series, given the specified sort order.

Sort(PointSortOrder, String)

Classifica os pontos da série, considerando a ordem de classificação especificada e o valor a ser usado para a classificação.Sorts the points in the series, given the specified sort order and value to use for the sort.

ToString()

Retorna uma cadeia de caracteres que representa o Object atual.Returns a string that represents the current Object.

(Herdado de ChartElement)

Aplica-se a