tw2.rrd

Get this source from http://github.com/toscawidgets/tw2.rrd

RRDBaseMixin
Baseclass for RRD Mixins. Should not be used directly.
  • timedelta
    • Overridden if `start` and `end` are specified.
  • steps
    • Number of datapoints to gather.
  • hide_zeroes
    • Strip zero-valued series?
  • consolidation_function
    • rrdtool consolidation function to use.
  • datasource_name
    • rrdtool datasource name to use.
  • cache_data
    • Cache rrdfetch results in memory.

RRDFlatMixin
  • timedelta
    • Overridden if `start` and `end` are specified.
  • steps
    • Number of datapoints to gather.
  • hide_zeroes
    • Strip zero-valued series?
  • consolidation_function
    • rrdtool consolidation function to use.
  • datasource_name
    • rrdtool datasource name to use.
  • cache_data
    • Cache rrdfetch results in memory.

FlatRRDJitAreaChart
  • init_delay
    • value in milliseconds to delay js initialization and rendering
  • postInitJSCallback
    • javascript to run after client-side initialization of the widget
  • base_url
    • url for json data to be loaded into the widget
  • url_args
    • dict of keyword args for the json url
  • backgroundcolor
    • (string) background color of the jit container div
  • width
    • (string) widget width
  • height
    • (string) widget height
  • animate
    • (boolean) Whether to add animated transitions.
  • transition
    • javascript symbol of the type of jit transition to use. All the possible transitions are listed here: http://thejit.org/static/v20/Docs/files/Options/Options-Fx-js.html#Options.Fx
  • duration
    • (number) Duration of the animation in milliseconds.
  • fps
    • (number) Frames per second of the animation.
  • offset
    • (number) Margin between the display and the canvas.
  • Canvas
    • (dict) Of the form Options.Canvas in the jit docs.
  • Label
    • (dict) Of the form Options.Label in the jit docs.
  • Tips
    • (dict) Of the form of Options.Tips in the jit docs.
  • Events
    • (dict) Of the form Options.Events in the jit docs.
  • deep_linking
    • (bool) Use 'deep-linking'. Only employed by *some* widgets. (AjaxRadialGraph, SQLARadialGraph). Warning: This will conflict with and probably break any other form of deep-linking you may have on the page. Disabled by default.
  • jsVariables
    • A dictionary of special jsVariables for substitution
  • type
    • (string) Stack style. Possible values are "stacked", "stacked:gradient" to add gradients.
  • showLabels
    • (boolean) Display the slot names.
  • labelOffset
    • (number) Adds margin between the label and the default place where it should be drawn.
  • selectOnHover
    • (boolean) Add a mark to the hovered stack.
  • filterOnClick
    • (boolean) Select the clicked stack and hide others.
  • restoreOnRightClick
    • (boolean) Show all stacks by right clicking.
  • showAggregates
    • (boolean) Display the sum of the stack values.
  • timedelta
    • Overridden if `start` and `end` are specified.
  • steps
    • Number of datapoints to gather.
  • hide_zeroes
    • Strip zero-valued series?
  • consolidation_function
    • rrdtool consolidation function to use.
  • datasource_name
    • rrdtool datasource name to use.
  • cache_data
    • Cache rrdfetch results in memory.

FlatRRDFlotWidget
  • options
    • Plot options
  • events
    • (dict) (BETA) javascript callbacks for events
  • height
    • The height of the graph
  • width
    • The width of the graph
  • label
    • Label for the graph
  • timedelta
    • Overridden if `start` and `end` are specified.
  • steps
    • Number of datapoints to gather.
  • hide_zeroes
    • Strip zero-valued series?
  • consolidation_function
    • rrdtool consolidation function to use.
  • datasource_name
    • rrdtool datasource name to use.
  • cache_data
    • Cache rrdfetch results in memory.

FlatRRDProtoLineChart
  • pvcls
    • None
  • p_width
    • The width of the panel, in pixel.
  • p_height
    • The height of the panel, in pixels.
  • p_bottom
    • The bottom margin, in pixels.
  • p_top
    • The top margin, in pixels.
  • p_left
    • The left margin, in pixels.
  • p_right
    • The right margin, in pixels.
  • init_js
    • JSSymbol
  • p_interpolate
    • How to interpolate between values. Linear interpolation ("linear") is the default, producing a straight line between points. For piecewise constant functions (i.e., step functions), either "step-before" or "step-after" can be specified. To draw a clockwise circular arc between points, specify "polar"; to draw a counter clockwise circular arc between points, specify "polar-reverse". To draw open uniform b-splines, specify "basis". To draw cardinal splines, specify "cardinal"; see also #tension.
  • p_line_width
    • Floating point.
  • p_time_series
    • Convert from "seconds since the epoch"?
  • p_time_series_format
    • strftime-type format for time strings. See http://vis.stanford.edu/protovis/jsdoc/symbols/pv.Format.date.html
  • timedelta
    • Overridden if `start` and `end` are specified.
  • steps
    • Number of datapoints to gather.
  • hide_zeroes
    • Strip zero-valued series?
  • consolidation_function
    • rrdtool consolidation function to use.
  • datasource_name
    • rrdtool datasource name to use.
  • cache_data
    • Cache rrdfetch results in memory.

