Package org.aesh.charts.common
Enum ChartStyle
- All Implemented Interfaces:
Serializable,Comparable<ChartStyle>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptioncharBottom-left corner.charBottom-right corner.charcross()Cross junction.chardot()Dot character for plotting points.charHorizontal axis character.Horizontal separator for between stacked charts.charteeLeft()T-junction pointing left (right axis).charteeRight()T-junction pointing right (left axis tick).charteeUp()T-junction pointing up (bottom axis tick).static ChartStyleReturns the enum constant of this type with the specified name.static ChartStyle[]values()Returns an array containing the constants of this enum type, in the order they are declared.charVertical axis character.
-
Enum Constant Details
-
ASCII
ASCII characters only: |, -, +, #, * -
UNICODE
Unicode box drawing (│─┌┐└┘) and block elements (▁▂▃▄▅▆▇█) -
BRAILLE
Unicode braille patterns (U+2800-U+28FF) for 2x4 sub-cell resolution
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
verticalLine
public char verticalLine()Vertical axis character. -
horizontalLine
public char horizontalLine()Horizontal axis character. -
cornerBottomLeft
public char cornerBottomLeft()Bottom-left corner. -
cornerBottomRight
public char cornerBottomRight()Bottom-right corner. -
teeLeft
public char teeLeft()T-junction pointing left (right axis). -
teeRight
public char teeRight()T-junction pointing right (left axis tick). -
teeUp
public char teeUp()T-junction pointing up (bottom axis tick). -
cross
public char cross()Cross junction. -
dot
public char dot()Dot character for plotting points. -
horizontalSeparator
Horizontal separator for between stacked charts.
-