I'm dynamically setting the height of a chart based on the number of rows I have in my data. This is working fine with the exception of a large area of white space above and below the bar chart.
Here is my chart:
This is the line of code setting the height:
How can I remove the extra space between the title & chart and all the white space below it?
Thanks!
Paul
Here is my chart:
<
telerik:RadChart
ID
=
"MetricsRadChart"
runat
=
"server"
AutoLayout
=
"true"
SeriesOrientation
=
"Horizontal"
Skin
=
"GrayStripes"
Width
=
"922px"
>
<
Series
>
<
telerik:ChartSeries
Name
=
"Series1"
/>
</
Series
>
<
PlotArea
>
<
Appearance
Dimensions-Margins-Top
=
"0"
Dimensions-Margins-Bottom
=
"0"
/>
<
EmptySeriesMessage
TextBlock-Text
=
"No data available for this chart."
/>
<
XAxis
DataLabelsColumn
=
"ln_fi"
/>
</
PlotArea
>
<
Legend
Visible
=
"false"
/>
</
telerik:RadChart
>
This is the line of code setting the height:
MetricsRadChart.Appearance.Dimensions.Height = Telerik.Charting.Styles.Unit.Pixel(data.Rows.Count * 25);
How can I remove the extra space between the title & chart and all the white space below it?
Thanks!
Paul