Last Updated: 05 Mar 2014 13:40 by ADMIN
Marin Bratanov
Created on: 29 Aug 2013 08:09
Category: HtmlChart
Type: Feature Request
ADD a property that will control whether a series will be rendered in the plot area of a RadHtmlChart
The property for each series could be RenderInPlotArea=true|false
It will control whether the series will be rendered in the plot area, if set to false the series name will still be present in the legend, but grayed out, as if the end user has clicked it already to hide the series in the browser. This will give the developer programmatic contol over the initial state of the chart that the end user can modify later.
For the time being the following workaround can be used:
		function pageLoad() {
			var chart = $find("<%=RadHtmlChart1.ClientID%>");
			chart._chartObject.options.series[0].visible = false;
		<telerik:RadHtmlChart ID="RadHtmlChart1" runat="server" Width="600" Height="400">
					<telerik:ColumnSeries Name="Series 1">
							<telerik:CategorySeriesItem Y="30" />
							<telerik:CategorySeriesItem Y="10" />
							<telerik:CategorySeriesItem Y="20" />
					<telerik:ColumnSeries Name="Series 2">
							<telerik:CategorySeriesItem Y="5" />
							<telerik:CategorySeriesItem Y="12" />
							<telerik:CategorySeriesItem Y="8" />
Posted on: 05 Mar 2014 13:40
The feature has been already implemented and will be available in Q2 2014 release. 
Posted on: 30 Oct 2013 20:47
I agree with Matt :)
Posted on: 30 Oct 2013 17:44
Telerik -- this is a mandatory feature if the RadCharts are going to be anything other than a novelty. I work in the engineering field, and a chart is no use to us if we can't compare a given trend line (LineSeries) to other trend lines (other LineSeries). being able to do this dynamically via UI for disabling/enabling other indicators is a common feature found on financial charting websites (eg: Compare a stock ticker's trend to the S&P index, etc). 

we need the ability to toggle LineSeries on/off (visible/not-visible). 

however, we feel doing so should likewise remove it from the legend, as the legend should only represent what is present in the plot area.