Reference > Properties > YAxisStyle Property SharpPlot.YAxisStyle Property
Set Y axis style to any combination of flags.
public YAxisStyles YAxisStyle {get; set;}
Example
sp.YAxisStyle = YAxisStyles.ForceZero;
Options
AboveGrid | Labels are written above gridlines and tickmarks | AngledLabels | Angled labels are used on 3D charts | ArrowedAxis | Axis ends with an arrowhead | AtEndCaption | The caption is written horizontally above the top of the axis | BalancedAxis | Tickmarks are ranged around zero and the X-axis is vertically centred | CenteredCaption | The caption is vertically centred | ClampToAxis | Data is clamped to fit within the axis range | Clipped | Data and axes are clipped at the extreme tick marks | Date | The data is assumed to be OLE dates | DuplicateAxes | Duplicate axes are drawn | Duration | Format Y axis labels using base-60 rather than 10 | ExactFit | The axis will not be extended to the nearest whole tick interval | FlatText | Flat text is used for 3D captions and labels | ForceZero | Axis range always includes zero | GridLines | Horizontal gridlines are drawn at major ticks | InsideLabels | Labels are written within the chart area | InvertAxis | The axis is drawn with data values increasing from the top down | InvisibleAxis | No axis or ticks are drawn, but labels are written normally | Latitude | The scale is formatted as latitude values for GPS data | LeftAxis | The axis is drawn and labelled at the left even for secondary axes | LogScale | A logarithmic scale is used | MiddleLabels | Axis labels are written on the middle of the axis | NoAxis | No axis is drawn | NoLabels | No labels are added | OverlayGrid | Gridlines are drawn on top of data | PlainAxis | No labels or ticks are created | RightAxis | The axis is drawn at the right | StayAtEdge | Labels stay at the chart edge when the axis intercept is explicitly set | Synchronised | Secondary axis will match tick positions of primary | Time | The data is assumed to be OLE date/time values |
See also ...SharpPlot Members
Send comments on this topic © Dyalog Ltd 2013
|