Highcharts .NET  11.3.0
Highsoft.Web.Mvc.Charts.YAxis Class Reference

Inherits BaseObject.

Properties

YAxisAccessibility Accessibility [get, set]
 Accessibility options for an axis. Requires the accessibility module. More...
 
bool AlignTicks [get, set]
 When using multiple axis, the ticks of two or more opposite axeswill automatically be aligned by adding ticks to the axis or axeswith the least ticks, as if tickAmount were specified.This can be prevented by setting alignTicks to false. If the gridlines look messy, it's a good idea to hide them for the secondaryaxis by setting gridLineWidth to 0.If startOnTick or endOnTick in an Axis options are set to false,then the alignTicks will be disabled for the Axis.Disabled for logarithmic axes. More...
 
bool AllowDecimals [get, set]
 Whether to allow decimals in this axis' ticks. When countingintegers, like persons or hits on a web page, decimals shouldbe avoided in the labels. By default, decimals are allowed on smallscale axes. More...
 
string AlternateGridColor [get, set]
 When using an alternate grid color, a band is painted across theplot area between every other grid line. More...
 
double Angle [get, set]
 In a polar chart, this is the angle of the Y axis in degrees, where0 is up and 90 is right. The angle determines the position of theaxis line and the labels, though the coordinate system is unaffected.Since v8.0.0 this option is also applicable for X axis (invertedpolar). More...
 
List< YAxisBreaksBreaks [get, set]
 An array defining breaks in the axis, the sections defined will beleft out and all the points shifted closer to each other. More...
 
