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