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

Class that can be JSON'd and used for Flot Charts (properties are case sensitive)
显示文件 Open project: NewSpring/Rock Class Usage Examples

Public Methods

Method Description
SetChartStyle ( ChartStyle chartStyle ) : void

Sets the chart style.

SetChartStyle ( System.Guid chartStyleDefinedValueGuid ) : void

Sets the chart style.

Private Methods

Method Description
SetFlotAxisStyle ( AxisStyle styleAxis, AxisOptions flotAxis ) : void

Sets the flot axis style.

SetFlotLinesPointsBarsStyle ( ChartStyle chartStyle, LinesPointsBars linesPointsBars ) : void

Sets the flot lines points bars style.

ToFlotColorGradient ( string source ) : dynamic

convert a style color gradient to flot color specification for a gradient

Method Details

SetChartStyle() public method

Sets the chart style.
public SetChartStyle ( ChartStyle chartStyle ) : void
chartStyle ChartStyle The chart style.
return void

SetChartStyle() public method

Sets the chart style.
public SetChartStyle ( System.Guid chartStyleDefinedValueGuid ) : void
chartStyleDefinedValueGuid System.Guid The chart style defined value unique identifier.
return void