Constructor and Description |
---|
BubbleChart() |
BubbleChart(BubbleData data) |
BubbleChart(BubbleData data,
BubbleOptions options) |
Modifier and Type | Method and Description |
---|---|
static BubbleData |
data()
Static factory, constructs an
Data implementation appropriate for
a BubbleChart . |
BubbleData |
getData() |
BubbleOptions |
getOptions() |
String |
getType() |
boolean |
isDrawable()
Optional check to determine whether the current state of this
Chart implementation instance will generate a drawable JSON
string. |
static BubbleOptions |
options()
Static factory, constructs an
Options implementation appropriate
for a BubbleChart . |
BubbleChart |
setData(BubbleData data) |
BubbleChart |
setOptions(BubbleOptions options) |
String |
toJson()
Convert
this instance to Json for use with Chart.js library. |
public BubbleChart()
public BubbleChart(BubbleData data)
public BubbleChart(BubbleData data, BubbleOptions options)
public static BubbleData data()
Data
implementation appropriate for
a BubbleChart
.BubbleData
instancepublic static BubbleOptions options()
Options
implementation appropriate
for a BubbleChart
.BubbleOptions
instancepublic BubbleData getData()
public BubbleChart setData(BubbleData data)
public BubbleOptions getOptions()
public BubbleChart setOptions(BubbleOptions options)
public String getType()
public String toJson()
Chart
Convert this
instance to Json for use with Chart.js library.
public boolean isDrawable()
Optional check to determine whether the current state of this
Chart
implementation instance will generate a drawable JSON
string.
Implementations provide a best-effort evaluation, and can not guarantee that the serialized chart will be rendered correctly.
BubbleChart
is drawable if at least one dataset has at least one
data point.
isDrawable
in interface Chart
this
Chart
is drawable in its current
stateCopyright © 2017. All rights reserved.