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