| ||
Introducing SharpPlot Your First Chart Recent Updates Sample Charts Tutorials General Tutorials Chart Tutorials SharpPlot Class Methods Structures Enumerations Style examples Glossaries Active Charts VectorMath Class DBUtil Class Get SharpPlot Download SharpPlot Buying SharpPlot SharpPlot Support Upgrading from GraPL Release notes |
Reference > Properties > Heading Property SharpPlot.Heading PropertySet Heading text. This is centred over the top of the chart, and wrapped within the chart margins. public string Heading {get; set;} Examplesp.Heading = "Main Chart Title"; It is centred by default above the chart. New lines are generally forced with “\n” in the text, but you can choose your own line-break character if this is inconvenient. You can also make a second heading line in a different font by specifying a subhead: sp.SubHeading = "This is a subordinate heading"; Heading and subhead share the same placement, but you can set the subhead font independently. See also ...SharpPlot | HeadingLineSpacing | HeadingStyle | Subheading | SetNewline | Formatting |