Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.19
-
None
-
None
Description
Allow configuring of optional chart series.
The supplied chart definitions have configuration for base line data.
In case when base line data is not available the Exception is reported
2012-10-09 23:23:44,587 INFO [main] [ChartingUtil] Charting complete Exception in thread "main" org.apache.qpid.disttest.charting.ChartingException: Failed to create chart dataset at org.apache.qpid.disttest.charting.seriesbuilder.JdbcCsvSeriesBuilder.buildDataSetForSingleSeries(JdbcCsvSeriesBuilder.java:90) at org.apache.qpid.disttest.charting.seriesbuilder.JdbcCsvSeriesBuilder.build(JdbcCsvSeriesBuilder.java:56) at org.apache.qpid.disttest.charting.chartbuilder.XYDataSetBasedChartBuilder.buildChart(XYDataSetBasedChartBuilder.java:95) at org.apache.qpid.disttest.charting.ChartingUtil.produceAllCharts(ChartingUtil.java:100) at org.apache.qpid.disttest.charting.ChartingUtil.main(ChartingUtil.java:75) Caused by: java.sql.SQLException: Cannot open data file '/home/a_qpid/jenkins/workspace/Qpid-PerfTests-TestExecution/perfbaseline/QueueConsumersWithNonOverlappingSelectors.csv' ! at org.relique.jdbc.csv.CsvStatement.executeParsedQuery(CsvStatement.java:357) at org.relique.jdbc.csv.CsvStatement.executeQuery(CsvStatement.java:332) at org.apache.qpid.disttest.charting.seriesbuilder.JdbcCsvSeriesBuilder.buildDataSetForSingleSeries(JdbcCsvSeriesBuilder.java:73) ... 4 more
It would be nice to mark the base line series as optional in order to render base line graph only in cases when data is actually available. When data is not available the optional chart series can be ignored by the chart building utility.