- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::rrd::DataArea
::rrd::DataArea create ... \
[ -color color ] \
[ -color2 color2 ] \
[ -datasource:required datasource:required ] \
[ -ds-name (default "42") ] \
[ -gradheight (default "50") ] \
[ -legend legend ] \
[ -name name ] \
[ -scale (default "1") ]
Defined in packages/rrd-tool/tcl/rrd-procs.tcl
Class Relations
::nx::Class create ::rrd::DataArea \ -superclass ::rrd::DataElementMethods (to be applied on instances)
render (scripted, public)
<instance of rrd::DataArea> render
- Testcases:
- No testcase defined.
set defs [next] if {[info exists :legend]} { set legend "[format %-20s ${:legend}]\t" } else { set legend "[format %-20s ${:name}]\t" } set colors ${:color} if {[info exists :color2]} {append colors \#${:color2}} lappend defs AREA:${:name}avgscaled#${colors}:$legend:gradheight=${:gradheight} {*}[:gprintLegend] return $defs
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables