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 String
encode()
Write the options of angled lines on radial linear typeString
getColor()
Gets the colorNumber
getLineWidth()
Gets the lineWidthboolean
isDisplay()
Gets the displayvoid
setColor(String color)
Sets the colorvoid
setDisplay(boolean display)
Sets the displayvoid
setLineWidth(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
-
-