public class C3Chart extends Object
Constructor and Description |
---|
C3Chart() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAttributes()
Gets the attributes stored in the chart as a List.
|
String |
getBaseName()
Gets the base name of the data files of this chart.
|
long |
getCreated()
Gets the Unix timestamp of when this chart was created.
|
String |
getGroup()
Gets the group of the current chart.
|
int |
getHeight()
Gets the height of the resulting chart SVG graphics in pixels.
|
String |
getName()
Gets the name of the chart.
|
ChartDestination.ChartType |
getType()
Gets the chart's graphics type - either line or bar.
|
String |
getxAxis()
Gets the legend of the X axis of the chart.
|
PeriodType |
getxAxisType()
Gets the type of the X axis.
|
String |
getyAxis()
Gets the legend of the Y axis of the chart.
|
boolean |
isCombined()
Checks whether this chart was created as a combination of other existing charts.
|
void |
setAttributes(List<String> attributes)
Sets the attributes stored in the chart as a List.
|
void |
setBaseName(String baseName)
Sets the base of the file name of the chart file.
|
void |
setCombined(boolean combined)
Sets whether this chart was created as a combination of other existing charts.
|
void |
setCreated(long created)
Sets the Unix timestamp of when this chart was created.
|
void |
setGroup(String group)
Sets the group of the current chart.
|
void |
setHeight(int height)
Sets the height of the resulting chart SVG graphics in pixels.
|
void |
setName(String name)
Gets the name of the chart.
|
void |
setType(ChartDestination.ChartType type)
Sets the chart's graphics type - either line or bar.
|
void |
setxAxis(String xAxis)
Sets the legend of the X axis of the chart.
|
void |
setxAxisType(PeriodType xAxisType)
Gets the type of the X axis.
|
void |
setyAxis(String yAxis)
Sets the legend of the Y axis of the chart.
|
String |
toString() |
public String getBaseName()
public String getName()
public String getxAxis()
public String getyAxis()
public List<String> getAttributes()
public String getGroup()
public PeriodType getxAxisType()
public void setBaseName(String baseName)
baseName
- The base of the file name of the chart file.public void setName(String name)
name
- The name of the chart.public void setxAxis(String xAxis)
xAxis
- The legend of the X axis of the chart.public void setyAxis(String yAxis)
yAxis
- The legend of the Y axis of the chart.public void setxAxisType(PeriodType xAxisType)
xAxisType
- The type of the X axis. It can be either Time, Percents, or Iteration number.public void setAttributes(List<String> attributes)
attributes
- The attributes stored in the chart as a List.public void setGroup(String group)
group
- The group name of this chart.public boolean isCombined()
public void setCombined(boolean combined)
combined
- True if and only if this chart was created as a combination of other existing charts.public long getCreated()
public void setCreated(long created)
created
- The Unix timestamp of when this chart was created.public int getHeight()
public void setHeight(int height)
height
- The height of the resulting chart SVG graphics in pixels.public ChartDestination.ChartType getType()
public void setType(ChartDestination.ChartType type)
type
- The chart's graphics type.Copyright © 2010–2017 PerfCake Community. All rights reserved.