C# Class Rock.Web.UI.Controls.FlotChart

Abstract class for much of the Flot Charts Logic Subset of the spec at https://github.com/flot/flot/blob/master/API.md
Inheritance: System.Web.UI.WebControls.CompositeControl
Show file Open project: NewSpring/Rock Class Usage Examples

Private Properties

Property Type Description
GetChartClickScript string
HandleChartClick void
RegisterJavaScriptForMetric void

Public Methods

Method Description
FlotChart ( ) : System

Initializes a new instance of the FlotChart class.

RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void

Outputs server control content to a provided T:System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.

Protected Methods

Method Description
CreateChildControls ( ) : void

Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.

OnInit ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Init event.

OnLoad ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Load event.

RegisterJavaScript ( ) : void

Registers the java script.

Private Methods

Method Description
GetChartClickScript ( ) : string

Gets the chart click script.

HandleChartClick ( ) : void

Handles the chart click.

RegisterJavaScriptForMetric ( Metric metric ) : void

Registers the java script for metric.

Method Details

CreateChildControls() protected method

Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.
protected CreateChildControls ( ) : void
return void

FlotChart() public method

Initializes a new instance of the FlotChart class.
public FlotChart ( ) : System
return System

OnInit() protected method

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
return void

OnLoad() protected method

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
return void

RegisterJavaScript() protected method

Registers the java script.
protected RegisterJavaScript ( ) : void
return void

RenderControl() public method

Outputs server control content to a provided T:System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
public RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The object that receives the control content.
return void