public class Arc extends Object
Arcs are used in the polar area, doughnut and pie charts.
When set, these options apply to all objects of that type unless specifically overridden by the configuration attached to a dataset.
Constructor and Description |
---|
Arc() |
Modifier and Type | Method and Description |
---|---|
Color |
getBackgroundColor() |
Color |
getBorderColor() |
Integer |
getBorderWidth() |
Arc |
setBackgroundColor(Color backgroundColor)
Default fill color for arcs.
|
Arc |
setBorderColor(Color borderColor)
Default stroke color for arcs
|
Arc |
setBorderWidth(Integer borderWidth)
Default stroke width for arcs
|
public Color getBackgroundColor()
setBackgroundColor(Color)
public Arc setBackgroundColor(Color backgroundColor)
Default fill color for arcs. Inherited from the global default
Default 'rgba(0,0,0,0.1)'
public Color getBorderColor()
setBorderColor(Color)
public Arc setBorderColor(Color borderColor)
Default stroke color for arcs
Default '#fff'
public Integer getBorderWidth()
setBorderWidth(Integer)
Copyright © 2020. All rights reserved.