CircularGaugeBuilder
Defines the fluent API for configuring the Kendo CircularGauge for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class CircularGaugeBuilder : WidgetBuilderBase<CircularGauge, CircularGaugeBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<CircularGauge, CircularGaugeBuilder>CircularGaugeBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the CircularGauge class.
public CircularGaugeBuilder(CircularGauge component)
The component.
Methods
The label template. Template variables: * value - the value
public CircularGaugeBuilder CenterTemplate(string value)
The value that configures the centertemplate.
Returns:The label template. Template variables: * value - the value
public CircularGaugeBuilder CenterTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the centertemplate.
Returns:The label template. Template variables: * value - the value
public CircularGaugeBuilder CenterTemplateHandler(string value)
The value that configures the centertemplate.
Returns:The label template. Template variables: * value - the value
public CircularGaugeBuilder CenterTemplateId(string value)
The value that configures the centertemplate.
Returns:The label template. Template variables: * value - the value
public CircularGaugeBuilder CenterTemplateView(MvcHtmlString value)
The value that configures the centertemplate.
Returns:The color of the value pointer. Accepts a valid CSS color string, including hex and rgb.
public CircularGaugeBuilder Color(string value)
The value that configures the color.
Returns:The color ranges of the value pointer. The pointer color will be set to the color from the range that contains the current value.
public CircularGaugeBuilder Colors(Action<CircularGaugeColorFactory> configurator)
The action that configures the colors.
Returns:The gauge area configuration options. This is the entire visible area of the gauge.
public CircularGaugeBuilder GaugeArea(Action<CircularGaugeGaugeAreaSettingsBuilder> configurator)
The action that configures the gaugearea.
Returns:The opacity of the value pointer.
public CircularGaugeBuilder Opacity(double value)
The value that configures the opacity.
Returns:Sets the preferred rendering engine. If it is not supported by the browser, the Gauge will switch to the first available mode.The supported values are: "svg" - renders the widget as inline SVG document, if available or "canvas" - renders the widget as a Canvas element, if available..
public CircularGaugeBuilder RenderAs(string value)
The value that configures the renderas.
Returns:Configures the scale.
public CircularGaugeBuilder Scale(Action<CircularGaugeScaleSettingsBuilder> configurator)
The action that configures the scale.
Returns:The gauge theme. This can be either a built-in theme or "sass". When set to "sass" the gauge will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform".
public CircularGaugeBuilder Theme(string value)
The value that configures the theme.
Returns:A value indicating if transition animations should be played.
public CircularGaugeBuilder Transitions(bool value)
The value that configures the transitions.
Returns:The gauge value.
public CircularGaugeBuilder Value(double value)
The value that configures the value.
Returns: