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

SharpPlot.AddAttributes Method (ScriptTarget,String[])

Insert arbitrary content in the XML output for known text items.

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

Example

sp.AddAttributes(ScriptTarget.Key,"ColorMe",new string[] {"","Lime","Fuchsia"})

A practical use of this capability would be to have mouse-over on the key emphasise the corresponding line in a multiple timeseries.

See also ...

SharpPlot Members | AddAttributes Method


Send comments on this topic
© Dyalog Ltd 2013