new Legend(paper, what, params)
Legend
This:
Parameters:
Name | Type | Argument | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
paper |
Raphael.Paper | rapheal instance | |||||||||||||||||||||||||
what |
Array | array of [string,color,width,attrs] arrays. attrs is passed to rapheal.path | |||||||||||||||||||||||||
params |
Object |
<optional> |
parameters of legend
Properties
|
- Source:
- /var/www/html/software/raphaeltools/raphaeltools.src.js, line 1390
Methods
-
<static> create() → {RaphaelTools.Legend}
-
Creates new Legend object, for parameters meaning see RaphaelTools.Legend
- Source:
- /var/www/html/software/raphaeltools/raphaeltools.src.js, line 1414
Returns:
new Legend object- Type
- RaphaelTools.Legend