Unplanned
Last Updated: 08 Jun 2015 12:34 by ADMIN
ADMIN
Created by: Danail Vasilev
Comments: 0
Category: HtmlChart
Type: Bug Report
0
For the time being you can resize the chart with set_width/set_height methods. For example:

<head runat="server">
	<title></title>
	<style>
		.RadHtmlChart.k-chart, table {
			width: 100%;
			height: 100%;
		}

		td {
			border: 1px solid green;
			width: 60%;
			height: 60%;
			overflow:hidden;
		}

		html, body, form {
			height: 100%;
			overflow: hidden;
			margin: 0;
		}
	</style>
</head>
<body>
	<form id="form1" runat="server">
		<telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
		<script>
			function resizedw() {
				// Haven't resized in 100ms!
				var donut = $find("<%=DonutChart.ClientID%>");
				var radar = $find("<%=RadarAreaChart.ClientID%>");

				var docDimensions = $telerik.getBounds(document.body);
				resizeChart(donut, docDimensions);
				resizeChart(radar, docDimensions);
			}

			function resizeChart(chart, docDimensions) {
				var chartDimensions = $telerik.getBounds(chart.get_element().parentElement);
				chart.set_width("'" + (chartDimensions.width / docDimensions.width) + "%'");
				chart.set_height(("'" + chartDimensions.height / docDimensions.height) + "'%");
			}

			var doit;
			window.onresize = function () {
				clearTimeout(doit);
				doit = setTimeout(resizedw, 1000);
			};
		</script>
		<table>
			<tr>
				<td>
					<telerik:RadHtmlChart runat="server" ID="DonutChart" Width="100%" Height="100%" Transitions="true">
						<Appearance>
							<FillStyle BackgroundColor="White"></FillStyle>
						</Appearance>
						<ChartTitle Text="OS Usage Statistics for December 2012">
							<Appearance Align="Center" Position="Top"></Appearance>
						</ChartTitle>
						<PlotArea>
							<Series>
								<telerik:DonutSeries>
									<LabelsAppearance Visible="false">
									</LabelsAppearance>
									<TooltipsAppearance DataFormatString="{0}%" BackgroundColor="White"></TooltipsAppearance>
									<SeriesItems>
										<telerik:PieSeriesItem BackgroundColor="#00adcc" Name="Win7"
											Y="55.6"></telerik:PieSeriesItem>
										<telerik:PieSeriesItem BackgroundColor="#cccccc" Name="Win8" Y="2.5"></telerik:PieSeriesItem>
										<telerik:PieSeriesItem BackgroundColor="#999999" Name="Vista" Y="2.8"></telerik:PieSeriesItem>
										<telerik:PieSeriesItem BackgroundColor="#888888" Name="NT" Y="1.8"></telerik:PieSeriesItem>
										<telerik:PieSeriesItem BackgroundColor="#777777" Name="WinXP" Y="21.1"></telerik:PieSeriesItem>
										<telerik:PieSeriesItem BackgroundColor="#666666" Name="Linux" Y="4.7"></telerik:PieSeriesItem>
										<telerik:PieSeriesItem BackgroundColor="#555555" Name="Mac" Y="8.7"></telerik:PieSeriesItem>
										<telerik:PieSeriesItem BackgroundColor="#444444" Name="Mobile" Y="2.2"></telerik:PieSeriesItem>
									</SeriesItems>
								</telerik:DonutSeries>
							</Series>
						</PlotArea>
					</telerik:RadHtmlChart>
				</td>
				<td>
					<telerik:RadHtmlChart runat="server" ID="RadarAreaChart" Width="100%" Height="100%" Transitions="true">
						<PlotArea>
							<Series>
								<telerik:RadarAreaSeries Name="Position" MissingValues="Gap">
									<Appearance>
										<FillStyle BackgroundColor="#00adcc"></FillStyle>
									</Appearance>
									<LineAppearance Width="1" />
									<MarkersAppearance Visible="false" />
									<LabelsAppearance Visible="false"></LabelsAppearance>
									<SeriesItems>
										<telerik:CategorySeriesItem Y="159"></telerik:CategorySeriesItem>
										<telerik:CategorySeriesItem Y="170"></telerik:CategorySeriesItem>
										<telerik:CategorySeriesItem Y="100"></telerik:CategorySeriesItem>
										<telerik:CategorySeriesItem Y="140"></telerik:CategorySeriesItem>
										<telerik:CategorySeriesItem Y="160"></telerik:CategorySeriesItem>
										<telerik:CategorySeriesItem Y="103"></telerik:CategorySeriesItem>
										<telerik:CategorySeriesItem Y="173"></telerik:CategorySeriesItem>
										<telerik:CategorySeriesItem Y="107"></telerik:CategorySeriesItem>
									</SeriesItems>
								</telerik:RadarAreaSeries>
								<telerik:RadarAreaSeries Name="Person" MissingValues="Gap">
									<Appearance>
										<FillStyle BackgroundColor="red"></FillStyle>
									</Appearance>
									<LabelsAppearance Visible="false">
									</LabelsAppearance>
									<LineAppearance Width="1" />
									<MarkersAppearance Visible="false"></MarkersAppearance>
									<SeriesItems>
										<telerik:CategorySeriesItem Y="130"></telerik:CategorySeriesItem>
										<telerik:CategorySeriesItem Y="160"></telerik:CategorySeriesItem>
										<telerik:CategorySeriesItem Y="130"></telerik:CategorySeriesItem>
										<telerik:CategorySeriesItem Y="168"></telerik:CategorySeriesItem>
										<telerik:CategorySeriesItem Y="150"></telerik:CategorySeriesItem>
										<telerik:CategorySeriesItem Y="140"></telerik:CategorySeriesItem>
										<telerik:CategorySeriesItem Y="109"></telerik:CategorySeriesItem>
										<telerik:CategorySeriesItem Y="76"></telerik:CategorySeriesItem>
									</SeriesItems>
								</telerik:RadarAreaSeries>
							</Series>
							<XAxis Color="Black" Reversed="false" StartAngle="180">
								<MajorGridLines Color="#EFEFEF" Width="1"></MajorGridLines>
								<MinorGridLines Visible="false"></MinorGridLines>
								<Items>
									<telerik:AxisItem LabelText="Soft Skills"></telerik:AxisItem>
									<telerik:AxisItem LabelText="Sector knowledge"></telerik:AxisItem>
									<telerik:AxisItem LabelText="Finance knowledge"></telerik:AxisItem>
									<telerik:AxisItem LabelText="Work experience"></telerik:AxisItem>
									<telerik:AxisItem LabelText="Win7 skills"></telerik:AxisItem>
									<telerik:AxisItem LabelText="MS Office skills"></telerik:AxisItem>
									<telerik:AxisItem LabelText="Programming skills"></telerik:AxisItem>
									<telerik:AxisItem LabelText="Database skills"></telerik:AxisItem>
								</Items>
							</XAxis>
							<YAxis Visible="false">
								<MajorGridLines Color="#EFEFEF" Width="1"></MajorGridLines>
								<MinorGridLines Visible="false"></MinorGridLines>
								<LabelsAppearance Step="1"></LabelsAppearance>
							</YAxis>
							<CommonTooltipsAppearance Color="White"></CommonTooltipsAppearance>
						</PlotArea>
						<ChartTitle Text="Position Profile">
							<Appearance Align="Center" BackgroundColor="White" Position="Top">
							</Appearance>
						</ChartTitle>
						<Legend>
							<Appearance BackgroundColor="White" Position="Bottom">
							</Appearance>
						</Legend>
					</telerik:RadHtmlChart>
				</td>
			</tr>
		</table>
	</form>