FlatRRDProtoBarChart
  • pvcls
    • None
  • p_width
    • The width of the panel, in pixel.
  • p_height
    • The height of the panel, in pixels.
  • p_bottom
    • The bottom margin, in pixels.
  • p_top
    • The top margin, in pixels.
  • p_left
    • The left margin, in pixels.
  • p_right
    • The right margin, in pixels.
  • init_js
    • JSSymbol
  • p_show_values
    • bool -- show values on bars
  • timedelta
    • Overridden if `start` and `end` are specified.
  • steps
    • Number of datapoints to gather.
  • hide_zeroes
    • Strip zero-valued series?
  • consolidation_function
    • rrdtool consolidation function to use.
  • datasource_name
    • rrdtool datasource name to use.
  • cache_data
    • Cache rrdfetch results in memory.
  • series_sorter
    • function to compare to data points for sorting
  • prune_zeroes
    • hide zero-valued series?
  • method
    • Method for consolidating values. Either 'sum' or 'average'

FlatRRDProtoBubbleChart
  • pvcls
    • None
  • p_width
    • The width of the panel, in pixel.
  • p_height
    • The height of the panel, in pixels.
  • p_bottom
    • The bottom margin, in pixels.
  • p_top
    • The top margin, in pixels.
  • p_left
    • The left margin, in pixels.
  • p_right
    • The right margin, in pixels.
  • init_js
    • JSSymbol
  • timedelta
    • Overridden if `start` and `end` are specified.
  • steps
    • Number of datapoints to gather.
  • hide_zeroes
    • Strip zero-valued series?
  • consolidation_function
    • rrdtool consolidation function to use.
  • datasource_name
    • rrdtool datasource name to use.
  • cache_data
    • Cache rrdfetch results in memory.
  • series_sorter
    • function to compare to data points for sorting
  • method
    • Method for consolidating values. Either 'sum' or 'average'

FlatRRDProtoStackedAreaChart
  • pvcls
    • None
  • p_width
    • The width of the panel, in pixel.
  • p_height
    • The height of the panel, in pixels.
  • p_bottom
    • The bottom margin, in pixels.
  • p_top
    • The top margin, in pixels.
  • p_left
    • The left margin, in pixels.
  • p_right
    • The right margin, in pixels.
  • init_js
    • JSSymbol
  • p_time_series
    • Convert from "seconds since the epoch"?
  • p_time_series_format
    • strftime-type format for time strings. See http://vis.stanford.edu/protovis/jsdoc/symbols/pv.Format.date.html
  • timedelta
    • Overridden if `start` and `end` are specified.
  • steps
    • Number of datapoints to gather.
  • hide_zeroes
    • Strip zero-valued series?
  • consolidation_function
    • rrdtool consolidation function to use.
  • datasource_name
    • rrdtool datasource name to use.
  • cache_data
    • Cache rrdfetch results in memory.

FlatRRDStreamGraph
TODO -- this guy needs a lot of work until he looks cool.
  • pvcls
    • None
  • p_width
    • The width of the panel, in pixel.
  • p_height
    • The height of the panel, in pixels.
  • p_bottom
    • The bottom margin, in pixels.
  • p_top
    • The top margin, in pixels.
  • p_left
    • The left margin, in pixels.
  • p_right
    • The right margin, in pixels.
  • init_js
    • JSSymbol
  • timedelta
    • Overridden if `start` and `end` are specified.
  • steps
    • Number of datapoints to gather.
  • hide_zeroes
    • Strip zero-valued series?
  • consolidation_function
    • rrdtool consolidation function to use.
  • datasource_name
    • rrdtool datasource name to use.
  • cache_data
    • Cache rrdfetch results in memory.
  • logarithmic
    • Logscale? Boolean!

RRDNestedMixin
  • timedelta
    • Overridden if `start` and `end` are specified.
  • steps
    • Number of datapoints to gather.
  • hide_zeroes
    • Strip zero-valued series?
  • consolidation_function
    • rrdtool consolidation function to use.
  • datasource_name
    • rrdtool datasource name to use.
  • cache_data
    • Cache rrdfetch results in memory.

