An object of key-value pairs for SVG attributes. Attributes in Highcharts
elements for the most parts correspond to SVG, but some are specific to
Highcharts, like zIndex, rotation, rotationOriginX,
rotationOriginY, translateX, translateY, scaleX and scaleY. SVG
attributes containing a hyphen are not camel-cased, they should be
quoted to preserve the hyphen.
Example
{
'stroke': '#ff0000', // basic
'stroke-width': 2, // hyphenated
'rotation': 45 // custom
'd': ['M', 10, 10, 'L', 30, 30, 'z'] // path definition, note format
}
Members
-
[key:string] :*
-
Type:
- *
-
d :string|Highcharts.SVGPathArray|undefined
-
Type:
- string | Highcharts.SVGPathArray | undefined
-
fill :Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject|undefined
-
Type:
-
inverted :boolean|undefined
-
Type:
- boolean | undefined
-
matrix :Array.<number>|undefined
-
Type:
- Array.<number> | undefined
-
rotation :number|undefined
-
Type:
- number | undefined
-
rotationOriginX :number|undefined
-
Type:
- number | undefined
-
rotationOriginY :number|undefined
-
Type:
- number | undefined
-
scaleX :number|undefined
-
Type:
- number | undefined
-
scaleY :number|undefined
-
Type:
- number | undefined
-
stroke :Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject|undefined
-
Type:
-
style :string|Highcharts.CSSObject|undefined
-
Type:
- string | Highcharts.CSSObject | undefined
-
translateX :number|undefined
-
Type:
- number | undefined
-
translateY :number|undefined
-
Type:
- number | undefined
-
zIndex :number|undefined
-
Type:
- number | undefined