Version

Axis Class Members

The following tables list the members exposed by Axis.

Public Properties
 NameDescription
Public PropertyActualMajorStrokeGets or sets the ActualMajorStroke property.  
Public PropertyActualMinorStrokeGets or sets the ActualMinorStroke property.  
Public PropertyActualStrokeGets or sets the effective stroke used for the axis.  
Public PropertyAnnotationsGets the current annotations for the axis.  
Public PropertyCrossingAxisGets or sets the CrossingAxis property.  
Public PropertyCrossingValueGets or sets the CrossingValue property.  
Public PropertyEnhancedIntervalMinimumCharactersGets or sets the minimum desired characters to be displayed for horizontal axes when using advanced label heuristics. -1 will attempt to adjust the interval to precisely fit the horizontal labels.  
Public PropertyEnhancedIntervalPreferMoreCategoryLabelsGets or sets whether the enhanced interval management should prefer to show all the labels if possible without collisions for supported types of category axes. This is for use with EnhancedIntervalMinimumCharacters = -1 and axes that have an integral interval.  
Public PropertyExpectFunctionsGets or sets whether the series should expect that properties in its items source may be functions that need to be evaluated to yield their value. This defaults to false, as there will be a subtle performance impact to using this feature. This value must be set before assigning an item's source to take effect.  
Public PropertyIsAngularGets if the current axis is of angular axis type  
Public PropertyIsCategoryGets or sets if the current axis is of category axis type  
Public PropertyIsCategoryDateTimeGets if the current axis is of category date time axis type  
Public PropertyIsContinuousGets if the current axis is a continuous rather than a discrete scale  
Public PropertyIsDateTimeGets or sets if the current axis is of date time axis type  
Public PropertyIsDisabledGets or sets the IsDisabled property. If true, the axis will not be rendered.  
Public PropertyIsInvertedGets or sets the IsInverted property.  
Public PropertyIsNumericGets or sets if the current axis is of numeric axis type  
Public PropertyIsOrdinalGets or sets if the current axis is of ordinal axis type  
Public PropertyIsPiecewiseGets or sets if the axis is a piecewise scaling function.  
Public PropertyIsRadialGets or sets if the current axis is of radial axis type  
Public PropertyIsSortingGets or sets if the current axis is sorting data items  
Public PropertyIsVerticalGets if the current axis is a vertical axis.  
Public PropertyLabelGets or sets the axis label format string.  
Public PropertyLabelAngleGets or Sets the Angle of the Axis Label.  
Public PropertyLabelExtentGets or sets the distance between the edge of the control and the label.  
Public PropertyLabelFontFamilyGets or Sets the Font Family of the Axis Label.  
Public PropertyLabelFontSizeGets or Sets the Font Size of the Axis Label.  
Public PropertyLabelFormatGets or sets the label format string to use for the label.  
Public PropertyLabelFormatSpecifiersGets or sets the format specifiers to use with the LabelFormat string.  
Public PropertyLabelHorizontalAlignmentGets or sets the HorizontalAlignment property.  
Public PropertyLabelLocationGets or sets the Location property.  
Public PropertyLabelMarginSpecifies the space between the Label and other elements.  
Public PropertyLabelsVisibleGets or sets the Visibility property.  
Public PropertyLabelTextColorGets or sets the color of the Axis Label text.  
Public PropertyLabelTextStyleGets or sets the Font Style applied to the Label's text.  
Public PropertyLabelVerticalAlignmentGets or sets the VerticalAlignment property.  
Public PropertyMajorStrokeGets or sets the MajorStroke property.  
Public PropertyMajorStrokeDashArrayGets or sets the MajorStrokeDashArray property.  
Public PropertyMajorStrokeThicknessGets or sets the MajorStrokeThickness property.  
Public PropertyMinorStrokeGets or sets the MinorStroke property.  
Public PropertyMinorStrokeDashArrayGets or sets the MinorStrokeDashArray property.  
Public PropertyMinorStrokeThicknessGets or sets the MinorStrokeThickness property.  
Public PropertyNameGets or sets the name of the Axis.  
Public PropertyOpacityGets or sets the Opacity of the Axis.  
Public PropertySeriesViewerGets the containing series viewer for this axis.  
Public PropertyShouldAvoidAnnotationCollisionsGets or sets whether annotations should be shifted to avoid collision, even if this would result in them appearing where they shouldn't be along the scale.  
Public PropertyShouldKeepAnnotationsInViewets or sets whether annotations should be kept in view, even if they aren't positioned where they should appear on the scale.  
Public PropertyShowFirstLabelGets or sets whether the first label is displayed when the zoom level is set to 1.  
Public PropertyStripGets or sets the Strip property.  
Public PropertyStrokeGets or sets the Stroke property.  
Public PropertyStrokeDashArrayGets or sets the StrokeDashArray property.  
Public PropertyStrokeThicknessGets or sets the StrokeThickness property.  
Public PropertyTickLengthGets or sets the TickLength property.  
Public PropertyTickStrokeGets or sets the TickStroke property.  
Public PropertyTickStrokeDashArrayGets or sets the TickStrokeDashArray property.  
Public PropertyTickStrokeThicknessGets or sets the TickStrokeThickness property.  
Public PropertyTitleGets or sets the Title property.  
Public PropertyTitleAngleGets or Sets the Angle of the Axis Title.  
Public PropertyTitleFontFamilyGets or Sets the Font Family of the Axis Title.  
Public PropertyTitleFontSizeGets or Sets the Font Size of the Axis Title.  
Public PropertyTitleHorizontalAlignmentGets or sets the HorizontalAlignment property.  
Public PropertyTitleMarginSpecifies the space between the Title and other elements.  
Public PropertyTitlePositionGets or sets the TitlePosition property.  
Public PropertyTitleTextColorGets or sets the color of the Axis Title text.  
Public PropertyTitleTextStyleGets or sets the Font Style applied to the Title's text.  
Public PropertyTitleVerticalAlignmentGets or sets the VerticalAlignment property.  
Public PropertyUseEnhancedIntervalManagementGets or sets whether to use more advanced heuristics when determining the initial number of labels to render, before resolving collisions, etc.  
Public PropertyUsePerLabelHeightMeasurementGets or sets whether to use label height measurement when determining the initial number of labels to render, before resolving collisions, etc.  
Public PropertyVisibilityGets or sets the display state of an Axis.  
Public Methods
 NameDescription
