|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectec.Statistics
ec.display.chart.ChartableStatistics
ec.display.multijob.chart.TotalJobHistogramChart
public class TotalJobHistogramChart
Classe que tem a função de exibir um histograma com dados oriundos de diversos processamentos. Será sempre um "child" de TotalJobsStatistics
Field Summary | |
---|---|
org.jfree.chart.JFreeChart |
chart
|
String |
mainInformation
|
org.jfree.data.statistics.HistogramDataset |
seriesCollection
|
Fields inherited from class ec.display.chart.ChartableStatistics |
---|
P_TITLE, P_XAXIS, P_YAXIS, title, xlabel, ylabel |
Fields inherited from class ec.Statistics |
---|
children, P_CHILD, P_NUMCHILDREN |
Fields inherited from interface ec.display.multijob.chart.TotalJobChart |
---|
P_MAIN_INFORMATION, P_SEC_INFORMATION |
Constructor Summary | |
---|---|
TotalJobHistogramChart()
|
Method Summary | |
---|---|
void |
addDataPoint(int seriesID,
double x,
double y)
Adiciona um ponto ao gráfico. |
void |
addSeries(String seriesID,
double[] values)
Adiciona uma série ao histograma |
String |
getMainInformation()
|
double |
getMax(double[] values)
Retorna o maior valor do histograma |
double |
getMean(double[] values)
Retorna a média dos valores do histograma |
double |
getMin(double[] values)
Retorna o menor valor do histograma |
double |
getSD(double[] values)
Retorna o desvio padrão dos valores do histograma |
String |
getSecInformation()
|
org.jfree.chart.JFreeChart |
makeChart()
Método para construção do gráfico |
void |
setup(EvolutionState state,
Parameter base)
Método para a configuração do objeto |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public String mainInformation
public org.jfree.chart.JFreeChart chart
public org.jfree.data.statistics.HistogramDataset seriesCollection
Constructor Detail |
---|
public TotalJobHistogramChart()
Method Detail |
---|
public String getMainInformation()
getMainInformation
in interface TotalJobChart
public String getSecInformation()
getSecInformation
in interface TotalJobChart
public void setup(EvolutionState state, Parameter base)
setup
in interface Setup
setup
in class ChartableStatistics
state
- Objeto EvolutionState que guarda as informações sobre a evolução do processobase
- Base de parametrização auxiliar. Se esse parâmetro for enviado com valor "database" por exemplo, qualquer parâmetro desta classe
poderá ser obtida no arquivo de parâmetros através da keyword "database.public org.jfree.chart.JFreeChart makeChart()
makeChart
in class ChartableStatistics
public void addSeries(String seriesID, double[] values)
addSeries
in interface TotalJobChart
public void addDataPoint(int seriesID, double x, double y)
addDataPoint
in interface TotalJobChart
public double getMin(double[] values)
values
- array de valores do histograma
public double getMax(double[] values)
values
- array de valores do histograma
public double getSD(double[] values)
values
- array de valores do histograma
public double getMean(double[] values)
values
- array de valores do histograma
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |