| |||||||||||||||||||||||||||
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 > NoteStyle Property SharpPlot.NoteStyle PropertySet Note style to any combination of flags. public NoteStyles NoteStyle {get; set;} Examplesp.NoteStyle = NoteStyles.Boxed; Normally, notes are positioned relative to the current (x,y) axes (style ‘Relative’) but you can choose to use absolute coordinates here, in which case you give the position of the note in Points from the chart origin (the position where the axes would normally cross). For multi-line notes, the position gives the start of the baseline of the first line of the text unless you set it explicitly with styles such as Middle|Center which will use the note-boundingbox as a reference to compute the center. To include a defined effect (such as an SVG shadow filter or animation) to the text: sp.AddEffect(ScriptTarget.Notes,"<animate .... />" You can add multiple effects to apply several filters or animations to the note. This could be used to have a note slide in from the side, then change colour or fade out. Options
See also ...SharpPlot Members | DrawNote Method |