public class PointLabels extends Object
Constructor and Description |
---|
PointLabels() |
Modifier and Type | Method and Description |
---|---|
JavaScriptFunction |
getCallback() |
Color |
getFontColor() |
String |
getFontFamily() |
BigDecimal |
getFontSize() |
FontStyle |
getFontStyle() |
PointLabels |
setCallback(JavaScriptFunction callback)
Callback function to transform data label to axis label
|
PointLabels |
setFontColor(Color fontColor)
Font color
|
PointLabels |
setFontFamily(String fontFamily)
Font family to render
|
PointLabels |
setFontSize(BigDecimal fontSize)
Font size in pixels
|
PointLabels |
setFontStyle(FontStyle fontStyle)
Font Style to use
|
public JavaScriptFunction getCallback()
setCallback(JavaScriptFunction)
public PointLabels setCallback(JavaScriptFunction callback)
Callback function to transform data label to axis label
Default -
public Color getFontColor()
setFontColor(Color)
public PointLabels setFontColor(Color fontColor)
Font color
Default '#666'
public String getFontFamily()
setFontFamily(String)
public PointLabels setFontFamily(String fontFamily)
Font family to render
Default "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif"
public BigDecimal getFontSize()
setFontSize(BigDecimal)
public PointLabels setFontSize(BigDecimal fontSize)
Font size in pixels
Default 10
public FontStyle getFontStyle()
setFontStyle(FontStyle)
public PointLabels setFontStyle(FontStyle fontStyle)
Font Style to use
Default 'normal'
Copyright © 2017. All rights reserved.