Package s3 :: Module s3timeplot :: Class S3TimePlot
[frames] | no frames]

Class S3TimePlot

source code

     object --+    
              |    
s3rest.S3Method --+
                  |
                 S3TimePlot

RESTful method for time plot reports

Instance Methods
 
apply_method(self, r, **attr)
Page-render entry point for REST interface.
source code
 
widget(self, r, method=None, widget_id=None, visible=True, **attr)
Widget-render entry point for S3Summary.
source code
 
timeplot(self, r, **attr)
Time plot report page
source code
 
get_target(self, r)
Identify the target resource
source code

Inherited from s3rest.S3Method: __call__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods
 
get_options(r, resource)
Read the relevant GET vars for the timeplot
source code
 
parse_timestamp(timestamp)
Parse timestamp expression
source code

Inherited from s3rest.S3Method: crud_string

Properties

Inherited from object: __class__

Method Details

apply_method(self, r, **attr)

source code 

Page-render entry point for REST interface.

Parameters:
  • r - the S3Request instance
  • attr - controller attributes for the request
Returns:
output object to send to the view
Overrides: s3rest.S3Method.apply_method

widget(self, r, method=None, widget_id=None, visible=True, **attr)

source code 

Widget-render entry point for S3Summary.

Parameters:
  • r - the S3Request
  • method - the widget method
  • widget_id - the widget ID
  • visible - whether the widget is initially visible
  • attr - controller attributes
Returns:
output
Overrides: s3rest.S3Method.widget

timeplot(self, r, **attr)

source code 

Time plot report page

Parameters:
  • r - the S3Request instance
  • attr - controller attributes for the request

get_target(self, r)

source code 

Identify the target resource

Parameters:
  • r - the S3Request

get_options(r, resource)
Static Method

source code 

Read the relevant GET vars for the timeplot

Parameters:
  • r - the S3Request
  • resource - the target S3Resource

parse_timestamp(timestamp)
Static Method

source code 

Parse timestamp expression

Parameters:
  • timestamp - the timestamp expression