JavaScript

A5.chart.u.stylesvg Method

Syntax

A5.chart.u.style.svg(type,defaultColor,drawSettings,data,temp,settings[,path])

Arguments

typestring

The type of SVG style to get. Either "line", "fill" or "both".

defaultColorstring

The default color to use is the.

drawSettingsobject

The draw settings for the line and/or fill to style. If the type is "both" then this should have a "line" and/or "fill" sub-property. For the draw settings see A5.chart Definition Line Object and A5.chart Definition Fill Object.

dataobject

The chart data. See A5.chart Render Data Object.

tempobject

The temporary object.

settingsobject

The top level chart settings.

pathstring

An optional name to store the result in if the result is going to be used repeatedly.

Description

Get style for the "line" and/or "fill" of a chart SVG element.