Reference > Methods > AddAttributes Method > (ScriptTarget,String,String[])

SharpPlot.AddAttributes Method (ScriptTarget,String,String[])

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

public void AddAttributes(
    ScriptTarget targetId,
    string propName,
    string[] propValue
);

Example

sp.AddAttributes(ScriptTarget.XLabels,"onClick",my_Handlers);

Here my_Handlers is an array of strings with one handler per X-label. This could be used to drill-down to summary data for that time period.

See also ...

SharpPlot Members | AddAttributes Method


Send comments on this topic
© Dyalog Ltd 2013