Class: TAttLineHandler

JSROOT. TAttLineHandler

new JSROOT.TAttLineHandler()

Handle for line attributes.

Handle for line attributes.

Methods

Apply(selection)

Applies line attribute to selection.

Name Type Description
selection object

d3.js selection

Returns true if line attribute is empty and will not be applied.

SetArgs(args)

Set line attributes.

Name Type Description
args object

specify attributes by different ways

Name Type Description
attr object

TAttLine object with appropriate data members or

color string

color in html like rgb(10,0,0) or "red"

style number

line style number

width number

line width