Constructor and Description |
---|
PolarChart() |
PolarChart(PolarData data) |
PolarChart(PolarData data,
PolarOptions options) |
Modifier and Type | Method and Description |
---|---|
static PolarData |
data()
Static factory, constructs an
Data implementation appropriate
for a PolarChart . |
PolarData |
getData() |
PolarOptions |
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 PolarOptions |
options()
Static factory, constructs an
Options implementation appropriate
for a PolarChart . |
PolarChart |
setData(PolarData data) |
PolarChart |
setOptions(PolarOptions options) |
String |
toJson()
Convert
this instance to Json for use with Chart.js library. |
public PolarChart()
public PolarChart(PolarData data)
public PolarChart(PolarData data, PolarOptions options)
public static PolarData data()
Data
implementation appropriate
for a PolarChart
.PolarData
instancepublic static PolarOptions options()
Options
implementation appropriate
for a PolarChart
.PolarOptions
instancepublic PolarData getData()
public PolarChart setData(PolarData data)
public PolarOptions getOptions()
public PolarChart setOptions(PolarOptions 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.
PolarChart
is drawable if at least one dataset has at least two
data points.
isDrawable
in interface Chart
this
Chart
is drawable in its current
stateCopyright © 2017. All rights reserved.