Content deleted Content added
No edit summary |
m Fix spelling |
||
Line 31:
* '''width''': width of the chart
* '''height''': height of the chart
* '''type''': type of the chart: <tt>line</tt>
* '''interpolate''': [[:en:interpolation|interpolation]] method for line and area charts. It is recommended to use <tt>monotone</tt> for a [[:en:monotone cubic interpolation|monotone cubic interpolation]] – further supported values are listed at https://github.com/trifacta/vega/wiki/Marks#area.
* '''colors''': color palette of the chart as a comma-separated list of colors. The color values must be given either as <tt>#rgb</tt>/<tt>#rrggbb</tt>/<tt>#aarrggbb</tt> or by a [[:en:Web colors#X11 colour names|CSS color name]]. For <tt>#aarrggbb</tt> the <tt>aa</tt> component denotes the [[:en:alpha channel|alpha channel]], i.e. FF=100% opacity, 80=50% opacity/transparency, etc. (The default color palette is [//github.com/mbostock/d3/wiki/Ordinal-Scales#categorical-colors <tt>category10</tt>]).
|