net.liftweb.widgets.sparklines.Sparklines

object Sparklines

object Sparklines

 extends ScalaObject


Facilitates Sparklines from http://www.willarson.com/code/sparklines/sparklines.html integration into Lift applications.


Source: Sparklines.scala(39)

 Constructors

def this

 Methods

!=.. final def !=(arg0 : Any) Boolean Any
!=.. final def !=(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Any) Boolean Any
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
Call this function 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
onLoad.. def onLoad(id : String, graphStyle : Value, data : JsArray, opts : JsObj)
Renders a sparkline graph when the page loads [details]
param
opts - - Sparklines options. See http://www.willarson.com/code/sparklines/sparklines.html
graphStyle - - the style of the chart (LINE, BAR)
data - - the amplitudes to be rendered
id - - the id of the canvas HTML element
NodeSeq
renderCanvas.. def renderCanvas(id : String, cssClass : String)
Renders a canvas element but makes sure that sparklines JS script dependency will be rendered [details]
param
cssClass - - the stylesheet class
id - - the id of the canvas HTML element
NodeSeq
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toJsExp.. def toJsExp(id : String, graphStyle : Value, data : JsArray, opts : JsObj)
Returns a JsExp that draws a sparklines graph [details]
Can be combimed with other JsExp's to render the graph whenever needed.
param
opts - - Sparklines options. See http://www.willarson.com/code/sparklines/sparklines.html
graphStyle - - the style of the chart (LINE, BAR)
data - - the amplitudes to be rendered
id - - the id of the canvas HTML element
JsExp
toString.. def toString String AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.