List< string > Categories [get, set]
 If categories are present for the xAxis, names are used instead ofnumbers for that axis.Since Highcharts 3.0, categories can alsobe extracted by giving each point a name and settingaxis type to category. However, if you have multipleseries, best practice remains defining the categories array.Example: ‘categories: ['Apples’, 'Bananas', 'Oranges']` More...
 
double Ceiling [get, set]
 The highest allowed value for automatically computed axis extremes. More...
 
string ClassName [get, set]
 A class name that opens for styling the axis by CSS, especially inHighcharts styled mode. The class name is applied to group elementsfor the grid, axis elements and labels. More...
 
YAxisCrosshair Crosshair [get, set]
 Configure a crosshair that follows either the mouse pointer or thehovered point.In styled mode, the crosshairs are styled in the<tt>.highcharts-crosshair, .highcharts-crosshair-thin or<tt>.highcharts-xaxis-category classes. More...
 
bool CrosshairBool [get, set]
 Configure a crosshair that follows either the mouse pointer or thehovered point.In styled mode, the crosshairs are styled in the<tt>.highcharts-crosshair, .highcharts-crosshair-thin or<tt>.highcharts-xaxis-category classes. More...
 
double Crossing [get, set]
 The value on a perpendicular axis where this axis should cross. Thisis typically used on mathematical plots where the axes cross at 0.When crossing is set, space will not be reserved at the sides ofthe chart for axis labels and title, so those may be clipped. In thiscase it is better to place the axes without the crossing option. More...
 
Hashtable DateTimeLabelFormats [get, set]
 For a datetime axis, the scale will automatically adjust to theappropriate unit. This member gives the default stringrepresentations used for each unit. For intermediate values,different units may be used, for example the day unit can be usedon midnight and hour unit be used for intermediate values on thesame axis.For an overview of the replacement codes, seedateFormat.Defaults to:js{ 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'} More...
 
bool EndOnTick [get, set]
 Whether to force the axis to end on a tick. Use this option withthe maxPadding option to control the axis end.This option is always disabled, when panning type iseither y or xy. More...
 
YAxisEvents Events [get, set]
 Event handlers for the axis. More...
 
double Floor [get, set]
 The lowest allowed value for automatically computed axis extremes. More...
 
string GridLineColor [get, set]
 Color of the grid lines extending the ticks across the plot area.In styled mode, the stroke is given in the .highcharts-grid-lineclass. More...
 
Hashtable GridLineDashStyle [get, set]
 The dash or dot style of the grid lines. For possible values, seethis demonstration. More...
 
YAxisGridLineInterpolation GridLineInterpolation [get, set]
 Polar charts only. Whether the grid lines should draw as a polygonwith straight lines between categories, or as circles. Can be eithercircle or polygon. Since v8.0.0 this option is also applicablefor X axis (inverted polar). More...
 
double GridLineWidth [get, set]
 
double GridZIndex [get, set]
 The Z index of the grid lines. More...
 
string Height [get, set]
 The height of the Y axis. If it's a number, it is interpreted aspixels.Since Highcharts 2: If it's a percentage string, it is interpreted aspercentages of the total plot height. More...
 
double HeightNumber [get, set]
 The height of the Y axis. If it's a number, it is interpreted aspixels.Since Highcharts 2: If it's a percentage string, it is interpreted aspercentages of the total plot height. More...
 
string Id [get, set]
 An id for the axis. This can be used after render time to geta pointer to the axis object through chart.get(). More...
 
YAxisLabels Labels [get, set]
 
string Left [get, set]
 The left position as the horizontal axis. If it's a number, it isinterpreted as pixel position relative to the chart.Since Highcharts v5.0.13: If it's a percentage string, it isinterpreted as percentages of the plot width, offset from plot arealeft. More...
 
double LeftNumber [get, set]
 The left position as the horizontal axis. If it's a number, it isinterpreted as pixel position relative to the chart.Since Highcharts v5.0.13: If it's a percentage string, it isinterpreted as percentages of the plot width, offset from plot arealeft. More...
 
string LineColor [get, set]
 The color of the line marking the axis itself.In styled mode, the line stroke is given in the<tt>.highcharts-axis-line or .highcharts-xaxis-line class. More...
 
double LineWidth [get, set]
 
double LinkedTo [get, set]
 Index of another axis that this axis is linked to. When an axis islinked to a master axis, it will take the same extremes asthe master, but as assigned by min or max or by setExtremes.It can be used to show additional info, or to ease reading thechart by duplicating the scales. More...
 
double Margin [get, set]
 If there are multiple axes on the same side of the chart, the pixelmargin between the axes. Defaults to 0 on vertical axes, 15 onhorizontal axes. More...
 
double Max [get, set]
 
string MaxColor [get, set]
 Solid gauge only. Unless stops are set, the colorto represent the maximum value of the Y axis. More...
 
double MaxPadding [get, set]
 Padding of the max value relative to the length of the axis. Apadding of 0.05 will make a 100px axis 5px longer. This is usefulwhen you don't want the highest data value to appear on the edgeof the plot area. When the axis' max option is set or a max extremeis set using axis.setExtremes(), the maxPadding will be ignored.Also the softThreshold option takes precedence over maxPadding,so if the data is tangent to the threshold, maxPadding may notapply unless softThreshold is set to false. More...
 
double MaxZoom [get, set]
 Deprecated. Use minRange instead. More...
 
double Min [get, set]
 
string MinColor [get, set]
 Solid gauge only. Unless stops are set, the colorto represent the minimum value of the Y axis. More...
 
string MinorGridLineColor [get, set]
 Color of the minor, secondary grid lines.In styled mode, the stroke width is given in the<tt>.highcharts-minor-grid-line class. More...
 
Hashtable MinorGridLineDashStyle [get, set]
 The dash or dot style of the minor grid lines. For possible values,see this demonstration. More...
 
double MinorGridLineWidth [get, set]
 Width of the minor, secondary grid lines.In styled mode, the stroke width is given in the<tt>.highcharts-grid-line class. More...
 
string MinorTickColor [get, set]
 Color for the minor tick marks. More...
 
string MinorTickInterval [get, set]
 Specific tick interval in axis units for the minor ticks. On a linearaxis, if "auto", the minor tick interval is calculated as a fifthof the tickInterval. If undefined, minor ticks are not shown.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 ticksbetween 1 and 10, 10 and 100 etc.If user settings dictate minor ticks to become too dense, they don'tmake sense, and will be ignored to prevent performance problems. More...
 
double MinorTickIntervalNumber [get, set]
 Specific tick interval in axis units for the minor ticks. On a linearaxis, if "auto", the minor tick interval is calculated as a fifthof the tickInterval. If undefined, minor ticks are not shown.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 ticksbetween 1 and 10, 10 and 100 etc.If user settings dictate minor ticks to become too dense, they don'tmake sense, and will be ignored to prevent performance problems. More...
 
double MinorTickLength [get, set]
 The pixel length of the minor tick marks. More...
 
YAxisMinorTickPosition MinorTickPosition [get, set]
 The position of the minor tick marks relative to the axis line. Can be one of inside and outside. More...
 
bool MinorTicks [get, set]
 Enable or disable minor ticks. The interval between the minor tickscan be controlled either by theminorTicksPerMajor setting, or as anabsolute minorTickInterval value.On a logarithmic axis, minor ticks are laid out based on a bestguess, attempting to enter an approximate number of minor ticksbetween each major tick based onminorTicksPerMajor.Prior to v6.0.0, ticks were enabled in auto layout by settingminorTickInterval to "auto". More...
 
double MinorTicksPerMajor [get, set]
 The number of minor ticks per major tick. Works for linear,logarithmic and datetime axes. More...
 
double MinorTickWidth [get, set]
 The pixel width of the minor tick mark. More...
 
double MinPadding [get, set]
 Padding of the min value relative to the length of the axis. Apadding of 0.05 will make a 100px axis 5px longer. This is usefulwhen you don't want the lowest data value to appear on the edgeof the plot area. When the axis' min option is set or a max extremeis set using axis.setExtremes(), the maxPadding will be ignored.Also the softThreshold option takes precedence over minPadding,so if the data is tangent to the threshold, minPadding may notapply unless softThreshold is set to false. More...
 
double MinRange [get, set]
 The minimum range to display on this axis. The entire axis will notbe allowed to span over a smaller interval than this. For example,for a datetime axis the main unit is milliseconds. If minRange isset to 3600000, you can't zoom in more than to one hour.The default minRange for the x axis is five times the smallestinterval between any of the data points.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.**Note**: The minPadding, maxPadding, startOnTick andendOnTick settings also affect how the extremes of the axisare computed. More...
 
double MinTickInterval [get, set]
 The minimum tick interval allowed in axis values. For example onzooming in on an axis with daily data, this can be used to preventthe axis from showing hours. Defaults to the closest distance betweentwo points on the axis. More...
 
double Offset [get, set]
 The distance in pixels from the plot area to the axis line.A positive offset moves the axis with it's line, labels and ticksaway from the plot area. This is typically used when two or moreaxes are displayed on the same side of the plot. With multipleaxes the offset is dynamically adjusted to avoid collision, thiscan be overridden by setting offset explicitly. More...
 
bool Opposite [get, set]
 
double Pane [get, set]
 Refers to the index in the panes array. Used for circulargauges and polar charts. When the option is not set then first panewill be used. More...
 
bool PanningEnabled [get, set]
 Whether to pan axis. If chart.panning is enabled, the optionallows to disable panning on an individual axis. More...
 
List< YAxisPlotBandsPlotBands [get, set]
 
List< YAxisPlotLinesPlotLines [get, set]
 
bool Reversed [get, set]
 Whether to reverse the axis so that the highest number is closestto the origin. More...
 
bool ReversedStacks [get, set]
 If true, the first series in a stack will be drawn on top in apositive, non-reversed Y axis. If false, the first series is inthe base of the stack. More...
 
bool ShowEmpty [get, set]
 Whether to show the axis line and title when the axis has no data. More...
 
bool ShowFirstLabel [get, set]
 Whether to show the first tick label. More...
 
bool ShowLastLabel [get, set]
 Whether to show the last tick label. More...
 
double SoftMax [get, set]
 A soft maximum for the axis. If the series data maximum is lessthan this, the axis will stay at this maximum, but if the seriesdata maximum is higher, the axis will flex to show all data.**Note**: The series.softThreshold option takes precedence over thisoption. More...
 
double SoftMin [get, set]
 A soft minimum for the axis. If the series data minimum is greaterthan this, the axis will stay at this minimum, but if the seriesdata minimum is lower, the axis will flex to show all data.**Note**: The series.softThreshold option takes precedence over thisoption. More...
 
YAxisStackLabels StackLabels [get, set]
 The stack labels show the total value for each bar in a stackedcolumn or bar chart. The label will be placed on top of positivecolumns and below negative columns. In case of an inverted columnchart or a bar chart the label is placed to the right of positivebars and to the left of negative bars. More...
 
YAxisStackShadow StackShadow [get, set]
 Relevant only for pictorial series. The stackShadow forms the background ofstacked points. Requires series.stacking to be defined. More...
 
double StartOfWeek [get, set]
 For datetime axes, this decides where to put the tick between weeks. 0 = Sunday, 1 = Monday. More...
 
bool StartOnTick [get, set]
 Whether to force the axis to start on a tick. Use this option withthe maxPadding option to control the axis start.This option is always disabled, when panning type iseither y or xy. More...
 
List< Stop > Stops [get, set]
 Solid gauge series only. Color stops for the solid gauge. Use thisin cases where a linear gradient between a minColor and maxColoris not sufficient. The stops is an array of tuples, where the firstitem is a float between 0 and 1 assigning the relative position inthe gradient, and the second item is the color.For solid gauges, the Y axis also inherits the concept ofdata classesfrom the Highmaps color axis. More...
 
double TickAmount [get, set]
 The amount of ticks to draw on the axis. This opens up for aligningthe ticks of multiple charts or panes within a chart. This optionoverrides the tickPixelInterval option.This option only has an effect on linear axes. Datetime, logarithmicor category axes are not affected. More...
 
string TickColor [get, set]
 Color for the main tick marks.In styled mode, the stroke is given in the .highcharts-tickclass. More...
 
double TickInterval [get, set]
 The interval of the tick marks in axis units. When undefined, thetick interval is computed to approximately follow thetickPixelInterval on linear and datetimeaxes. On categorized axes, a undefined tickInterval will default to1, one category. Note that datetime axes are based on milliseconds,so for example an interval of one day is expressed as24 * 3600 * 1000.On logarithmic axes, the tickInterval is based on powers, so atickInterval of 1 means one tick on each of 0.1, 1, 10, 100 etc. AtickInterval of 2 means a tick of 0.1, 10, 1000 etc. A tickIntervalof 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.If the tickInterval is too dense for labels to be drawn, Highchartsmay remove ticks.If the chart has multiple axes, the alignTicksoption may interfere with the tickInterval setting. More...
 
double TickLength [get, set]
 The pixel length of the main tick marks. More...
 
YAxisTickmarkPlacement TickmarkPlacement [get, set]
 For categorized axes only. If on the tick mark is placed in thecenter of the category, if between the tick mark is placed betweencategories. The default is between if the tickInterval is 1, elseon. In order to render tick marks on a category axis it is necessaryto provide a tickWidth. More...
 
double TickPixelInterval [get, set]
 
YAxisTickPosition TickPosition [get, set]
 The position of the major tick marks relative to the axis line.Can be one of inside and outside. More...
 
string TickPositioner [get, set]
 A callback function returning array defining where the ticks arelaid out on the axis. This overrides the default behaviour oftickPixelInterval and tickInterval. The automatic tick positions are accessiblethrough this.tickPositions and can be modified by the callback. More...
 
List< double > TickPositions [get, set]
 An array defining where the ticks are laid out on the axis. Thisoverrides the default behaviour of tickPixelInterval and tickInterval. More...
 
double TickWidth [get, set]
 The pixel width of the major tick marks. More...
 
YAxisTitle Title [get, set]
 
string TooltipValueFormat [get, set]
 Parallel coordinates only. Format that will be used for point.yand available in tooltip.pointFormat as{point.formattedValue}. If not set, {point.formattedValue}will use other options, in this order:1. yAxis.labels.format will be used if set2. If yAxis is a category, then category name will be displayed3. If yAxis is a datetime, then value will use the same format as yAxis labels4. If yAxis is linear/logarithmic type, then simple value will be used More...
 
string Top [get, set]
 The top position of the Y axis. If it's a number, it is interpretedas pixel position relative to the chart.Since Highcharts 2: If it's a percentage string, it is interpreted aspercentages of the plot height, offset from plot area top. More...
 
double TopNumber [get, set]
 The top position of the Y axis. If it's a number, it is interpretedas pixel position relative to the chart.Since Highcharts 2: If it's a percentage string, it is interpreted aspercentages of the plot height, offset from plot area top. More...
 
string Type [get, set]
 The type of axis. Can be one of linear, logarithmic, datetime,category or treegrid. Defaults to treegrid for Gantt charts,linear for other chart types.In a datetime axis, the numbers are given in milliseconds, and tickmarks are placed on appropriate values, like full hours or days. In acategory or treegrid axis, the point namesof the chart's series are used for categories, if acategories array is not defined. More...
 
bool UniqueNames [get, set]
 Applies only when the axis type is category. When uniqueNamesis true, points are placed on the X axis according to their names.If the same point name is repeated in the same or another series,the point is placed on the same X position as other points of thesame name. When uniqueNames is false, the points are laid out inincreasing X positions regardless of their names, and the X axiscategory will take the name of the last point in each position. More...
 
bool Visible [get, set]
 Whether axis, including axis title, line, ticks and labels, shouldbe visible. More...
 
string Width [get, set]
 The width as the horizontal axis. If it's a number, it is interpretedas pixels.Since Highcharts v5.0.13: If it's a percentage string, it isinterpreted as percentages of the total plot width. More...
 
double WidthNumber [get, set]
 The width as the horizontal axis. If it's a number, it is interpretedas pixels.Since Highcharts v5.0.13: If it's a percentage string, it isinterpreted as percentages of the total plot width. More...
 
double ZIndex [get, set]
 The Z index for the axis group. More...
 
bool ZoomEnabled [get, set]
 Whether to zoom axis. If chart.zoomType is set, the option allowsto disable zooming on an individual axis. More...
 
Hashtable CustomFields [get, set]
 

Property Documentation

◆ Accessibility

YAxisAccessibility Highsoft.Web.Mvc.Charts.YAxis.Accessibility
getset

Accessibility options for an axis. Requires the accessibility module.

◆ AlignTicks

bool Highsoft.Web.Mvc.Charts.YAxis.AlignTicks
getset

When using multiple axis, the ticks of two or more opposite axeswill automatically be aligned by adding ticks to the axis or axeswith the least ticks, as if tickAmount were specified.This can be prevented by setting alignTicks to false. If the gridlines look messy, it's a good idea to hide them for the secondaryaxis by setting gridLineWidth to 0.If startOnTick or endOnTick in an Axis options are set to false,then the alignTicks will be disabled for the Axis.Disabled for logarithmic axes.

◆ AllowDecimals

bool Highsoft.Web.Mvc.Charts.YAxis.AllowDecimals
getset

Whether to allow decimals in this axis' ticks. When countingintegers, like persons or hits on a web page, decimals shouldbe avoided in the labels. By default, decimals are allowed on smallscale axes.

◆ AlternateGridColor

string Highsoft.Web.Mvc.Charts.YAxis.AlternateGridColor
getset

When using an alternate grid color, a band is painted across theplot area between every other grid line.

◆ Angle

double Highsoft.Web.Mvc.Charts.YAxis.Angle
getset

In a polar chart, this is the angle of the Y axis in degrees, where0 is up and 90 is right. The angle determines the position of theaxis line and the labels, though the coordinate system is unaffected.Since v8.0.0 this option is also applicable for X axis (invertedpolar).

◆ Breaks

List<YAxisBreaks> Highsoft.Web.Mvc.Charts.YAxis.Breaks
getset

An array defining breaks in the axis, the sections defined will beleft out and all the points shifted closer to each other.

◆ Categories

List<string> Highsoft.Web.Mvc.Charts.YAxis.Categories
getset

If categories are present for the xAxis, names are used instead ofnumbers for that axis.Since Highcharts 3.0, categories can alsobe extracted by giving each point a name and settingaxis type to category. However, if you have multipleseries, best practice remains defining the categories array.Example: ‘categories: ['Apples’, 'Bananas', 'Oranges']`

◆ Ceiling

double Highsoft.Web.Mvc.Charts.YAxis.Ceiling
getset

The highest allowed value for automatically computed axis extremes.

◆ ClassName

string Highsoft.Web.Mvc.Charts.YAxis.ClassName
getset

A class name that opens for styling the axis by CSS, especially inHighcharts styled mode. The class name is applied to group elementsfor the grid, axis elements and labels.

◆ Crosshair

YAxisCrosshair Highsoft.Web.Mvc.Charts.YAxis.Crosshair
getset

Configure a crosshair that follows either the mouse pointer or thehovered point.In styled mode, the crosshairs are styled in the<tt>.highcharts-crosshair, .highcharts-crosshair-thin or<tt>.highcharts-xaxis-category classes.

◆ CrosshairBool

bool Highsoft.Web.Mvc.Charts.YAxis.CrosshairBool
getset

Configure a crosshair that follows either the mouse pointer or thehovered point.In styled mode, the crosshairs are styled in the<tt>.highcharts-crosshair, .highcharts-crosshair-thin or<tt>.highcharts-xaxis-category classes.

◆ Crossing

double Highsoft.Web.Mvc.Charts.YAxis.Crossing
getset

The value on a perpendicular axis where this axis should cross. Thisis typically used on mathematical plots where the axes cross at 0.When crossing is set, space will not be reserved at the sides ofthe chart for axis labels and title, so those may be clipped. In thiscase it is better to place the axes without the crossing option.

◆ DateTimeLabelFormats

Hashtable Highsoft.Web.Mvc.Charts.YAxis.DateTimeLabelFormats
getset

For a datetime axis, the scale will automatically adjust to theappropriate unit. This member gives the default stringrepresentations used for each unit. For intermediate values,different units may be used, for example the day unit can be usedon midnight and hour unit be used for intermediate values on thesame axis.For an overview of the replacement codes, seedateFormat.Defaults to:js{ 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'}

◆ EndOnTick

bool Highsoft.Web.Mvc.Charts.YAxis.EndOnTick
getset

Whether to force the axis to end on a tick. Use this option withthe maxPadding option to control the axis end.This option is always disabled, when panning type iseither y or xy.

◆ Events

YAxisEvents Highsoft.Web.Mvc.Charts.YAxis.Events
getset

Event handlers for the axis.

◆ Floor

double Highsoft.Web.Mvc.Charts.YAxis.Floor
getset

The lowest allowed value for automatically computed axis extremes.

◆ GridLineColor

string Highsoft.Web.Mvc.Charts.YAxis.GridLineColor
getset

Color of the grid lines extending the ticks across the plot area.In styled mode, the stroke is given in the .highcharts-grid-lineclass.

◆ GridLineDashStyle

Hashtable Highsoft.Web.Mvc.Charts.YAxis.GridLineDashStyle
getset

The dash or dot style of the grid lines. For possible values, seethis demonstration.

◆ GridLineInterpolation

YAxisGridLineInterpolation Highsoft.Web.Mvc.Charts.YAxis.GridLineInterpolation
getset

Polar charts only. Whether the grid lines should draw as a polygonwith straight lines between categories, or as circles. Can be eithercircle or polygon. Since v8.0.0 this option is also applicablefor X axis (inverted polar).

◆ GridLineWidth

double Highsoft.Web.Mvc.Charts.YAxis.GridLineWidth
getset

◆ GridZIndex

double Highsoft.Web.Mvc.Charts.YAxis.GridZIndex
getset

The Z index of the grid lines.

◆ Height

string Highsoft.Web.Mvc.Charts.YAxis.Height
getset

The height of the Y axis. If it's a number, it is interpreted aspixels.Since Highcharts 2: If it's a percentage string, it is interpreted aspercentages of the total plot height.

◆ HeightNumber

double Highsoft.Web.Mvc.Charts.YAxis.HeightNumber
getset

The height of the Y axis. If it's a number, it is interpreted aspixels.Since Highcharts 2: If it's a percentage string, it is interpreted aspercentages of the total plot height.

◆ Id

string Highsoft.Web.Mvc.Charts.YAxis.Id
getset

An id for the axis. This can be used after render time to geta pointer to the axis object through chart.get().

◆ Labels

YAxisLabels Highsoft.Web.Mvc.Charts.YAxis.Labels
getset

◆ Left

string Highsoft.Web.Mvc.Charts.YAxis.Left
getset

The left position as the horizontal axis. If it's a number, it isinterpreted as pixel position relative to the chart.Since Highcharts v5.0.13: If it's a percentage string, it isinterpreted as percentages of the plot width, offset from plot arealeft.

◆ LeftNumber

double Highsoft.Web.Mvc.Charts.YAxis.LeftNumber
getset

The left position as the horizontal axis. If it's a number, it isinterpreted as pixel position relative to the chart.Since Highcharts v5.0.13: If it's a percentage string, it isinterpreted as percentages of the plot width, offset from plot arealeft.

◆ LineColor

string Highsoft.Web.Mvc.Charts.YAxis.LineColor
getset

The color of the line marking the axis itself.In styled mode, the line stroke is given in the<tt>.highcharts-axis-line or .highcharts-xaxis-line class.

◆ LineWidth

double Highsoft.Web.Mvc.Charts.YAxis.LineWidth
getset

◆ LinkedTo

double Highsoft.Web.Mvc.Charts.YAxis.LinkedTo
getset

Index of another axis that this axis is linked to. When an axis islinked to a master axis, it will take the same extremes asthe master, but as assigned by min or max or by setExtremes.It can be used to show additional info, or to ease reading thechart by duplicating the scales.

◆ Margin

double Highsoft.Web.Mvc.Charts.YAxis.Margin
getset

If there are multiple axes on the same side of the chart, the pixelmargin between the axes. Defaults to 0 on vertical axes, 15 onhorizontal axes.

◆ Max

double Highsoft.Web.Mvc.Charts.YAxis.Max
getset

◆ MaxColor

string Highsoft.Web.Mvc.Charts.YAxis.MaxColor
getset

Solid gauge only. Unless stops are set, the colorto represent the maximum value of the Y axis.

◆ MaxPadding

double Highsoft.Web.Mvc.Charts.YAxis.MaxPadding
getset

Padding of the max value relative to the length of the axis. Apadding of 0.05 will make a 100px axis 5px longer. This is usefulwhen you don't want the highest data value to appear on the edgeof the plot area. When the axis' max option is set or a max extremeis set using axis.setExtremes(), the maxPadding will be ignored.Also the softThreshold option takes precedence over maxPadding,so if the data is tangent to the threshold, maxPadding may notapply unless softThreshold is set to false.

◆ MaxZoom

double Highsoft.Web.Mvc.Charts.YAxis.MaxZoom
getset

Deprecated. Use minRange instead.

◆ Min

double Highsoft.Web.Mvc.Charts.YAxis.Min
getset

◆ MinColor

string Highsoft.Web.Mvc.Charts.YAxis.MinColor
getset

Solid gauge only. Unless stops are set, the colorto represent the minimum value of the Y axis.

◆ MinorGridLineColor

string Highsoft.Web.Mvc.Charts.YAxis.MinorGridLineColor
getset

Color of the minor, secondary grid lines.In styled mode, the stroke width is given in the<tt>.highcharts-minor-grid-line class.

◆ MinorGridLineDashStyle

Hashtable Highsoft.Web.Mvc.Charts.YAxis.MinorGridLineDashStyle
getset

The dash or dot style of the minor grid lines. For possible values,see this demonstration.

◆ MinorGridLineWidth

double Highsoft.Web.Mvc.Charts.YAxis.MinorGridLineWidth
getset

Width of the minor, secondary grid lines.In styled mode, the stroke width is given in the<tt>.highcharts-grid-line class.

◆ MinorTickColor

string Highsoft.Web.Mvc.Charts.YAxis.MinorTickColor
getset

Color for the minor tick marks.

◆ MinorTickInterval

string Highsoft.Web.Mvc.Charts.YAxis.MinorTickInterval
getset

Specific tick interval in axis units for the minor ticks. On a linearaxis, if "auto", the minor tick interval is calculated as a fifthof the tickInterval. If undefined, minor ticks are not shown.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 ticksbetween 1 and 10, 10 and 100 etc.If user settings dictate minor ticks to become too dense, they don'tmake sense, and will be ignored to prevent performance problems.

◆ MinorTickIntervalNumber

double Highsoft.Web.Mvc.Charts.YAxis.MinorTickIntervalNumber
getset

Specific tick interval in axis units for the minor ticks. On a linearaxis, if "auto", the minor tick interval is calculated as a fifthof the tickInterval. If undefined, minor ticks are not shown.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 ticksbetween 1 and 10, 10 and 100 etc.If user settings dictate minor ticks to become too dense, they don'tmake sense, and will be ignored to prevent performance problems.

◆ MinorTickLength

double Highsoft.Web.Mvc.Charts.YAxis.MinorTickLength
getset

The pixel length of the minor tick marks.

◆ MinorTickPosition

YAxisMinorTickPosition Highsoft.Web.Mvc.Charts.YAxis.MinorTickPosition
getset

The position of the minor tick marks relative to the axis line. Can be one of inside and outside.

◆ MinorTicks

bool Highsoft.Web.Mvc.Charts.YAxis.MinorTicks
getset

Enable or disable minor ticks. The interval between the minor tickscan be controlled either by theminorTicksPerMajor setting, or as anabsolute minorTickInterval value.On a logarithmic axis, minor ticks are laid out based on a bestguess, attempting to enter an approximate number of minor ticksbetween each major tick based onminorTicksPerMajor.Prior to v6.0.0, ticks were enabled in auto layout by settingminorTickInterval to "auto".

◆ MinorTicksPerMajor

double Highsoft.Web.Mvc.Charts.YAxis.MinorTicksPerMajor
getset

The number of minor ticks per major tick. Works for linear,logarithmic and datetime axes.

◆ MinorTickWidth

double Highsoft.Web.Mvc.Charts.YAxis.MinorTickWidth
getset

The pixel width of the minor tick mark.

◆ MinPadding

double Highsoft.Web.Mvc.Charts.YAxis.MinPadding
getset

Padding of the min value relative to the length of the axis. Apadding of 0.05 will make a 100px axis 5px longer. This is usefulwhen you don't want the lowest data value to appear on the edgeof the plot area. When the axis' min option is set or a max extremeis set using axis.setExtremes(), the maxPadding will be ignored.Also the softThreshold option takes precedence over minPadding,so if the data is tangent to the threshold, minPadding may notapply unless softThreshold is set to false.

◆ MinRange

double Highsoft.Web.Mvc.Charts.YAxis.MinRange
getset

The minimum range to display on this axis. The entire axis will notbe allowed to span over a smaller interval than this. For example,for a datetime axis the main unit is milliseconds. If minRange isset to 3600000, you can't zoom in more than to one hour.The default minRange for the x axis is five times the smallestinterval between any of the data points.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.**Note**: The minPadding, maxPadding, startOnTick andendOnTick settings also affect how the extremes of the axisare computed.

◆ MinTickInterval

double Highsoft.Web.Mvc.Charts.YAxis.MinTickInterval
getset

The minimum tick interval allowed in axis values. For example onzooming in on an axis with daily data, this can be used to preventthe axis from showing hours. Defaults to the closest distance betweentwo points on the axis.

◆ Offset

double Highsoft.Web.Mvc.Charts.YAxis.Offset
getset

The distance in pixels from the plot area to the axis line.A positive offset moves the axis with it's line, labels and ticksaway from the plot area. This is typically used when two or moreaxes are displayed on the same side of the plot. With multipleaxes the offset is dynamically adjusted to avoid collision, thiscan be overridden by setting offset explicitly.

◆ Opposite

bool Highsoft.Web.Mvc.Charts.YAxis.Opposite
getset

◆ Pane

double Highsoft.Web.Mvc.Charts.YAxis.Pane
getset

Refers to the index in the panes array. Used for circulargauges and polar charts. When the option is not set then first panewill be used.

◆ PanningEnabled

bool Highsoft.Web.Mvc.Charts.YAxis.PanningEnabled
getset

Whether to pan axis. If chart.panning is enabled, the optionallows to disable panning on an individual axis.

◆ PlotBands

List<YAxisPlotBands> Highsoft.Web.Mvc.Charts.YAxis.PlotBands
getset

◆ PlotLines

List<YAxisPlotLines> Highsoft.Web.Mvc.Charts.YAxis.PlotLines
getset

◆ Reversed

bool Highsoft.Web.Mvc.Charts.YAxis.Reversed
getset

Whether to reverse the axis so that the highest number is closestto the origin.

◆ ReversedStacks

bool Highsoft.Web.Mvc.Charts.YAxis.ReversedStacks
getset

If true, the first series in a stack will be drawn on top in apositive, non-reversed Y axis. If false, the first series is inthe base of the stack.

◆ ShowEmpty

bool Highsoft.Web.Mvc.Charts.YAxis.ShowEmpty
getset

Whether to show the axis line and title when the axis has no data.

◆ ShowFirstLabel

bool Highsoft.Web.Mvc.Charts.YAxis.ShowFirstLabel
getset

Whether to show the first tick label.

◆ ShowLastLabel

bool Highsoft.Web.Mvc.Charts.YAxis.ShowLastLabel
getset

Whether to show the last tick label.

◆ SoftMax

double Highsoft.Web.Mvc.Charts.YAxis.SoftMax
getset

A soft maximum for the axis. If the series data maximum is lessthan this, the axis will stay at this maximum, but if the seriesdata maximum is higher, the axis will flex to show all data.**Note**: The series.softThreshold option takes precedence over thisoption.

◆ SoftMin

double Highsoft.Web.Mvc.Charts.YAxis.SoftMin
getset

A soft minimum for the axis. If the series data minimum is greaterthan this, the axis will stay at this minimum, but if the seriesdata minimum is lower, the axis will flex to show all data.**Note**: The series.softThreshold option takes precedence over thisoption.

◆ StackLabels

YAxisStackLabels Highsoft.Web.Mvc.Charts.YAxis.StackLabels
getset

The stack labels show the total value for each bar in a stackedcolumn or bar chart. The label will be placed on top of positivecolumns and below negative columns. In case of an inverted columnchart or a bar chart the label is placed to the right of positivebars and to the left of negative bars.

◆ StackShadow

YAxisStackShadow Highsoft.Web.Mvc.Charts.YAxis.StackShadow
getset

Relevant only for pictorial series. The stackShadow forms the background ofstacked points. Requires series.stacking to be defined.

◆ StartOfWeek

double Highsoft.Web.Mvc.Charts.YAxis.StartOfWeek
getset

For datetime axes, this decides where to put the tick between weeks. 0 = Sunday, 1 = Monday.

◆ StartOnTick

bool Highsoft.Web.Mvc.Charts.YAxis.StartOnTick
getset

Whether to force the axis to start on a tick. Use this option withthe maxPadding option to control the axis start.This option is always disabled, when panning type iseither y or xy.

◆ Stops

List<Stop> Highsoft.Web.Mvc.Charts.YAxis.Stops
getset

Solid gauge series only. Color stops for the solid gauge. Use thisin cases where a linear gradient between a minColor and maxColoris not sufficient. The stops is an array of tuples, where the firstitem is a float between 0 and 1 assigning the relative position inthe gradient, and the second item is the color.For solid gauges, the Y axis also inherits the concept ofdata classesfrom the Highmaps color axis.

◆ TickAmount

double Highsoft.Web.Mvc.Charts.YAxis.TickAmount
getset

The amount of ticks to draw on the axis. This opens up for aligningthe ticks of multiple charts or panes within a chart. This optionoverrides the tickPixelInterval option.This option only has an effect on linear axes. Datetime, logarithmicor category axes are not affected.

◆ TickColor

string Highsoft.Web.Mvc.Charts.YAxis.TickColor
getset

Color for the main tick marks.In styled mode, the stroke is given in the .highcharts-tickclass.

◆ TickInterval

double Highsoft.Web.Mvc.Charts.YAxis.TickInterval
getset

The interval of the tick marks in axis units. When undefined, thetick interval is computed to approximately follow thetickPixelInterval on linear and datetimeaxes. On categorized axes, a undefined tickInterval will default to1, one category. Note that datetime axes are based on milliseconds,so for example an interval of one day is expressed as24 * 3600 * 1000.On logarithmic axes, the tickInterval is based on powers, so atickInterval of 1 means one tick on each of 0.1, 1, 10, 100 etc. AtickInterval of 2 means a tick of 0.1, 10, 1000 etc. A tickIntervalof 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.If the tickInterval is too dense for labels to be drawn, Highchartsmay remove ticks.If the chart has multiple axes, the alignTicksoption may interfere with the tickInterval setting.

◆ TickLength

double Highsoft.Web.Mvc.Charts.YAxis.TickLength
getset

The pixel length of the main tick marks.

◆ TickmarkPlacement

YAxisTickmarkPlacement Highsoft.Web.Mvc.Charts.YAxis.TickmarkPlacement
getset

For categorized axes only. If on the tick mark is placed in thecenter of the category, if between the tick mark is placed betweencategories. The default is between if the tickInterval is 1, elseon. In order to render tick marks on a category axis it is necessaryto provide a tickWidth.

◆ TickPixelInterval

double Highsoft.Web.Mvc.Charts.YAxis.TickPixelInterval
getset

◆ TickPosition

YAxisTickPosition Highsoft.Web.Mvc.Charts.YAxis.TickPosition
getset

The position of the major tick marks relative to the axis line.Can be one of inside and outside.

◆ TickPositioner

string Highsoft.Web.Mvc.Charts.YAxis.TickPositioner
getset

A callback function returning array defining where the ticks arelaid out on the axis. This overrides the default behaviour oftickPixelInterval and tickInterval. The automatic tick positions are accessiblethrough this.tickPositions and can be modified by the callback.

◆ TickPositions

List<double> Highsoft.Web.Mvc.Charts.YAxis.TickPositions
getset

An array defining where the ticks are laid out on the axis. Thisoverrides the default behaviour of tickPixelInterval and tickInterval.

◆ TickWidth

double Highsoft.Web.Mvc.Charts.YAxis.TickWidth
getset

The pixel width of the major tick marks.

◆ Title

YAxisTitle Highsoft.Web.Mvc.Charts.YAxis.Title
getset

◆ TooltipValueFormat

string Highsoft.Web.Mvc.Charts.YAxis.TooltipValueFormat
getset

Parallel coordinates only. Format that will be used for point.yand available in tooltip.pointFormat as{point.formattedValue}. If not set, {point.formattedValue}will use other options, in this order:1. yAxis.labels.format will be used if set2. If yAxis is a category, then category name will be displayed3. If yAxis is a datetime, then value will use the same format as yAxis labels4. If yAxis is linear/logarithmic type, then simple value will be used

◆ Top

string Highsoft.Web.Mvc.Charts.YAxis.Top
getset

The top position of the Y axis. If it's a number, it is interpretedas pixel position relative to the chart.Since Highcharts 2: If it's a percentage string, it is interpreted aspercentages of the plot height, offset from plot area top.

◆ TopNumber

double Highsoft.Web.Mvc.Charts.YAxis.TopNumber
getset

The top position of the Y axis. If it's a number, it is interpretedas pixel position relative to the chart.Since Highcharts 2: If it's a percentage string, it is interpreted aspercentages of the plot height, offset from plot area top.

◆ Type

string Highsoft.Web.Mvc.Charts.YAxis.Type
getset

The type of axis. Can be one of linear, logarithmic, datetime,category or treegrid. Defaults to treegrid for Gantt charts,linear for other chart types.In a datetime axis, the numbers are given in milliseconds, and tickmarks are placed on appropriate values, like full hours or days. In acategory or treegrid axis, the point namesof the chart's series are used for categories, if acategories array is not defined.

◆ UniqueNames

bool Highsoft.Web.Mvc.Charts.YAxis.UniqueNames
getset

Applies only when the axis type is category. When uniqueNamesis true, points are placed on the X axis according to their names.If the same point name is repeated in the same or another series,the point is placed on the same X position as other points of thesame name. When uniqueNames is false, the points are laid out inincreasing X positions regardless of their names, and the X axiscategory will take the name of the last point in each position.

◆ Visible

bool Highsoft.Web.Mvc.Charts.YAxis.Visible
getset

Whether axis, including axis title, line, ticks and labels, shouldbe visible.

◆ Width

string Highsoft.Web.Mvc.Charts.YAxis.Width
getset

The width as the horizontal axis. If it's a number, it is interpretedas pixels.Since Highcharts v5.0.13: If it's a percentage string, it isinterpreted as percentages of the total plot width.

◆ WidthNumber

double Highsoft.Web.Mvc.Charts.YAxis.WidthNumber
getset

The width as the horizontal axis. If it's a number, it is interpretedas pixels.Since Highcharts v5.0.13: If it's a percentage string, it isinterpreted as percentages of the total plot width.

◆ ZIndex

double Highsoft.Web.Mvc.Charts.YAxis.ZIndex
getset

The Z index for the axis group.

◆ ZoomEnabled

bool Highsoft.Web.Mvc.Charts.YAxis.ZoomEnabled
getset

Whether to zoom axis. If chart.zoomType is set, the option allowsto disable zooming on an individual axis.


The documentation for this class was generated from the following file: