zeta.util
Class Charts
java.lang.Object
|
+--zeta.util.Charts
- public class Charts
- extends java.lang.Object
Creates charts for the statistics by using the JFreeChart class library.
|
Method Summary |
static com.jrefinery.data.BasicTimeSeries[] |
createNewReservedZeros(java.sql.Connection con,
int taskId)
|
static com.jrefinery.data.BasicTimeSeries[] |
createNumberOfComputedZeros(java.sql.Connection con)
|
static com.jrefinery.data.BasicTimeSeries[] |
createNumberOfComputers(java.sql.Connection con)
|
static com.jrefinery.data.BasicTimeSeries[] |
createNumberOfParticipants(java.sql.Connection con)
|
static com.jrefinery.data.BasicTimeSeries[] |
createWorkLoad(java.sql.Connection con,
java.util.Map workloadSummary)
|
static java.awt.image.BufferedImage |
generateChart(int imageWidth,
int imageHeight,
java.lang.String title,
java.lang.String timeAxisLabel,
java.lang.String[] verticalAxisLabels,
java.awt.Paint[] colors,
int[] weight,
int[][] combination,
com.jrefinery.data.BasicTimeSeries[] bts)
|
static java.awt.image.BufferedImage |
generatePie(int imageWidth,
int imageHeight,
java.lang.String[] names,
java.lang.Long[] values)
Creates and returns a buffered image into which a pie chart with no title and not legend has been drawn.
|
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Charts
public Charts()
main
public static void main(java.lang.String[] args)
generatePie
public static java.awt.image.BufferedImage generatePie(int imageWidth,
int imageHeight,
java.lang.String[] names,
java.lang.Long[] values)
- Creates and returns a buffered image into which a pie chart with no title and not legend has been drawn.
This chart is used in the statistic 'work load today'.
- Parameters:
imageWidth - the width of the imageimageHeight - the height of the imagenames - first items in the dataset for the chartvalues - second items in the dataset for the chart
- Returns:
- a buffered image into which the chart has been drawn.
generateChart
public static java.awt.image.BufferedImage generateChart(int imageWidth,
int imageHeight,
java.lang.String title,
java.lang.String timeAxisLabel,
java.lang.String[] verticalAxisLabels,
java.awt.Paint[] colors,
int[] weight,
int[][] combination,
com.jrefinery.data.BasicTimeSeries[] bts)
createNumberOfComputedZeros
public static com.jrefinery.data.BasicTimeSeries[] createNumberOfComputedZeros(java.sql.Connection con)
throws java.sql.SQLException
java.sql.SQLException
createNumberOfParticipants
public static com.jrefinery.data.BasicTimeSeries[] createNumberOfParticipants(java.sql.Connection con)
throws java.sql.SQLException
java.sql.SQLException
createNumberOfComputers
public static com.jrefinery.data.BasicTimeSeries[] createNumberOfComputers(java.sql.Connection con)
throws java.sql.SQLException
java.sql.SQLException
createWorkLoad
public static com.jrefinery.data.BasicTimeSeries[] createWorkLoad(java.sql.Connection con,
java.util.Map workloadSummary)
createNewReservedZeros
public static com.jrefinery.data.BasicTimeSeries[] createNewReservedZeros(java.sql.Connection con,
int taskId)
throws java.sql.SQLException
java.sql.SQLException
For further technical papers, see ZetaGrid Technical Documentation.
Copyright © 2001,2002 Sebastian Wedeniwski. All Rights Reserved.