Axis Class
Contents
[
Hide
]Axis class
Encapsulates the object that represents an axis of chart.
type Axis struct {
ptr unsafe.Pointer
}
Constructors
| Method | Description |
|---|
Methods
| Method | Description |
|---|---|
| IsNull | Checks whether the implementation object is nullptr. |
| GetArea | Gets the Area. |
| IsAutomaticMinValue | Indicates whether the min value is automatically assigned. |
| SetIsAutomaticMinValue | Indicates whether the min value is automatically assigned. |
| GetMinValue | Represents the minimum value on the value axis. |
| SetMinValue | Represents the minimum value on the value axis. |
| IsAutomaticMaxValue | Indicates whether the max value is automatically assigned. |
| SetIsAutomaticMaxValue | Indicates whether the max value is automatically assigned. |
| GetMaxValue | Represents the maximum value on the value axis. |
| SetMaxValue | Represents the maximum value on the value axis. |
| IsAutomaticMajorUnit | Indicates whether the major unit of the axis is automatically assigned. |
| SetIsAutomaticMajorUnit | Indicates whether the major unit of the axis is automatically assigned. |
| GetMajorUnit | Represents the major units for the axis. |
| SetMajorUnit | Represents the major units for the axis. |
| IsAutomaticMinorUnit | Indicates whether the minor unit of the axis is automatically assigned. |
| SetIsAutomaticMinorUnit | Indicates whether the minor unit of the axis is automatically assigned. |
| GetMinorUnit | Represents the minor units for the axis. |
| SetMinorUnit | Represents the minor units for the axis. |
| GetAxisLine | Gets the appearance of an Axis. |
| GetMajorTickMark | Represents the type of major tick mark for the specified axis. |
| SetMajorTickMark | Represents the type of major tick mark for the specified axis. |
| GetMinorTickMark | Represents the type of minor tick mark for the specified axis. |
| SetMinorTickMark | Represents the type of minor tick mark for the specified axis. |
| GetTickLabelPosition | Represents the position of tick-mark labels on the specified axis. |
| SetTickLabelPosition | Represents the position of tick-mark labels on the specified axis. |
| GetCrossAt | Represents the point on the value axis where the category axis crosses it. |
| SetCrossAt | Represents the point on the value axis where the category axis crosses it. |
| GetCrossType | Represents the CrossType on the specified axis where the other axis crosses. |
| SetCrossType | Represents the CrossType on the specified axis where the other axis crosses. |
| GetLogBase | Represents the logarithmic base. Default value is 10.Only applies for Excel2007. |
| SetLogBase | Represents the logarithmic base. Default value is 10.Only applies for Excel2007. |
| IsLogarithmic | Represents if the value axis scale type is logarithmic or not. |
| SetIsLogarithmic | Represents if the value axis scale type is logarithmic or not. |
| IsPlotOrderReversed | Represents if Microsoft Excel plots data points from last to first. |
| SetIsPlotOrderReversed | Represents if Microsoft Excel plots data points from last to first. |
| GetAxisBetweenCategories | Represents if the value axis crosses the category axis between categories. |
| SetAxisBetweenCategories | Represents if the value axis crosses the category axis between categories. |
| GetTickLabels | Returns a TickLabels object that represents the tick-mark labels for the specified axis. |
| GetTickLabelSpacing | Represents the number of categories or series between tick-mark labels. Applies only to category and series axes. |
| SetTickLabelSpacing | Represents the number of categories or series between tick-mark labels. Applies only to category and series axes. |
| IsAutoTickLabelSpacing | Indicates whether the spacing of tick label is automatic |
| SetIsAutoTickLabelSpacing | Indicates whether the spacing of tick label is automatic |
| GetTickMarkSpacing | Returns or sets the number of categories or series between tick marks. Applies only to category and series axes. |
| SetTickMarkSpacing | Returns or sets the number of categories or series between tick marks. Applies only to category and series axes. |
| GetDisplayUnit | Represents the unit label for the specified axis. |
| SetDisplayUnit | Represents the unit label for the specified axis. |
| GetCustomDisplayUnit | Specifies a custom value for the display unit. |
| SetCustomDisplayUnit | Specifies a custom value for the display unit. |
| GetDisplayUnitLabel | Represents a unit label on an axis in the specified chart.Unit labels are useful for charting large values— for example, in the millions or billions. |
| IsDisplayUnitLabelShown | Represents if the display unit label is shown on the specified axis. |
| SetIsDisplayUnitLabelShown | Represents if the display unit label is shown on the specified axis. |
| GetTitle | Gets the axis’ title. |
| GetCategoryType | Represents the category axis type. |
| SetCategoryType | Represents the category axis type. |
| GetBaseUnitScale | Represents the base unit scale for the category axis. |
| SetBaseUnitScale | Represents the base unit scale for the category axis. |
| GetMajorUnitScale | Represents the major unit scale for the category axis. |
| SetMajorUnitScale | Represents the major unit scale for the category axis. |
| GetMinorUnitScale | Represents the major unit scale for the category axis. |
| SetMinorUnitScale | Represents the major unit scale for the category axis. |
| IsVisible | Represents if the axis is visible. |
| SetIsVisible | Represents if the axis is visible. |
| GetMajorGridLines | Represents major gridlines on a chart axis. |
| GetMinorGridLines | Represents minor gridlines on a chart axis. |
| GetHasMultiLevelLabels | Indicates whether the labels shall be shown as multi level. |
| SetHasMultiLevelLabels | Indicates whether the labels shall be shown as multi level. |
| GetAxisTexts | Gets the labels of the axis after call Chart.Calculate() method. |
| GetBins | Represents bins on a chart(Histogram/Pareto) axis |