Problem by RadChart heigth setting

Thread is closed for posting
2 posts, 0 answers
  1. SCT
    SCT avatar
    32 posts
    Member since:
    Jun 2012

    Posted 29 Sep 2011 Link to this post

    Dear Telerik Team,

    we would like to ask how to strongly define RadChart's heigth. The heigth is set up in according to the size of chart's legend currently. Our chart has 192 series, in other words 192 items in the legend. The heigth of the chart is adjusted to the heigth of the legend regardless to the fact whether the legend is hidden or shown bellow. Here's our code snippet of the RadChart settings:


                    radChart.Skin = Skin;

                    radChart.SeriesOrientation = ((RadChartEntity)Session[radChart.ID]).Orientation;

                    radChart.AutoLayout = true;

                    radChart.PlotArea.Appearance.Dimensions.Width = 500;

                    radChart.PlotArea.Appearance.Dimensions.Height = 500;

                    radChart.PlotArea.EmptySeriesMessage.TextBlock.Text = "No data";

                    radChart.PlotArea.XAxis.IsZeroBased = false;

                    radChart.PlotArea.XAxis.AutoScale = false;

                    radChart.PlotArea.XAxis.Appearance.ValueFormat = Telerik.Charting.Styles.ChartValueFormat.ShortDate;

                    radChart.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = 45;

                    radChart.PlotArea.XAxis.Appearance.LabelAppearance.CompositionType = LabelItemsCompositionTypes.RowImageText;

                    radChart.PlotArea.XAxis.Appearance.LabelAppearance.Position.AlignedPosition = AlignedPositions.Top;

                    radChart.Appearance.FillStyle.FillType = FillType.Solid;

                    radChart.Appearance.TextQuality = TextQuality.ClearTypeGridFit;

                    radChart.Appearance.Border.Visible = false;

                    radChart.Legend.Appearance.ItemTextAppearance.MaxLength = 20;

                    radChart.Legend.Appearance.Position.AlignedPosition = AlignedPositions.TopRight;

                    //radChart.Legend.Appearance.Overflow = Overflow.Row;

                    radChart.ChartTitle.Appearance.Position.AlignedPosition = AlignedPositions.TopLeft;

                    radChart.ChartTitle.Appearance.Position.Auto = false;


    Let us also remark, the heigth of the RadChart equals to 600px a the width of the RadChart equals to 1000px.

    <telerik:RadChart ID="radChart" runat="server" Height="600px" Width="1000px" EnableViewState="false">


    We attached the image of the chart for the illustration as well.
    We'll be very grateful for any suggestions about solving such the problem.

    Kind regards,
  2. SCT
    SCT avatar
    32 posts
    Member since:
    Jun 2012

    Posted 29 Sep 2011 Link to this post

    .... the problem has been resolved, we've found the error at our side.

Back to Top