Reference > Methods > AddAttributes Method > (String,String,Int32)

SharpPlot.AddAttributes Method (String,String,Int32)

Set a single handler for a specific X value.

public void AddAttributes(
    string propName,
    string propValue,
    int itemNumber
);

Example

sp.AddAttributes("onMouseOver","this.strokecolor='green'; ",3);

This will turn the edge of the 3rd bar to green in all series (generally this call would be used when there is a single series).

See also ...

SharpPlot Members | AddAttributes Method


Send comments on this topic
© Dyalog Ltd 2013