public final class SankeyChart extends AbstractChart implements IsDatasetCreator<SankeyDataset>
| Modifier and Type | Field and Description |
|---|---|
static ControllerType |
CONTROLLER_TYPE
Sankey controller type.
|
static String |
TYPE
Name of chart type "sankey"
|
| Constructor and Description |
|---|
SankeyChart()
Builds the object.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyConfiguration()
Called before any drawing or reconfiguration in order that the chart which implements it can override options
|
boolean |
checkAxis(Axis axis)
Returns
true if the axis can be managed by a this chart type. |
protected boolean |
checkDataset(Dataset dataset)
Returns
true if the dataset can be managed by a this chart type. |
protected int |
getMaximumAxesCount()
Returns the maximum amount of axes that the chart can manage.
|
protected int |
getMaximumDatasetsCount()
Returns the maximum amount of datasets that the chart can manage.
|
SankeyOptions |
getOptions()
Returns the options of chart.
|
SankeyDataset |
newDataset(boolean hidden)
Creates a new dataset related to chart type.
|
addHandler, checkAxes, checkDatasets, clear, createAndSetTimer, destroy, draw, getActiveElements, getBaseType, getCanvas, getChartElement, getData, getDatasetAtEvent, getDatasetItem, getDefaultChartOptions, getElementAtEvent, getElementsAtEvent, getId, getInitialCursor, getNode, getPlugins, getSource, getTimer, getTooltipActiveElements, getType, getVisibleDatasetCount, getWholeOptions, hide, hide, isChartAttached, isDatasetVisible, isDataVisible, isDestroyOnDetach, isDrawOnAttach, isInitialized, onAttach, onDetach, reconfigure, reconfigure, reconfigure, removeCanvasPreventDefault, render, reset, resetActiveElements, resetTooltipActiveElements, resize, resize, setActiveElements, setActiveElements, setDatasetVisibility, setDestroyOnDetach, setDrawOnAttach, setTooltipActiveElements, setTooltipActiveElements, show, show, stop, toBase64Image, toggleDataVisibility, update, update, updatefireEvent, getHandlerCount, isEventHandledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewDatasetcheckAndGetIfConsistent, checkAndGetIfValid, checkIfConsistent, checkIfValid, fireEvent, getHandlerCount, isAbstractChart, isConsistent, isEventHandled, isValid, toBase64Image, toBase64Image, toBase64Imagepublic static final String TYPE
public static final ControllerType CONTROLLER_TYPE
public SankeyOptions getOptions()
IsChartgetOptions in interface IsChartpublic SankeyDataset newDataset(boolean hidden)
IsDatasetCreatornewDataset in interface IsDatasetCreator<SankeyDataset>hidden - if true, it will be initially hidden.protected final void applyConfiguration()
AbstractChartapplyConfiguration in class AbstractChartprotected int getMaximumDatasetsCount()
AbstractChartgetMaximumDatasetsCount in class AbstractChartprotected boolean checkDataset(Dataset dataset)
AbstractCharttrue if the dataset can be managed by a this chart type.checkDataset in class AbstractChartdataset - dataset to checktrue if the dataset can be managed by a this chart typepublic boolean checkAxis(Axis axis)
HasAxestrue if the axis can be managed by a this chart type.protected final int getMaximumAxesCount()
AbstractChartgetMaximumAxesCount in class AbstractChart