Unplanned
Last Updated: 09 Jun 2015 12:44 by ADMIN
For the time being you can use the following workaround:

        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
        <script>
            function pageLoad() {
                var position = 'insideEnd'; // 'center'
                $find("<%=PieChart1.ClientID%>")._chartObject.options.series[0].labels.position = position;
                $find("<%=PieChart1.ClientID%>")._chartObject.options.series[0].labels.distance = -20;
                $find("<%=PieChart1.ClientID%>")._chartObject.redraw();
            }
        </script>
        <telerik:RadHtmlChart runat="server" ID="PieChart1" Transitions="true">
            <PlotArea>
                <Series>
                    <telerik:PieSeries StartAngle="90">
                        <LabelsAppearance DataFormatString="{0} %" />
                        <TooltipsAppearance DataFormatString="{0} %" />
                        <Items>
                            <telerik:SeriesItem BackgroundColor="Purple" Exploded="true" Name="Internet Explorer" YValue="18.3" />
                            <telerik:SeriesItem BackgroundColor="Orange" Exploded="false" Name="Firefox" YValue="35.8" />
                            <telerik:SeriesItem BackgroundColor="Green" Exploded="false" Name="Chrome" YValue="38.3" />
                            <telerik:SeriesItem BackgroundColor="Blue" Exploded="false" Name="Safari" YValue="4.5" />
                            <telerik:SeriesItem BackgroundColor="Red" Exploded="false" Name="Opera" YValue="2.3" />
                        </Items>
                    </telerik:PieSeries>
                </Series>
            </PlotArea>
            <ChartTitle Text="Browser Usage for April 2012">
            </ChartTitle>
        </telerik:RadHtmlChart>
        <script>
            var INSIDE_END = "insideEnd",
                CENTER = "center",
                LEFT = "left",
                RIGHT = "right",
                dataviz = kendo.dataviz,
                Box2D = dataviz.Box2D,
                math = Math;

            kendo.dataviz.PieSegment.fn.reflowLabel = function () {
                var segment = this,
                    sector = segment.sector.clone(),
                    options = segment.options,
                    label = segment.label,
                    labelsOptions = options.labels,
                    labelsDistance = labelsOptions.distance,
                    angle = sector.middle(),
                    lp, x1, labelWidth, labelHeight;

                if (label) {
                    labelHeight = label.box.height();
                    labelWidth = label.box.width();
                    if (labelsOptions.position == CENTER) {
                        sector.r = math.abs((sector.r - labelHeight) / 2) + labelHeight + labelsDistance;
                        lp = sector.point(angle);
                        label.reflow(Box2D(lp.x, lp.y - labelHeight / 2, lp.x, lp.y));
                    } else if (labelsOptions.position == INSIDE_END) {
                        sector.r = sector.r - labelHeight / 2 + labelsDistance;
                        lp = sector.point(angle);
                        label.reflow(Box2D(lp.x, lp.y - labelHeight / 2, lp.x, lp.y));
                    } else {
                        lp = sector.clone().expand(labelsDistance).point(angle);
                        if (lp.x >= sector.c.x) {
                            x1 = lp.x + labelWidth;
                            label.orientation = RIGHT;
                        } else {
                            x1 = lp.x - labelWidth;
                            label.orientation = LEFT;
                        }
                        label.reflow(Box2D(x1, lp.y - labelHeight, lp.x, lp.y));
                    }
                }
            }
        </script>
