Hi All,
I created a simple RadChart and have labeled the XAxis "Week-Ending Date" but the text of the label is sitting on the bottom border of the chart and doesn't look good. I've attached a screenshot to show you. I've tried adding padding and margin to the bottom of this but it seems to not do anything.
Here is the code I am using for the XAxis:
RadChart1.PlotArea.XAxis.AxisLabel.TextBlock.Text = "Week-Ending Date";
RadChart1.PlotArea.XAxis.AxisLabel.Appearance.Position.AlignedPosition = AlignedPositions.Center;
RadChart1.PlotArea.XAxis.AxisLabel.Appearance.Dimensions.Paddings.Bottom.Type = Telerik.Charting.Styles.UnitType.Pixel;
RadChart1.PlotArea.XAxis.AxisLabel.Appearance.Dimensions.Paddings.Bottom.Value = 25;
RadChart1.PlotArea.XAxis.AxisLabel.Appearance.Dimensions.Margins.Bottom.Type = Telerik.Charting.Styles.UnitType.Pixel;
RadChart1.PlotArea.XAxis.AxisLabel.Appearance.Dimensions.Margins.Bottom.Value = 25;
Any idea's
I really appreciate the help!
I created a simple RadChart and have labeled the XAxis "Week-Ending Date" but the text of the label is sitting on the bottom border of the chart and doesn't look good. I've attached a screenshot to show you. I've tried adding padding and margin to the bottom of this but it seems to not do anything.
Here is the code I am using for the XAxis:
RadChart1.PlotArea.XAxis.AxisLabel.TextBlock.Text = "Week-Ending Date";
RadChart1.PlotArea.XAxis.AxisLabel.Appearance.Position.AlignedPosition = AlignedPositions.Center;
RadChart1.PlotArea.XAxis.AxisLabel.Appearance.Dimensions.Paddings.Bottom.Type = Telerik.Charting.Styles.UnitType.Pixel;
RadChart1.PlotArea.XAxis.AxisLabel.Appearance.Dimensions.Paddings.Bottom.Value = 25;
RadChart1.PlotArea.XAxis.AxisLabel.Appearance.Dimensions.Margins.Bottom.Type = Telerik.Charting.Styles.UnitType.Pixel;
RadChart1.PlotArea.XAxis.AxisLabel.Appearance.Dimensions.Margins.Bottom.Value = 25;
Any idea's
I really appreciate the help!