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
Afficher le fichier Open project: NewSpring/Rock Class Usage Examples

Private Properties

Свойство Type Description
GetChartClickScript string
HandleChartClick void
RegisterJavaScriptForMetric void

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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

Méthode 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 méthode

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
Résultat void

FlotChart() public méthode

Initializes a new instance of the FlotChart class.
public FlotChart ( ) : System
Résultat System

OnInit() protected méthode

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

OnLoad() protected méthode

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

RegisterJavaScript() protected méthode

Registers the java script.
protected RegisterJavaScript ( ) : void
Résultat void

RenderControl() public méthode

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.
Résultat void