Class: TAttMarkerHandler

JSROOT. TAttMarkerHandler

new JSROOT.TAttMarkerHandler()

Handle for marker attributes.

Methods

Apply marker styles to created element

Change(color, style, size)

Change marker attributes.

Name Type Description
color string

marker color

style number

marker style

size number

marker size

create(x, y){string}

Create marker path for given position.

When drawing many elementary points, created path may depend from previously produced markers.

Name Type Description
x number

first coordinate

y number

second coordinate

Returns:
Type Description
string path string

GetFullSize()

Returns full size of marker

MarkerLength()

Returns approximate length of produced marker string

SetArgs(args)

Set marker attributes.

Name Type Description
args object

arguments can be

Name Type Description
attr object

instance of TAttrMarker (or derived class) or

color string

color in HTML form like grb(1,4,5) or 'green'

style number

marker style

size number

marker size