SharpPlot Reference > SharpPlot Methods > AddHints Method > (ScriptTarget,String[])

SharpPlot.AddHints Method (ScriptTarget,String[])

Apply an array of hints to a set of text items.

public void AddHints(
    ScriptTarget targetId,
    string[] hintText
);

This call may be used to add an array of hints to a text item such as the chart key.

sp.AddHints(ScriptTarget.Key,Product_descriptions);

Here, the product codes could be used to make a short legend, with the full description available to the user as a status-line hint.

See also ...

SharpPlot Members | SharpPlot.AddHints Method


Send comments on this topic
© Dyalog Ltd 2021