Completed
Last Updated: 05 Aug 2015 13:29 by ADMIN
ADMIN
Created by: Danail Vasilev
Comments: 0
Category: HtmlChart
Type: Bug Report
0
For the time being you can use the following workaround:
1) Either hide the chart with visibility:hidden instead of display:none
2) Or use the following workaround:
		<div id="div1" style="display: none;">
			<telerik:RadHtmlChart runat="server" ID="ColumnChart1" Width="600px" Height="400px">
				<PlotArea>
					<Series>
						<telerik:ColumnSeries Name="Product 1">
							<SeriesItems>
								<telerik:CategorySeriesItem Y="1" />
								<telerik:CategorySeriesItem Y="2" />
								<telerik:CategorySeriesItem Y="3" />
							</SeriesItems>
						</telerik:ColumnSeries>
					</Series>
				</PlotArea>
			</telerik:RadHtmlChart>
		</div>
		<input type="button" onclick="showChart(); return false;" value="Show Chart" />
		<script>
			Telerik.Web.UI.RadHtmlChart.prototype._getMainConfig = function () {
				var that = this;
				//when visible is false - nothing is sent from the server to save transferred data
				//e.g - there are properties set but visible is false - we do not need to send those properties amyway
				//that is why - set visible: false when nothing is sent from the server
				that._options = $telerik._getPropertiesParameter(that, that.constructor);
				that._cleanUpConfigProperties();

				that._options["theme"] = that.get_skin();
				//that._options["visible"] = $(that.get_element()).is(':visible');
				that._options["title"] = that._chartTitle ? that._parseObject(that._chartTitle) : { visible: false };
				that._options["legend"] = that._legend ? that._parseObject(that._legend) : { visible: false };

				if (that._chartArea) {
					that._options["chartArea"] = that._parseObject(that._chartArea);
				}

				if (that._isSparklineChart()) {
					that._setMinimumSparklineWidth();
				}

				if (that._plotArea) {
					that._configurePlotArea();
				}

				if (that._series) {
					/*jshint evil: true */
					that._options["series"] = eval(that._series);
					/*jshint evil: false */
				}

				if (that._isStockChart()) {
					that._configureStockChart();
				}
			}
		</script>
