Class RadialLinearAngleLines
- java.lang.Object
-
- org.primefaces.model.charts.axes.radial.linear.RadialLinearAngleLines
-
- All Implemented Interfaces:
Serializable
public class RadialLinearAngleLines extends Object implements Serializable
Used to configure angled lines that radiate from the center of the chart to the point labels.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RadialLinearAngleLines()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringencode()Write the options of angled lines on radial linear typeStringgetColor()Gets the colorNumbergetLineWidth()Gets the lineWidthbooleanisDisplay()Gets the displayvoidsetColor(String color)Sets the colorvoidsetDisplay(boolean display)Sets the displayvoidsetLineWidth(Number lineWidth)Sets the lineWidth
-
-
-
Method Detail
-
isDisplay
public boolean isDisplay()
Gets the display- Returns:
- display
-
setDisplay
public void setDisplay(boolean display)
Sets the display- Parameters:
display- if true, angle lines are shown
-
getColor
public String getColor()
Gets the color- Returns:
- color
-
setColor
public void setColor(String color)
Sets the color- Parameters:
color- Color of angled lines
-
getLineWidth
public Number getLineWidth()
Gets the lineWidth- Returns:
- lineWidth
-
setLineWidth
public void setLineWidth(Number lineWidth)
Sets the lineWidth- Parameters:
lineWidth- Width of angled lines
-
encode
public String encode() throws IOException
Write the options of angled lines on radial linear type- Returns:
- options as JSON object
- Throws:
IOException- If an I/O error occurs
-
-