PHP Class WhSparkLines

Author: Antonio Ramirez ([email protected])
Inheritance: extends CWidget
ファイルを表示 Open project: 2amigos/yiiwheels

Public Properties

Property Type Description
$data the data to show on the chart
$debugMode Debug mode Used to publish full js file instead of min version
$htmlOptions additional HTML attributes to the tag
$pluginOptions plugin options
$tagName the tag name to render the sparkline to NOTE: span type of tag may have issues.

Public Methods

Method Description
init ( ) Widget's initialization method
registerClientScript ( ) Registers required client script for sparklines
run ( ) Widget's run method

Method Details

init() public method

Widget's initialization method
public init ( )

registerClientScript() public method

Registers required client script for sparklines

run() public method

Widget's run method
public run ( )

Property Details

$data public_oe property

the data to show on the chart
See also: http://omnipotent.net/jquery.sparkline/#s-about
public $data

$debugMode public_oe property

Debug mode Used to publish full js file instead of min version
public $debugMode

$htmlOptions public_oe property

additional HTML attributes to the tag
public $htmlOptions

$pluginOptions public_oe property

plugin options
public $pluginOptions

$tagName public_oe property

the tag name to render the sparkline to NOTE: span type of tag may have issues.
public $tagName