public abstract class AbstractOffscreenChartRenderer extends java.lang.Object implements OffscreenChartRenderer
| Constructor and Description |
|---|
AbstractOffscreenChartRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getIndexOfAttribute(Instances insts,
java.lang.String attName)
Get the index of a named attribute in a set of Instances.
|
protected java.lang.String |
getOption(java.util.List<java.lang.String> options,
java.lang.String toGet)
Utility method for retrieving the value of an option from a
list of options.
|
java.lang.String |
optionsTipTextHTML()
Gets a short list of additional options (if any),
suitable for displaying in a tip text, in HTML form.
|
protected java.util.List<Instances> |
splitToClasses(Instances insts,
int classIndex)
Utility method that splits the supplied Instances out to a list
of Instances, where each Instances object contains just the instances
of one nominal class value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrendererName, renderHistogram, renderXYLineChart, renderXYScatterPlotprotected java.util.List<Instances> splitToClasses(Instances insts, int classIndex)
insts - the instances to splitclassIndex - the index of the nominal class attributepublic java.lang.String optionsTipTextHTML()
optionsTipTextHTML in interface OffscreenChartRendererprotected java.lang.String getOption(java.util.List<java.lang.String> options,
java.lang.String toGet)
Format is:
optionName=optionValue
options - a list of optionstoGet - the option to get the value ofprotected int getIndexOfAttribute(Instances insts, java.lang.String attName)
insts - the InstancesattName - the name of the attribute.