| ||
Introducing SharpPlot Your First Chart Recent Updates Sample Charts Tutorials General Tutorials Chart Tutorials SharpPlot Class Properties Methods Structures Enumerations Glossaries Active Charts VectorMath Class DBUtil Class Get SharpPlot Download SharpPlot Buying SharpPlot SharpPlot Support Upgrading from GraPL Release notes |
Reference > Style examples > Top X-Axis Top X-AxisThe X-axis is drawn at the top. sp.Heading = "Top X-Axis with Inverted Y-Axis"; sp.XAxisStyle = XAxisStyles.ArrowedAxis|XAxisStyles.AtEndCaption|XAxisStyles.TopAxis; sp.YAxisStyle = YAxisStyles.ArrowedAxis|YAxisStyles.InvertAxis|YAxisStyles.AtEndCaption; sp.YCaption = "Depth (m)"; sp.XCaption = "Distance from Shore (m)"; This style would generally be used with YAxisStyle set to InvertAxis – typically to plot depth below ground or sample age. Pollen diagrams are typical. |