SharpPlot.XAxisStyle Property
Set X axis style to any combination of flags.
public XAxisStyles XAxisStyle {get; set;}
Example
sp.XAxisStyle = XAxisStyles.ForceZero;
Options
| ForceZero | The X-axis always includes zero |
| GridLines | Grid lines are drawn vertically at major ticks |
| OverlayGrid | Grid lines are drawn over the data |
| ArrowedAxis | Axis ends with an arrowhead |
| Clipped | Axis and data is clipped at the first and last tickmarks |
| LogScale | Log scale is used |
| Duration | Format X axis labels using base-60 rather than 10 |
| AngledLabels | Angled labels are used |
| MaskedLabels | Labels are already masked so must not be thinned further |
| SpannedLabels | Repeated labels are blanked and spanned across the repeated range |
| RightCaption | Right-aligned axis caption (default) |
| CenteredCaption | Caption is centered below axis |
| AtEndCaption | Caption is drawn at the end of the axis |
| AnnualTicks | Annual ticks are used for dates |
| MonthlyTicks | Monthly ticks are used for dates |
| Longitude | Longitude scale is drawn for GPS data |
| Date | X-values are taken as OLE dates |
| Time | X-values are taken as OLE date-time numbers |
| TopAxis | Axis is drawn at the top of the chart |
| DuplicateAxes | Duplicate X-axes are drawn |
| InvisibleAxis | Axis and ticks are invisible, but labels will be drawn as normal |
| NoAxis | No axis is generated |
| MiddleLabels | Labels are placed between tickmarks |
| FlatText | Flat text is used for 3D charts |
| StayAtEdge | Labels stay at edge when axis is centrally placed |
| PlainAxis | Plain axis (no ticks or labels) |
| NoLabels | No labels are drawn |
| ExactFit | Axis is not rounded up to the next whole tickmark interval |
See also ...
SharpPlot Members