net.liftweb.widgets.flot.Flot

object Flot

object Flot

 extends ScalaObject


renders a flot graph using http://code.google.com/p/flot/ jQuery widget
See the sites/flotDemo webapp for examples.


Source: Flot.scala(33)

 Constructors

def this

 Methods

!= final def !=(arg0 : Object) Boolean AnyRef
!= final def !=(arg0 : Any) Boolean Any
== final def ==(arg0 : Any) Boolean Any
== final def ==(arg0 : Object) Boolean AnyRef
asInstanceOf final def asInstanceOf[T0] T0 Any
clone protected def clone Object AnyRef
eq final def eq(arg0 : Object) Boolean AnyRef
equals def equals(arg0 : Any) Boolean AnyRef
finalize protected def finalize Unit AnyRef
getClass final def getClass Class[Any] AnyRef
hashCode def hashCode Int AnyRef
init def init
register the resources with lift (typically in boot)
Unit
isInstanceOf final def isInstanceOf[T0] Boolean Any
ne final def ne(arg0 : Object) Boolean AnyRef
notify final def notify Unit AnyRef
notifyAll final def notifyAll Unit AnyRef
render def render(idPlaceholder : String, datas : List[FlotSerie], options : FlotOptions, script : JsCmd, caps : FlotCapability*)
render a flot graph

a comet actor should use this version

NodeSeq
renderCapability def renderCapability(fRender : (FlotCapability) => JsCmd, caps : FlotCapability*) JsCmd
renderDataSerie def renderDataSerie(idPlaceholder : String)(data : (FlotSerie, Int))
JsCmd
renderFlotHide def renderFlotHide(idPlaceholder : String, caps : FlotCapability*) JsCmd
renderFlotShow def renderFlotShow(idPlaceholder : String, datas : List[FlotSerie], options : FlotOptions, script : JsCmd, caps : FlotCapability*) JsCmd
renderJs def renderJs(idPlaceholder : String, datas : List[FlotSerie], options : FlotOptions, script : JsCmd, caps : FlotCapability*) JsCmd
renderOneSerie def renderOneSerie(data : FlotSerie, idPlaceholder : String, idSerie : Int)
render one serie:

( label: "" lines: { show: true, fill: true } bars: { show: true } points: { show: true } data: data_[ph]_[x] where ph is the placeholder id and {x} serie's the id )
JsObj
renderOneValue def renderOneValue(one : (Double, Double))
render a data value:
[2, 10]
JsExp
renderSeries def renderSeries(datas : List[FlotSerie], idPlaceholder : String)
render all series:

(
label: ""
lines: [details]
..
data: [[2, 10], [5, 12], [11, 2]]
),
(
label: ""
data: [[2, 14], [6, 4], [11, 17]]
)
JsArray
renderValues def renderValues(values : List[(Double, Double)])
render serie of data:
[2, 10], [5, 12], [11, 2]
JsExp
renderVars def renderVars(idPlaceholder : String, datas : List[FlotSerie], options : FlotOptions) JsCmd
script def script(xml : NodeSeq) JsCmd
synchronized final def synchronized[T0](arg0 : T0) T0 AnyRef
toString def toString String AnyRef
wait final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait final def wait Unit AnyRef
wait final def wait(arg0 : Long) Unit AnyRef
Copyright (c) 2007-2009 Lift Team. All Rights Reserved.