public class CartesianScaleLabel extends Object
| Constructor and Description |
|---|
CartesianScaleLabel() |
| Modifier and Type | Method and Description |
|---|---|
String |
encode()
Write the options of scale label
|
String |
getFontColor()
Gets the fontColor
|
String |
getFontFamily()
Gets the fontFamily
|
Number |
getFontSize()
Gets the fontSize
|
String |
getFontStyle()
Gets the fontStyle
|
String |
getLabelString()
Gets the labelString
|
Object |
getLineHeight()
Gets the lineHeight
|
Object |
getPadding()
Gets the padding
|
boolean |
isDisplay()
Gets the display
|
void |
setDisplay(boolean display)
Sets the display
|
void |
setFontColor(String fontColor)
Sets the fontColor
|
void |
setFontFamily(String fontFamily)
Sets the fontFamily
|
void |
setFontSize(Number fontSize)
Sets the fontSize
|
void |
setFontStyle(String fontStyle)
Sets the fontStyle
|
void |
setLabelString(String labelString)
Sets the labelString
|
void |
setLineHeight(Object lineHeight)
Sets the lineHeight
|
void |
setPadding(Object padding)
Sets the padding
|
public boolean isDisplay()
public void setDisplay(boolean display)
display - If true, display the axis title.public String getLabelString()
public void setLabelString(String labelString)
labelString - The text for the title.public Object getLineHeight()
public void setLineHeight(Object lineHeight)
lineHeight - Height of an individual line of textpublic String getFontColor()
public void setFontColor(String fontColor)
fontColor - Font color for scale title.public String getFontFamily()
public void setFontFamily(String fontFamily)
fontFamily - Font family for the scale title, follows CSS font-family options.public Number getFontSize()
public void setFontSize(Number fontSize)
fontSize - Font size for scale title.public String getFontStyle()
public void setFontStyle(String fontStyle)
fontStyle - Font style for the scale title, follows CSS font-style options.public Object getPadding()
public void setPadding(Object padding)
padding - Padding to apply around scale labels. Only top and bottom are implemented.public String encode() throws IOException
IOException - if writer is nullCopyright © 2018. All rights reserved.