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