| Contents > SharpPlot > Methods | Index |
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.