Public MethodExportVisualDataExports visual information about the series for use by external tools and functionality.  
Public MethodGetFullRange  
Public MethodGetItemValueGets a value based on one of the valid member paths for this axis type.  
Public MethodGetScaledValueGets the scaled viewport value from an unscaled axis value.  
Public MethodGetScaledValueListGet a list of scaled viewport values from a list of unscaled axis values.  
Public MethodGetUnscaledValueGets the unscaled axis value from an scaled viewport value.  
Public MethodGetUnscaledValueListGets a list of unscaled axis values from a list of scaled viewport values.  
Public MethodGetValueLabelGets the label for a data item.  
Public MethodRenderAxisRenders the axis with no animation.  
Public MethodResetResets all the properties to their default values  
Public MethodResetCachedEnhancedIntervalIf using enhanced interval management and precise interval fitting, this will reset the cached maximum label width, and recalculate using the current labels.  
Public MethodResetCrossingAxisResets the CrossingAxis property to its default value.  
Public MethodResetCrossingValueResets the CrossingValue property to its default value.  
Public MethodResetEnhancedIntervalMinimumCharactersResets the EnhancedIntervalMinimumCharacters property to its default value.  
Public MethodResetEnhancedIntervalPreferMoreCategoryLabelsResets the EnhancedIntervalPreferMoreCategoryLabels property to its default value.  
Public MethodResetExpectFunctionsResets the ExpectFunctions property to its default value.  
Public MethodResetIsDisabledResets the IsDisabled property to its default value.  
Public MethodResetIsInvertedResets the IsInverted property to its default value.  
Public MethodResetLabelResets the Label property to its default value.  
Public MethodResetLabelAngleResets the LabelAngle property to its default value.  
Public MethodResetLabelExtentResets the LabelExtent property to its default value.  
Public MethodResetLabelFontFamilyResets the LabelFontFamily property to its default value.  
Public MethodResetLabelFontSizeResets the LabelFontSize property to its default value.  
Public MethodResetLabelFormatResets the LabelFormat property to its default value.  
Public MethodResetLabelFormatSpecifiersResets the LabelFormatSpecifiers property to its default value.  
Public MethodResetLabelHorizontalAlignmentResets the LabelHorizontalAlignment property to its default value.  
Public MethodResetLabelLocationResets the LabelLocation property to its default value.  
Public MethodResetLabelMarginResets the LabelMargin property to its default value.  
Public MethodResetLabelsVisibleResets the LabelsVisible property to its default value.  
Public MethodResetLabelTextColorResets the LabelTextColor property to its default value.  
Public MethodResetLabelTextStyleResets the LabelTextStyle property to its default value.  
Public MethodResetLabelVerticalAlignmentResets the LabelVerticalAlignment property to its default value.  
Public MethodResetMajorStrokeResets the MajorStroke property to its default value.  
Public MethodResetMajorStrokeDashArrayResets the MajorStrokeDashArray property to its default value.  
Public MethodResetMajorStrokeThicknessResets the MajorStrokeThickness property to its default value.  
Public MethodResetMinorStrokeResets the MinorStroke property to its default value.  
Public MethodResetMinorStrokeDashArrayResets the MinorStrokeDashArray property to its default value.  
Public MethodResetMinorStrokeThicknessResets the MinorStrokeThickness property to its default value.  
Public MethodResetNameResets the Name property to its default value.  
Public MethodResetOpacityResets the Opacity property to its default value.  
Public MethodResetShouldAvoidAnnotationCollisionsResets the ShouldAvoidAnnotationCollisions property to its default value.  
Public MethodResetShouldKeepAnnotationsInViewResets the ShouldKeepAnnotationsInView property to its default value.  
Public MethodResetShowFirstLabelResets the ShowFirstLabel property to its default value.  
Public MethodResetStripResets the Strip property to its default value.  
Public MethodResetStrokeResets the Stroke property to its default value.  
Public MethodResetStrokeDashArrayResets the StrokeDashArray property to its default value.  
Public MethodResetStrokeThicknessResets the StrokeThickness property to its default value.  
Public MethodResetTickLengthResets the TickLength property to its default value.  
Public MethodResetTickStrokeResets the TickStroke property to its default value.  
Public MethodResetTickStrokeDashArrayResets the TickStrokeDashArray property to its default value.  
Public MethodResetTickStrokeThicknessResets the TickStrokeThickness property to its default value.  
Public MethodResetTitleResets the Title property to its default value.  
Public MethodResetTitleAngleResets the TitleAngle property to its default value.  
Public MethodResetTitleFontFamilyResets the TitleFontFamily property to its default value.  
Public MethodResetTitleFontSizeResets the TitleFontSize property to its default value.  
Public MethodResetTitleHorizontalAlignmentResets the TitleHorizontalAlignment property to its default value.  
Public MethodResetTitleMarginResets the TitleMargin property to its default value.  
Public MethodResetTitlePositionResets the TitlePosition property to its default value.  
Public MethodResetTitleTextColorResets the TitleTextColor property to its default value.  
Public MethodResetTitleTextStyleResets the TitleTextStyle property to its default value.  
Public MethodResetTitleVerticalAlignmentResets the TitleVerticalAlignment property to its default value.  
Public MethodResetUseEnhancedIntervalManagementResets the UseEnhancedIntervalManagement property to its default value.  
Public MethodResetUsePerLabelHeightMeasurementResets the UsePerLabelHeightMeasurement property to its default value.  
Public MethodResetVisibilityResets the Visibility property to its default value.  
Public MethodScaleValueScales a value from axis space into screen space.  
Public MethodUpdateRangeOverloaded. Updates the axis range.  
Protected Methods
 NameDescription
