| |||||||||||||||||||||||||||
SharpPlot Tutorials General Tutorials Chart Samples Style Examples SharpLeaf Tutorials Document Layout Tutorials Text Flow Tutorials Table Tutorials Visual Glossaries SharpPlot Class SharpPlot Methods SharpPlot Structures SharpPlot Enumerations PageMap Class SharpLeaf Reference SharpLeaf Class SharpLeaf Properties SharpLeaf Methods Table Class Table Properties Table Methods SharpLeaf Structures FontType Structure ParagraphStyle Structure BoxStyle Structure SharpLeaf Enumerations DocumentLayout Classes DocumentLayout Class PageLayout Class PageElement Abstract Class Frame : PageElement Class TextBlock : PageElement Class ImageBlock : PageElement Class Box : PageElement Class Rule : PageElement Class Common Reference Document Class VectorMath Class DbUtil Class Download Release Notes Licensing |
SharpPlot Reference > SharpPlot 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 | SharpPlot.DrawNote Method |