C# Class Rock.Reporting.Dashboard.LineBarPointsChartDashboardWidget

Inheritance: DashboardWidget
显示文件 Open project: NewSpring/Rock

Private Properties

Property Type Description
CreateDynamicControls void
GetPrimaryMetricPartitionEntityIdFromContext MetricPartitionEntityId

Public Methods

Method Description
GetAdministrateControls ( bool canConfig, bool canEdit ) : List

Adds icons to the configuration area of a Rock.Model.Block instance. Can be overridden to add additional icons

LoadChart ( ) : void

Loads the chart.

lcExample_ChartClick ( object sender, ChartClickArgs e ) : void

Lcs the example_ chart click.

Protected Methods

Method Description
Block_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the Block control.

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.

ShowSettings ( ) : void

Shows the settings.

lbEdit_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbEdit control.

mdEdit_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the mdEdit control.

mpMetricCategoryPicker_SelectItem ( object sender, EventArgs e ) : void

Handles the SelectItem event of the mpMetricCategoryPicker control.

rblSelectOrContext_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the rblSelectOrContext control.

Private Methods

Method Description
CreateDynamicControls ( int metricId ) : void

Creates the dynamic controls.

GetPrimaryMetricPartitionEntityIdFromContext ( ) : MetricPartitionEntityId

Gets the primary partition entity identifier from context.

Method Details

Block_BlockUpdated() protected method

Handles the BlockUpdated event of the Block control.
protected Block_BlockUpdated ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

GetAdministrateControls() public method

Adds icons to the configuration area of a Rock.Model.Block instance. Can be overridden to add additional icons
public GetAdministrateControls ( bool canConfig, bool canEdit ) : List
canConfig bool A flag that indicates if the user can configure the instance. /// This value will be true if the user is allowed to configure the instance; otherwise false.
canEdit bool A flag that indicates if the user can edit the instance. /// This value will be true if the user is allowed to edit the instance; otherwise false.
return List

LoadChart() public method

Loads the chart.
public LoadChart ( ) : void
return void

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

ShowSettings() protected method

Shows the settings.
protected ShowSettings ( ) : void
return void

lbEdit_Click() protected method

Handles the Click event of the lbEdit control.
protected lbEdit_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

lcExample_ChartClick() public method

Lcs the example_ chart click.
public lcExample_ChartClick ( object sender, ChartClickArgs e ) : void
sender object The sender.
e Rock.Web.UI.Controls.ChartClickArgs The e.
return void

mdEdit_SaveClick() protected method

Handles the SaveClick event of the mdEdit control.
protected mdEdit_SaveClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

mpMetricCategoryPicker_SelectItem() protected method

Handles the SelectItem event of the mpMetricCategoryPicker control.
protected mpMetricCategoryPicker_SelectItem ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

rblSelectOrContext_SelectedIndexChanged() protected method

Handles the SelectedIndexChanged event of the rblSelectOrContext control.
protected rblSelectOrContext_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void