Protected MethodOnPropertyChangedOverloaded. Used to invoke the PropertyChanged event.  
Protected MethodOnPropertyUpdatedUsed to invoke the PropertyUpdated event.  
Protected MethodOnRangeChangedUsed to invoke the RangeChanged event.  
Protected MethodOnRenderRequestedUsed to invoke the RenderRequested event.  
Protected MethodShouldSerializeCrossingAxisIndicates if the CrossingAxis property needs to be serialized.  
Protected MethodShouldSerializeCrossingValueIndicates if the CrossingValue property needs to be serialized.  
Protected MethodShouldSerializeEnhancedIntervalMinimumCharactersIndicates if the EnhancedIntervalMinimumCharacters property needs to be serialized.  
Protected MethodShouldSerializeEnhancedIntervalPreferMoreCategoryLabelsIndicates if the EnhancedIntervalPreferMoreCategoryLabels property needs to be serialized.  
Protected MethodShouldSerializeExpectFunctionsIndicates if the ExpectFunctions property needs to be serialized.  
Protected MethodShouldSerializeIdReturns true unconditionally so that a unique identifier is serialized.  
Protected MethodShouldSerializeIsDisabledIndicates if the IsDisabled property needs to be serialized.  
Protected MethodShouldSerializeIsInvertedIndicates if the IsInverted property needs to be serialized.  
Protected MethodShouldSerializeLabelIndicates if the Label property needs to be serialized.  
Protected MethodShouldSerializeLabelAngleIndicates if the LabelAngle property needs to be serialized.  
Protected MethodShouldSerializeLabelExtentIndicates if the LabelExtent property needs to be serialized.  
Protected MethodShouldSerializeLabelFontFamilyIndicates if the LabelFontFamily property needs to be serialized.  
Protected MethodShouldSerializeLabelFontSizeIndicates if the LabelFontSize property needs to be serialized.  
Protected MethodShouldSerializeLabelFormatIndicates if the LabelFormat property needs to be serialized.  
Protected MethodShouldSerializeLabelFormatSpecifiersIndicates if the LabelFormatSpecifiers property needs to be serialized.  
Protected MethodShouldSerializeLabelHorizontalAlignmentIndicates if the LabelHorizontalAlignment property needs to be serialized.  
Protected MethodShouldSerializeLabelLocationIndicates if the LabelLocation property needs to be serialized.  
Protected MethodShouldSerializeLabelMarginIndicates if the LabelMargin property needs to be serialized.  
Protected MethodShouldSerializeLabelsVisibleIndicates if the LabelsVisible property needs to be serialized.  
Protected MethodShouldSerializeLabelTextColorIndicates if the LabelTextColor property needs to be serialized.  
Protected MethodShouldSerializeLabelTextStyleIndicates if the LabelTextStyle property needs to be serialized.  
Protected MethodShouldSerializeLabelVerticalAlignmentIndicates if the LabelVerticalAlignment property needs to be serialized.  
Protected MethodShouldSerializeMajorStrokeIndicates if the MajorStroke property needs to be serialized.  
Protected MethodShouldSerializeMajorStrokeDashArrayIndicates if the MajorStrokeDashArray property needs to be serialized.  
Protected MethodShouldSerializeMajorStrokeThicknessIndicates if the MajorStrokeThickness property needs to be serialized.  
Protected MethodShouldSerializeMinorStrokeIndicates if the MinorStroke property needs to be serialized.  
Protected MethodShouldSerializeMinorStrokeDashArrayIndicates if the MinorStrokeDashArray property needs to be serialized.  
Protected MethodShouldSerializeMinorStrokeThicknessIndicates if the MinorStrokeThickness property needs to be serialized.  
Protected MethodShouldSerializeNameIndicates if the Name property needs to be serialized.  
Protected MethodShouldSerializeOpacityIndicates if the Opacity property needs to be serialized.  
Protected MethodShouldSerializeShouldAvoidAnnotationCollisionsIndicates if the ShouldAvoidAnnotationCollisions property needs to be serialized.  
Protected MethodShouldSerializeShouldKeepAnnotationsInViewIndicates if the ShouldKeepAnnotationsInView property needs to be serialized.  
Protected MethodShouldSerializeShowFirstLabelIndicates if the ShowFirstLabel property needs to be serialized.  
Protected MethodShouldSerializeStripIndicates if the Strip property needs to be serialized.  
Protected MethodShouldSerializeStrokeIndicates if the Stroke property needs to be serialized.  
Protected MethodShouldSerializeStrokeDashArrayIndicates if the StrokeDashArray property needs to be serialized.  
Protected MethodShouldSerializeStrokeThicknessIndicates if the StrokeThickness property needs to be serialized.  
Protected MethodShouldSerializeTickLengthIndicates if the TickLength property needs to be serialized.  
Protected MethodShouldSerializeTickStrokeIndicates if the TickStroke property needs to be serialized.  
Protected MethodShouldSerializeTickStrokeDashArrayIndicates if the TickStrokeDashArray property needs to be serialized.  
Protected MethodShouldSerializeTickStrokeThicknessIndicates if the TickStrokeThickness property needs to be serialized.  
Protected MethodShouldSerializeTitleIndicates if the Title property needs to be serialized.  
Protected MethodShouldSerializeTitleAngleIndicates if the TitleAngle property needs to be serialized.  
Protected MethodShouldSerializeTitleFontFamilyIndicates if the TitleFontFamily property needs to be serialized.  
Protected MethodShouldSerializeTitleFontSizeIndicates if the TitleFontSize property needs to be serialized.  
Protected MethodShouldSerializeTitleHorizontalAlignmentIndicates if the TitleHorizontalAlignment property needs to be serialized.  
Protected MethodShouldSerializeTitleMarginIndicates if the TitleMargin property needs to be serialized.  
Protected MethodShouldSerializeTitlePositionIndicates if the TitlePosition property needs to be serialized.  
Protected MethodShouldSerializeTitleTextColorIndicates if the TitleTextColor property needs to be serialized.  
Protected MethodShouldSerializeTitleTextStyleIndicates if the TitleTextStyle property needs to be serialized.  
Protected MethodShouldSerializeTitleVerticalAlignmentIndicates if the TitleVerticalAlignment property needs to be serialized.  
Protected MethodShouldSerializeUseEnhancedIntervalManagementIndicates if the UseEnhancedIntervalManagement property needs to be serialized.  
Protected MethodShouldSerializeUsePerLabelHeightMeasurementIndicates if the UsePerLabelHeightMeasurement property needs to be serialized.  
Protected MethodShouldSerializeVisibilityIndicates if the Visibility property needs to be serialized.  
Public Events
 NameDescription
Public EventFormatLabelGets or sets a function which takes an object that produces a formatted label for displaying in the chart.  
Public EventPropertyChangedOccurs when a property (including "effective" and non-dependency property) value changes.  
Public EventPropertyUpdatedOccurs when a property (including "effective" and non-dependency property) value changes.  
Public EventRangeChangedOccurs when the axis range changes.  
Public EventRenderRequestedThis event is raised every time a render has been requested from a series.  
See Also