Dear Telerik Team,
we have problem by RadChart legend positioning. Here is our code:
radChart.ClearSkin();
radChart.Skin = skin;
radChart.AutoLayout = true;
radChart.PlotArea.Appearance.Dimensions.Width = 500;
radChart.PlotArea.Appearance.Position.AlignedPosition = AlignedPositions.Left;
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.TextQuality = TextQuality.ClearTypeGridFit;
radChart.PlotArea.XAxis.AutoScale = true;
radChart.PlotArea.XAxis.IsZeroBased = false;
radChart.Appearance.Border.Visible = false;
radChart.Legend.Appearance.ItemTextAppearance.MaxLength = 20;
radChart.Legend.Appearance.Position.AlignedPosition = AlignedPositions.Right;
radChart.SeriesOrientation = ((RadChartEntity)Session[radChart.ID]).Orientation;
and the problem occurs always by skin change, e.g. by changing “Web20” skin type to “Black” skin type (or vice-versa). Result can be seen in first two attachments. Similar situation rises when ChartSeriesType property is changed (e.g. from line to points). The result by ChartSeriesType property change can be seen at the last attachment.
Can you help us, please?
Thank you very much.
Kind Regards,
SCT