public class Axis extends PropertiesHolder
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
NL
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the name of this axis as a String.
|
void |
setBoundaries(double from,
double to)
Define the area to plot.
|
void |
setLabel(String label)
Set the label of this axis.
|
void |
setLabel(String label,
String font,
int size)
Set the label and the font of the current axis
|
void |
setLogScale(boolean log)
Set whether this axis is in logarithmic scale or not
|
appendProperties, set, set, unset
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public String getName()
public void setLogScale(boolean log)
log
- Set, if this axis is in logarithmic scalepublic void setLabel(String label)
label
- The label of this axissetLabel(String,String,int)
public void setLabel(String label, String font, int size)
label
- The label of this axisfont
- Font namesize
- Font sizepublic void setBoundaries(double from, double to)
from
- The minimum valueto
- The maximum valueCopyright © 2014–2016. All rights reserved.