| ||
Introducing SharpPlot Your First Chart Recent Updates Sample Charts Tutorials General Tutorials Chart Tutorials SharpPlot Class Properties 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 > Methods > DrawNote Method SharpPlot.DrawNote MethodWrite text note at XY co-ordinate or absolute position with optional rotation and max width. Examplesp.SetNoteFont("Arial",12); sp.NoteStyle = NoteStyles.Boxed|NoteStyles.Shadowed; sp.DrawNote("A simple wrapped note in a box",10,70,0,50); Overloads
DescriptionNotes are used to write arbitrary text fragments anywhere on the completed chart. Typically, notes are written using the co-ordinates of the chart axes to locate them on the chart (to annotate particular data-points) so DrawNote is generally called after the chart has been drawn, and the axes established. The note text may be angled, and may be wrapped into a given width (again given in terms of the chart axes) which allows reasonably complex paragraphs of text to be added to the completed chart. Various effects such as boxing and shadowing are also available using the Note Styles. Simple HTML tagging (for effects such as bold and italic text) may be used in the notes, and the wrapping will take care of the current SoftHyphen setting. See also ...SharpPlot Members | NoteStyle Property | NextNote Method (Double) |