Declined
Last Updated: 05 Aug 2016 12:18 by ADMIN
export of the chart to image (or pdf) will show an html code of non-breaking space in chart title and chart legend, but not in a label added to HtmlChartHolder
Won't Fix
Last Updated: 03 Sep 2015 12:40 by ADMIN
ADMIN
Created by: Marin Bratanov
Comments: 1
Category: HtmlChart
Type: Bug Report
0

			
Completed
Last Updated: 28 Oct 2015 06:39 by ADMIN
ADMIN
Created by: Danail Vasilev
Comments: 0
Category: HtmlChart
Type: Bug Report
0

			
Completed
Last Updated: 19 Jan 2016 14:20 by ADMIN
ADMIN
Created by: Danail Vasilev
Comments: 0
Category: HtmlChart
Type: Bug Report
0
For the time being the reversed properties can be set through the kendo widget:
		<script>
			function pageLoad(sender, args) {

				var radarChart = $find('<%=RadarLineChart.ClientID%>').get_kendoWidget();
				var polarChart = $find('<%=PolarAreaChart.ClientID%>').get_kendoWidget();


				radarChart.options.valueAxis.reverse = true;
				polarChart.options.yAxis.reverse = true;


				radarChart.options.categoryAxis.reverse = true;
				polarChart.options.xAxis.reverse = true;

				radarChart.redraw();
				polarChart.redraw();
			}
		</script>

		<telerik:RadHtmlChart runat="server" ID="RadarLineChart" Width="345" Height="345">
			<PlotArea>
				<XAxis Reversed="true">
					<Items>
						<telerik:AxisItem LabelText="January"></telerik:AxisItem>
						<telerik:AxisItem LabelText="February"></telerik:AxisItem>
						<telerik:AxisItem LabelText="March"></telerik:AxisItem>
						<telerik:AxisItem LabelText="April"></telerik:AxisItem>
						<telerik:AxisItem LabelText="May"></telerik:AxisItem>
					</Items>
				</XAxis>
				<YAxis Reversed="true">
				</YAxis>
				<Series>
					<telerik:RadarLineSeries Name="Avg Low" MissingValues="Gap">
						<SeriesItems>
							<telerik:CategorySeriesItem Y="1000"></telerik:CategorySeriesItem>
							<telerik:CategorySeriesItem Y="8000"></telerik:CategorySeriesItem>
							<telerik:CategorySeriesItem Y="11000"></telerik:CategorySeriesItem>
							<telerik:CategorySeriesItem Y="13000"></telerik:CategorySeriesItem>
							<telerik:CategorySeriesItem Y="12000"></telerik:CategorySeriesItem>
						</SeriesItems>
					</telerik:RadarLineSeries>
				</Series>
			</PlotArea>
		</telerik:RadHtmlChart>

		<telerik:RadHtmlChart runat="server" ID="PolarAreaChart" Width="345" Height="345">
			<PlotArea>
				<XAxis Reversed="true">
				</XAxis>
				<YAxis Reversed="true">
				</YAxis>
				<Series>
					<telerik:PolarAreaSeries Name=">12.3 knots">
						<SeriesItems>
							<telerik:PolarSeriesItem Angle="125" Radius="2.4"></telerik:PolarSeriesItem>
							<telerik:PolarSeriesItem Angle="138" Radius="7.5"></telerik:PolarSeriesItem>
							<telerik:PolarSeriesItem Angle="152" Radius="8.3"></telerik:PolarSeriesItem>
							<telerik:PolarSeriesItem Angle="166" Radius="4.3"></telerik:PolarSeriesItem>
						</SeriesItems>
					</telerik:PolarAreaSeries>
				</Series>
			</PlotArea>
		</telerik:RadHtmlChart>
Unplanned
Last Updated: 05 Jan 2016 13:48 by ADMIN
Completed
Last Updated: 27 Jan 2016 11:25 by ADMIN
ADMIN
Created by: Danail Vasilev
Comments: 0
Category: HtmlChart
Type: Bug Report
0

			
Unplanned
Last Updated: 11 Mar 2016 08:40 by ADMIN
ADMIN
Created by: Danail Vasilev
Comments: 0
Category: HtmlChart
Type: Bug Report
0

			
Unplanned
Last Updated: 03 Oct 2016 10:15 by ADMIN
ADMIN
Created by: Slav
Comments: 0
Category: HtmlChart
Type: Bug Report
0
When you configure RadHtmlChart's YAxis with NarrowRange set to true, the setting is not serialized and as a result, not applied.
You can avoid it by setting the narrowRange on the client-side:

		<telerik:RadHtmlChart runat="server" ID="RadHtmlChart1" Width="250px" Height="300px">
			<ClientEvents OnLoad="chartLoad" />
			...
		</telerik:RadHtmlChart>
		<script>
			function chartLoad(){
				var chart = $telerik.$("#RadHtmlChart1").data("kendoChart");
				chart.options.valueAxis.narrowRange = true;
			}
		</script>
Pending Review
Last Updated: 21 Oct 2016 07:19 by Société CompuGROUP Medical Solutions
Created by: Société CompuGROUP Medical Solutions
Comments: 0
Category: HtmlChart
Type: Bug Report
0
If you set in code behind CharTitle with simple Quote like 
RadChart1.ChartTitle.Text = "Présences sur l'année sélectionnée";
you obtain a blank space chart (nothing display)

you have to set for running
RadChart1.ChartTitle.Text = "Présences sur l&#039;année sélectionnée";
1 2 3 4