#YAxis

##Properties

Datatype Property name Property description Default Value
Nullable AllowDecimals Whether to allow decimals in this axis' ticks. When counting integers, like persons or hits on a web page, decimals must be avoided in the axis tick labels. Default: true null
Nullable AlternateGridColor When using an alternate grid color, a band is painted across the plot area between every other grid line. null
String[] Categories <p>If categories are present for the xAxis, names are used instead of numbers for that axis. Since Highcharts 3.0, categories can also be extracted by giving each point a name and setting axis type to 'category'.</p><p>Example:<pre>categories: ['Apples', 'Bananas', 'Oranges']</pre> Defaults to null</p> null
DateTimeLabel DateTimeLabelFormats For a datetime axis, the scale will automatically adjust to the appropriate unit. This member gives the default string representations used for each unit. For an overview of the replacement codes, see dateFormat. Defaults to:<pre>{ millisecond: '%H:%M:%S.%L', second: '%H:%M:%S', minute: '%H:%M', hour: '%H:%M', day: '%e. %b', week: '%e. %b', month: '%b '%y', year: '%Y'}</pre> null
Nullable EndOnTick Whether to force the axis to end on a tick. Use this option with the maxPadding option to control the axis end. Default: true null
YAxisEvents Events   null
Nullable GridLineColor Color of the grid lines extending the ticks across the plot area. Default: #C0C0C0 null
Nullable GridLineDashStyle The dash or dot style of the grid lines. For possible values, see this demonstration. Default: Solid null
String GridLineInterpolation   null
Nullable GridLineWidth The width of the grid lines extending the ticks across the plot area. Default: 1 null
String Id An id for the axis. This can be used after render time to get a pointer to the axis object through chart.get(). null
YAxisLabels Labels   null
Nullable LineColor The color of the line marking the axis itself. Default: #C0D0E0 null
Nullable LineWidth The width of the line marking the axis itself. Default: 0 null
Nullable LinkedTo Index of another axis that this axis is linked to. When an axis is linked to a master axis, it will take the same extremes as the master, but as assigned by min or max or by setExtremes. It can be used to show additional info, or to ease reading the chart by duplicating the scales. null
Nullable Max The maximum value of the axis. If null, the max value is automatically calculated. If the endOnTick option is true, the max value might be rounded up. The actual maximum value is also influenced by chart.alignTicks. null
Nullable MaxPadding Padding of the max value relative to the length of the axis. A padding of 0.05 will make a 100px axis 5px longer. This is useful when you don't want the highest data value to appear on the edge of the plot area. Default: 0.05 null
Nullable MaxZoom   null
Nullable Min The minimum value of the axis. If null the min value is automatically calculated. If the startOnTick option is true, the min value might be rounded down. null
Nullable MinorGridLineColor Color of the minor, secondary grid lines. Default: #E0E0E0 null
Nullable MinorGridLineDashStyle The dash or dot style of the minor grid lines. For possible values, see this demonstration. Default: Solid null
Nullable MinorGridLineWidth Width of the minor, secondary grid lines. Default: 1 null
Nullable MinorTickColor Color for the minor tick marks. Default: #A0A0A0 null
Nullable MinorTickInterval <p>Tick interval in scale units for the minor ticks. On a linear axis, if 'auto', the minor tick interval is calculated as a fifth of the tickInterval. If null, minor ticks are not shown.</p><p>On logarithmic axes, the unit is the power of the value. For example, setting the minorTickInterval to 1 puts one tick on each of 0.1, 1, 10, 100 etc. Setting the minorTickInterval to 0.1 produces 9 ticks between 1 and 10, 10 and 100 etc. A minorTickInterval of 'auto' on a log axis results in a best guess, attempting to enter approximately 5 minor ticks between each major tick.</p><p>On axes using categories, minor ticks are not supported.</p> null
Nullable MinorTickLength The pixel length of the minor tick marks. Default: 2 null
Nullable MinorTickPosition The position of the minor tick marks relative to the axis line. Can be one of inside and outside. Default: outside null
Nullable MinorTickWidth The pixel width of the minor tick mark. Default: 0 null
Nullable MinPadding Padding of the min value relative to the length of the axis. A padding of 0.05 will make a 100px axis 5px longer. This is useful when you don't want the lowest data value to appear on the edge of the plot area. Default: 0.05 null
Nullable MinRange <p>The minimum range to display on this axis. The entire axis will not be allowed to span over a smaller interval than this. For example, for a datetime axis the main unit is milliseconds. If minRange is set to 3600000, you can't zoom in more than to one hour.</p><p>The default minRange for the x axis is five times the smallest interval between any of the data points.</p><p>On a logarithmic axis, the unit for the minimum range is the power. So a minRange of 1 means that the axis can be zoomed to 10-100, 100-1000, 1000-10000 etc.</p> null
Nullable MinTickInterval The minimum tick interval allowed in axis values. For example on zooming in on an axis with daily data, this can be used to prevent the axis from showing hours. null
Nullable Offset The distance in pixels from the plot area to the axis line. A positive offset moves the axis with it's line, labels and ticks away from the plot area. This is typically used when two or more axes are displayed on the same side of the plot. Default: 0 null
Nullable Opposite Whether to display the axis on the opposite side of the normal. The normal is on the left side for vertical axes and bottom for horizontal, so the opposite sides will be right and top respectively. This is typically used with dual or multiple axes. Default: false null
YAxisPlotBands[] PlotBands   null
YAxisPlotLines[] PlotLines   null
Nullable Reversed Whether to reverse the axis so that the highest number is closest to origo. If the chart is inverted, the x axis is reversed by default. Default: false null
Nullable ShowEmpty Whether to show the axis line and title when the axis has no data. Defaults to true. Default: true null
Nullable ShowFirstLabel Whether to show the first tick label. Default: true null
Nullable ShowLastLabel Whether to show the last tick label. Default: true null
YAxisStackLabels StackLabels The stack labels show the total value for each bar in a stacked column or bar chart. The label will be placed on top of positive columns and below negative columns. In case of an inverted column chart or a bar chart the label is placed to the right of positive bars and to the left of negative bars. null
Nullable StartOfWeek For datetime axes, this decides where to put the tick between weeks. 0 = Sunday, 1 = Monday. Default: 1 null
Nullable StartOnTick Whether to force the axis to start on a tick. Use this option with the maxPadding option to control the axis start. Default: true null
Nullable TickColor Color for the main tick marks. Default: #C0D0E0 null
Nullable TickInterval <p>The interval of the tick marks in axis units. When null, the tick interval is computed to approximately follow the tickPixelInterval on linear and datetime axes. On categorized axes, a null tickInterval will default to 1, one category. Note that datetime axes are based on milliseconds, so for example an interval of one day is expressed as 24 * 3600 * 1000.</p><p>On logarithmic axes, the tickInterval is based on powers, so a tickInterval of 1 means one tick on each of 0.1, 1, 10, 100 etc. A tickInterval of 2 means a tick of 0.1, 10, 1000 etc. A tickInterval of 0.2 puts a tick on 0.1, 0.2, 0.4, 0.6, 0.8, 1, 2, 4, 6, 8, 10, 20, 40 etc.</p> null
Nullable TickLength The pixel length of the main tick marks. Default: 5 null
Nullable TickmarkPlacement For categorized axes only. If 'on' the tick mark is placed in the center of the category, if 'between' the tick mark is placed between categories. Default: between null
Nullable TickPixelInterval If tickInterval is null this option sets the approximate pixel interval of the tick marks. Not applicable to categorized axis. Defaults to 72 for the Y axis and 100 forthe X axis. null
Nullable TickPosition The position of the major tick marks relative to the axis line. Can be one of inside and outside. Default: outside null
String TickPositioner A callback function returning array defining where the ticks are laid out on the axis. This overrides the default behaviour of tickPixelInterval and tickInterval. Default: null null
Nullable[] TickPositions An array defining where the ticks are laid out on the axis. This overrides the default behaviour of tickPixelInterval and tickInterval. Default: null null
Nullable TickWidth The pixel width of the major tick marks. Default: 0 null
YAxisTitle Title   null
Nullable Type The type of axis. Can be one of 'linear', 'logarithmic', 'datetime' or 'category'. In a datetime axis, the numbers are given in milliseconds, and tick marks are placed on appropriate values like full hours or days. In a category axis, the point names of the first series are used for categories, if not a categories array is defined. Default: linear null

##Methods

###Equals(System.Object) Determines whether the specified System.Object is equal to the current System.Object.

Parameters:

Returns:

true if the specified System.Object is equal to the current System.Object; otherwise, false.


###GetHashCode() Serves as a hash function for a particular type.

Returns:

A hash code for the current System.Object.


###GetType() Gets the System.Type of the current instance.

Returns:

The System.Type instance that represents the exact runtime type of the current instance.


###ToString() Returns a System.String that represents the current System.Object.

Returns:

A System.String that represents the current System.Object.