[ whitefrost.com | Account Manager 4 Product Page ]

Core.Reports.SvgReports.SVGTimeSeries Class Reference

Summary description for SVGTimeSeries. More...

Inheritance diagram for Core.Reports.SvgReports.SVGTimeSeries:

Core.Reports.SvgReports.SVGReport Core.Interfaces.IReport Core.Reports.SvgReports.Standard.SVGTimeSeriesReport

List of all members.

Public Member Functions

override void Initialize (SVGReportFactory factory)
virtual void InitializeChart ()
TimeSeriesTrend createTimeSeriesTrend (String name)
void setShowPlotPoints (bool b)
bool getShowPlotPoints ()
void setThresholdsEnabled (bool b)
bool getThresholdsEnabled ()
void setCriticalThreshold (float f)
void setMinimumMetricValue (float m)
void updateMaximumTrendValue (float value)
int getSvgChartLeft ()
int getSvgChartRight ()
int getSvgChartTop ()
int getSvgChartBottom ()
int getSvgChartHeight ()
int getSvgChartWidth ()
long getSeriesLength ()
void setSeriesLength (long l)
void setStartTime (long l)
long getStartTime ()
void setStopTime (long l)
long getStopTime ()
void setRange (long start, long stop)
int getGranularity ()
long getTicks ()
long getTickMultiplier ()
long getDateIncrement ()
bool setTimeAxisLabel (String label)
bool setMetricAxisLabel (String label)
bool updateGranularity ()
bool CompileChart ()
void drawMeter (String label, int offset_top)
void drawTick (String label, int tick_index)

Public Attributes

const int GRANULARITY_NONE = 0
const int GRANULARITY_SECONDS = 1
const int GRANULARITY_MINUTES = 2
const int GRANULARITY_HALF_MINUTES = 3
const int GRANULARITY_HOURS = 4
const int GRANULARITY_HALF_HOURS = 5
const int GRANULARITY_DAYS = 6
const int GRANULARITY_HALF_DAYS = 7
const int GRANULARITY_WEEKS = 8
const int GRANULARITY_MONTHS = 9
const int GRANULARITY_YEARS = 10

Private Attributes

int svg_chart_left = 0
int svg_chart_top = 0
int svg_chart_right = 0
int svg_chart_bottom = 0
int svg_chart_height = 0
int svg_chart_width = 0
int minimum_tick_spacing = 100
int maximum_ticks = 0
int tick_spacing = 0
String label_size = "120px"
String label_font = "Tahoma"
String label_color = "#000000"
bool trim_label = false
int trim_length = 0
long series_length = Core.Util.Date.DateUtil.ONE_HOUR
long start_time = 0
long stop_time = 0
int granularity = DataSummarizer.GRANULARITY_NONE
long ticks = 0
long tick_multiplier = 0
String date_format = ""
long date_increment = 0
ArrayList trends = null
float maximum_trend_value = 0
float minimum_metric_value = 0
bool thresholds_enabled = false
float critical_threshold = 0
float warning_threshold = 0
bool show_plot_points = false
String[] colors


Detailed Description

Summary description for SVGTimeSeries.


Member Function Documentation

override void Core.Reports.SvgReports.SVGTimeSeries.Initialize ( SVGReportFactory  factory  )  [virtual]

Reimplemented from Core.Reports.SvgReports.SVGReport.

virtual void Core.Reports.SvgReports.SVGTimeSeries.InitializeChart (  )  [virtual]

TimeSeriesTrend Core.Reports.SvgReports.SVGTimeSeries.createTimeSeriesTrend ( String  name  ) 

void Core.Reports.SvgReports.SVGTimeSeries.setShowPlotPoints ( bool  b  ) 

bool Core.Reports.SvgReports.SVGTimeSeries.getShowPlotPoints (  ) 

void Core.Reports.SvgReports.SVGTimeSeries.setThresholdsEnabled ( bool  b  ) 

bool Core.Reports.SvgReports.SVGTimeSeries.getThresholdsEnabled (  ) 

void Core.Reports.SvgReports.SVGTimeSeries.setCriticalThreshold ( float  f  ) 

void Core.Reports.SvgReports.SVGTimeSeries.setMinimumMetricValue ( float  m  ) 

void Core.Reports.SvgReports.SVGTimeSeries.updateMaximumTrendValue ( float  value  ) 

int Core.Reports.SvgReports.SVGTimeSeries.getSvgChartLeft (  ) 

int Core.Reports.SvgReports.SVGTimeSeries.getSvgChartRight (  ) 

int Core.Reports.SvgReports.SVGTimeSeries.getSvgChartTop (  ) 

int Core.Reports.SvgReports.SVGTimeSeries.getSvgChartBottom (  ) 

int Core.Reports.SvgReports.SVGTimeSeries.getSvgChartHeight (  ) 

int Core.Reports.SvgReports.SVGTimeSeries.getSvgChartWidth (  ) 

long Core.Reports.SvgReports.SVGTimeSeries.getSeriesLength (  ) 

void Core.Reports.SvgReports.SVGTimeSeries.setSeriesLength ( long  l  ) 

void Core.Reports.SvgReports.SVGTimeSeries.setStartTime ( long  l  ) 

long Core.Reports.SvgReports.SVGTimeSeries.getStartTime (  ) 

void Core.Reports.SvgReports.SVGTimeSeries.setStopTime ( long  l  ) 

long Core.Reports.SvgReports.SVGTimeSeries.getStopTime (  ) 

void Core.Reports.SvgReports.SVGTimeSeries.setRange ( long  start,
long  stop 
)

int Core.Reports.SvgReports.SVGTimeSeries.getGranularity (  ) 

long Core.Reports.SvgReports.SVGTimeSeries.getTicks (  ) 

long Core.Reports.SvgReports.SVGTimeSeries.getTickMultiplier (  ) 

long Core.Reports.SvgReports.SVGTimeSeries.getDateIncrement (  ) 

bool Core.Reports.SvgReports.SVGTimeSeries.setTimeAxisLabel ( String  label  ) 

bool Core.Reports.SvgReports.SVGTimeSeries.setMetricAxisLabel ( String  label  ) 

bool Core.Reports.SvgReports.SVGTimeSeries.updateGranularity (  ) 

bool Core.Reports.SvgReports.SVGTimeSeries.CompileChart (  ) 

void Core.Reports.SvgReports.SVGTimeSeries.drawMeter ( String  label,
int  offset_top 
)

void Core.Reports.SvgReports.SVGTimeSeries.drawTick ( String  label,
int  tick_index 
)


Member Data Documentation

int Core.Reports.SvgReports.SVGTimeSeries.granularity = DataSummarizer.GRANULARITY_NONE [private]

Initial value:

 new String[]{
                                                                                                  "#FFAAAA",
                                                                                                  "#FFFFAA",
                                                                                                  "#AAFFAA",
                                                                                                  "#AAAAFF",
                                                                                                  "#AAFFFF",
                                                                                                  "#AAAFFF",
                                                                                                  "#FFFAAA"
                                                                                          }


The documentation for this class was generated from the following file:
Stephen W. Cote, 2009, whitefrost.com