public class LineGraph extends Graph
| Modifier and Type | Class and Description |
|---|---|
static class |
LineGraph.Data
This represents the data for a line graph.
|
| Constructor and Description |
|---|
LineGraph(java.lang.String title,
java.util.List<java.lang.String> subTitle,
java.lang.String xTitle,
java.lang.String yTitle)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDataSeries(java.lang.String series,
LineGraph.Data data) |
public LineGraph(java.lang.String title,
java.util.List<java.lang.String> subTitle,
java.lang.String xTitle,
java.lang.String yTitle)
title - the titlesubTitle - the lines in the sub titlexTitle - the title of the x-axisyTitle - the title of the y-axispublic void addDataSeries(java.lang.String series,
LineGraph.Data data)
series - the series namedata - the series data to addCopyright © 2021. All Rights Reserved.