| ||
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 > AddHints Method SharpPlot.AddHints MethodSet hints for one or more data points or a chart object. Examplesp.AddHints(new string[] {"Jan","Feb","Mar"}); sp.AddHints(ScriptTarget.Footnote,"This is the footer."); Overloads
DescriptionThis method adds hints to a given set of data points, so that as you move the mouse over the data in the viewer, the hint can be shown in the status bar at the bottom of the screen. Hints are supported by VML (directly) and by images if you create an associated imagemap. The SVG viewer does not currently show hints correctly. To create hints for every datapoint in a series, pass an array of strings, matching the structure of your data. sp.AddHints(Product_descriptions); Here, a product description could be associated with each pie sector, bar segment or marker. You may also target hints at specific data points, for example: sp.AddHints("July figures were adjusted",7); Which will add a hint to this specific data-item in the first (or only) series. Adding hints to fixed itemsHints may also be used to add extra information to standard text items such as notes or headings. ch.AddHints(ScriptTarget.Footnote,"This is the current budget"); You may give an array of hints for multiple items such as XZones or the legend text. See also ...SharpPlot Members | AddTips Method | ScriptTarget Enumeration |