NestedRRDProtoCirclePackingWidget
  • pvcls
    • None
  • p_width
    • The width of the panel, in pixel.
  • p_height
    • The height of the panel, in pixels.
  • p_bottom
    • The bottom margin, in pixels.
  • p_top
    • The top margin, in pixels.
  • p_left
    • The left margin, in pixels.
  • p_right
    • The right margin, in pixels.
  • init_js
    • JSSymbol
  • root_title
    • Root title
  • timedelta
    • Overridden if `start` and `end` are specified.
  • steps
    • Number of datapoints to gather.
  • hide_zeroes
    • Strip zero-valued series?
  • consolidation_function
    • rrdtool consolidation function to use.
  • datasource_name
    • rrdtool datasource name to use.
  • cache_data
    • Cache rrdfetch results in memory.
  • method
    • Method for consolidating values. Either 'sum' or 'average'

NestedRRDJitTreeMap
  • init_delay
    • value in milliseconds to delay js initialization and rendering
  • postInitJSCallback
    • javascript to run after client-side initialization of the widget
  • base_url
    • url for json data to be loaded into the widget
  • url_args
    • dict of keyword args for the json url
  • backgroundcolor
    • (string) background color of the jit container div
  • width
    • (string) widget width
  • height
    • (string) widget height
  • animate
    • (boolean) Whether to add animated transitions.
  • transition
    • javascript symbol of the type of jit transition to use. All the possible transitions are listed here: http://thejit.org/static/v20/Docs/files/Options/Options-Fx-js.html#Options.Fx
  • duration
    • (number) Duration of the animation in milliseconds.
  • fps
    • (number) Frames per second of the animation.
  • offset
    • (number) Margin between boxes.
  • Canvas
    • (dict) Of the form Options.Canvas in the jit docs.
  • Label
    • (dict) Of the form Options.Label in the jit docs.
  • Tips
    • (dict) Of the form of Options.Tips in the jit docs.
  • Events
    • (dict) Of the form Options.Events in the jit docs.
  • deep_linking
    • (bool) Use 'deep-linking'. Only employed by *some* widgets. (AjaxRadialGraph, SQLARadialGraph). Warning: This will conflict with and probably break any other form of deep-linking you may have on the page. Disabled by default.
  • jsVariables
    • A dictionary of special jsVariables for substitution
  • Navigation
    • (dict) Panning and zooming options for Graph/Tree visualziations.
  • Node
    • (dict) Provides Node rendering options for Tree and Graph based visualizations.
  • Edge
    • (dict) Provides Edge rendering options for Tree and Graph based visualizations.
  • onBeforeCompute
    • (javascript) This method is called right before performing all computations and animations. The selected Graph.Node is passed as parameter.
  • onAfterCompute
    • (javascript) This method is triggered after all animations or computations ended.
  • onCreateLabel
    • (javascript) This method receives a new label DIV element as first parameter, and the corresponding Graph.Node as second parameter. This method will only be called once for each label. This method is useful when adding events or styles to the labels used by the JIT.
  • onPlaceLabel
    • (javascript) This method receives a label DIV element as first parameter and the corresponding Graph.Node as second parameter. This method is called each time a label has been placed in the visualization, for example at each step of an animation, and thus it allows you to update the labels properties, such as size or position. Note that onPlaceLabel will be triggered after updating the labels positions. That means that, for example, the left and top css properties are already updated to match the nodes positions. Width and height properties are not set however.
  • onBeforePlotNode
    • (javascript) This method is triggered right before plotting each Graph.Node. This method is useful for changing a node style right before plotting it.
  • onAfterPlotNode
    • (javascript) This method is triggered right after plotting each Graph.Node.
  • onBeforePlotLine
    • (javascript) This method is triggered right before plotting a Graph.Adjacence. This method is useful for adding some styles to a particular edge before being plotted.
  • onAfterPlotLine
    • (javascript) This method is triggered right after plotting a Graph.Adjacence.
  • constrained
    • (boolean) Whether to show the entire tree when loaded or just the number of levels specified by levelsToShow.
  • levelsToShow
    • (number) The number of levels to show for a subtree. This number is relative to the selected node.
  • cushion
    • (boolean) Cushion Gradients
  • orientation
    • (string) Whether to set horizontal or vertical layout. Possible values are "h" or "v".
  • titleHeight
    • (number) Separation between the center of the canvas and each pie slice.
  • timedelta
    • Overridden if `start` and `end` are specified.
  • steps
    • Number of datapoints to gather.
  • hide_zeroes
    • Strip zero-valued series?
  • consolidation_function
    • rrdtool consolidation function to use.
  • datasource_name
    • rrdtool datasource name to use.
  • cache_data
    • Cache rrdfetch results in memory.
  • method
    • Method for consolidating values. Either 'sum' or 'average'
  • root_title
    • Root title