public class C3ChartData extends Object
C3Chart
to carry all the meta-data.Constructor and Description |
---|
C3ChartData(String baseName,
Path target)
Reads the chart data from the appropriate data file.
|
Modifier and Type | Method and Description |
---|---|
C3ChartData |
filter(int keepColumnIndex)
Creates a new chart where with only two columns from the original chart.
|
List<io.vertx.core.json.JsonArray> |
getData()
Gets the data lines.
|
String |
toString() |
public C3ChartData(String baseName, Path target) throws PerfCakeException
baseName
- The base of the chart data files name.target
- The target path where the chart report is stored. The individual data files are located in ${target}/data/${baseName}.js.PerfCakeException
- When there was an error reading the data. Mainly because of some I/O error.public C3ChartData filter(int keepColumnIndex)
keepColumnIndex
- The index of the column to be kept.public List<io.vertx.core.json.JsonArray> getData()
Copyright © 2010–2017 PerfCake Community. All rights reserved.