Grid.IntervalType Propriedade
Definição
Obtém ou define o tipo de deslocamento para linhas de grade principais ou secundárias.Gets or sets the interval type for major or minor grid lines.
public:
property System::Web::UI::DataVisualization::Charting::DateTimeIntervalType IntervalType { System::Web::UI::DataVisualization::Charting::DateTimeIntervalType get(); void set(System::Web::UI::DataVisualization::Charting::DateTimeIntervalType value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Web.UI.DataVisualization.Charting.DateTimeIntervalType IntervalType { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.IntervalType : System.Web.UI.DataVisualization.Charting.DateTimeIntervalType with get, set
Public Property IntervalType As DateTimeIntervalType
Valor da propriedade
Um valor de enumeração DateTimeIntervalType que indica o tipo de intervalo.A DateTimeIntervalType enumeration value that indicates the interval type. Por padrão, ele não é definido para rótulos de eixo, marcas de escala principais e linhas de grade principais, usando o NotSet valor de enumeração.By default it is not set for axis labels, major tick marks and major grid lines, by using the NotSet enumeration value. O valor padrão para marcas de escala secundárias e linhas de grade é Auto .The default value for minor tick marks and grid lines is Auto.
- Atributos
Comentários
Por padrão, essa propriedade não é definida para rótulos de eixo, marcas de escala principais e linhas de grade principais.By default this property is not set for axis labels, major tick marks and major grid lines. Se não estiver definido por padrão, usando explicitamente "not set" no tempo de design ou atribuindo a ele um valor de NotSet em tempo de execução, o valor real dessa propriedade será determinado pela IntervalOffsetType Propriedade do Axis objeto que o elemento do gráfico – uma linha de grade ou marca de escala, por exemplo, pertence.If it is not set - either by default, by explicitly using "Not Set" at design time, or by assigning it a value of NotSet at run time - the actual value of this property is determined by the IntervalOffsetType property of the Axis object that the chart element - a grid line or tick mark, for example - belongs to.
O tipo de intervalo das marcas de escala secundárias e das linhas de grade nunca é afetado pelo valor da IntervalType propriedade.The interval type of minor tick marks and grid lines is never affected by the value of the IntervalType property.
Os tipos de intervalo podem ser definidos como Auto ; o tipo de intervalo depende dos valores X ou Y dos objetos plotados DataPoint , dependendo de qual eixo os elementos aplicáveis pertencem.Interval types can be set to Auto; the type of interval then depends on either the X-values or Y-values of the plotted DataPoint objects, depending on which axis the applicable elements belong to.
Definir a IntervalType propriedade para um eixo de valor só terá efeito se os valores dos pontos de dados forem DateTime ou double valores.Setting the IntervalType property for a value axis will only have an effect if the values of the data points are DateTime or double values. Além disso, XValueType a YValueType propriedade ou do plotado Series deve ser definida como Auto ou DateTime .Also, the XValueType or YValueType property of the plotted Series must be set to Auto or DateTime.
Definir a IntervalType propriedade para um eixo categórico só terá efeito se a XValueType Propriedade (ou YValueType propriedade, dependendo do eixo em questão) do objeto plotado Series for Auto ou DateTime .Setting the IntervalType property for a categorical axis will only have an effect if the XValueType property (or YValueType property, depending on the axis in question) of the plotted Series object is either Auto or DateTime.
Observação
O domingo é considerado o primeiro dia da semana.Sunday is considered the first day of the week.