RadHtmlChart
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[RequiredScript(typeof(Html5DataVizCore))]
[RequiredScript(typeof(Html5DataVizChart))]
[ClientScriptResource("Telerik.Web.UI.RadHtmlChart", "Telerik.Web.UI.HtmlChart.RadHtmlChart.js")]
[TelerikToolboxCategory("Visualization")]
[ToolboxBitmap(typeof(RadHtmlChart), "Toolbox.Icons.HtmlChart.png")]
[EmbeddedSkin("HtmlChart")]
[EmbeddedSkin("HtmlChart", "Default")]
[EmbeddedSkin("HtmlChart")]
[EmbeddedSkin("HtmlChart", "Default", typeof(RadHtmlChart))]
[RequiredCss("Telerik.Web.UI.Skins.HTML5UI.dataviz.css", RenderMode.Classic, typeof(RadHtmlChart))]
[RequiredCss("Telerik.Web.UI.Skins.HTML5UI.dataviz.css", RenderMode.Lightweight, typeof(RadHtmlChart))]
public class RadHtmlChart : RadDataBoundControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl, IFeatureGroup, ICallbackEventHandler
Inheritance: objectControlWebControlBaseDataBoundControlDataBoundControlRadDataBoundControlRadHtmlChart...
Implements:
Inherited Members
Constructors
public RadHtmlChart()
Fields
protected StringBuilder dataBindData
Properties
Gets the chart-level appearance settings (background, borders, margins, etc.).
[TypeConverter(typeof(ExpandableObjectConverter))]
[Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public HtmlChartAppearance Appearance { get; }
Gets the chart title configuration (text and visual appearance).
[TypeConverter(typeof(ExpandableObjectConverter))]
[Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public HtmlChartTitle ChartTitle { get; }
Gets the object defining handlers for the client-side events (click, hover, load, drag, zoom, etc.).
[PersistenceMode(PersistenceMode.InnerProperty)]
public HtmlChartClientEvents ClientEvents { get; }
Gets the CSS class format string used to compose the control's root class names.
protected override string CssClassFormatString { get; }
Overrides:
Gets or sets the Height of the RadHtmlChart control.
[ClientControlProperty]
[TypeConverter(typeof(UnitConverter))]
public override Unit Height { get; set; }
Overrides:
Gets or sets when actual data will be loaded (initial page load, after load, or manually from code).
[ClientControlProperty]
public LoadDataInvocation InvokeLoadData { get; set; }
Gets or sets the layout of the chart (Default, Sparkline, Stock).
public ChartLayout Layout { get; set; }
protected string LayoutScript { get; }
Gets the chart legend configuration (position, alignment, orientation, items and border settings).
[TypeConverter(typeof(ExpandableObjectConverter))]
[Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public HtmlChartLegend Legend { get; }
Gets the stock-chart navigator configuration (mini chart with selectable range) used in stock layout.
[PersistenceMode(PersistenceMode.InnerProperty)]
public Navigator Navigator { get; }
Gets or sets the template shown when the chart has no data.
[Browsable(true)]
[Bindable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public string NoDataTemplate { get; set; }
Gets or sets the name of the JavaScript function that will be called when a series is clicked.
[ClientControlEvent]
[ClientPropertyName("seriesClicked")]
public string OnClientSeriesClicked { get; set; }
Gets or sets the name of the JavaScript function that will be called when a series is hovered.
[ClientControlEvent]
[ClientPropertyName("seriesHovered")]
public string OnClientSeriesHovered { get; set; }
Gets the panning configuration of the chart.
[PersistenceMode(PersistenceMode.InnerProperty)]
public Pan Pan { get; }
Gets the plot area configuration (axes, series collection, common tooltips, etc.).
[TypeConverter(typeof(ExpandableObjectConverter))]
[Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public HtmlChartPlotArea PlotArea { get; }
Gets or sets the rendering engine of the chart (Auto, SVG, Canvas, VML).
public ChartRenderingEngine RenderAs { get; set; }
Gets the preferred HTML tag for the chart wrapper (SPAN for sparkline layout, otherwise DIV).
protected override HtmlTextWriterTag TagKey { get; }
Overrides:
Gets or sets whether transition animations should be played. Sparkline layout disables transitions by default.
[ClientControlProperty]
public bool Transitions { get; set; }
Gets or sets the Width of the RadHtmlChart control.
[ClientControlProperty]
[TypeConverter(typeof(UnitConverter))]
public override Unit Width { get; set; }
Overrides:
Methods
protected void AddSerializedData(StringBuilder sb, PropertyDescriptorCollection props, object dataItem, bool isXmlDataSource)
protected override void DescribeComponent(IScriptDescriptor descriptor)
Overrides:
protected override IEnumerable<ScriptReference> GetScriptReferences()
Overrides:
protected override void PerformDataBinding(IEnumerable data)
Overrides:
protected override void TrackViewState()
Overrides: