I'm creating some Radcharts programmatically (no aspx file...it's a web part).
I set Appearance.Dimensions.Height.Value (and .Width), and tried setting Appearance.Dimensions.AutoSize to false.
The chart image is properly sized, but the generated HTML contains this:
Where does the style with default height and width in the div element come from? I add two charts to the page (using Controls.Add(averageChart); ) and they overlay each other because the html doesn't use the correct height.
ASP.NET AJAX 2013 Q2
.NET 3.5 Windows 2008 R2
Thanks,
Randy Lindsey
I set Appearance.Dimensions.Height.Value (and .Width), and tried setting Appearance.Dimensions.AutoSize to false.
The chart image is properly sized, but the generated HTML contains this:
<
div
id
=
"ctl00_ctl23_g_2c6dbf0b_0bfd_497c_aa14_bf4418896fcd_AverageChart"
class
=
"RadChart"
style
=
"height:300px;width:400px;"
>
<
img
alt
=
""
style
=
"border-width: 0px;"
...
</div>
Where does the style with default height and width in the div element come from? I add two charts to the page (using Controls.Add(averageChart); ) and they overlay each other because the html doesn't use the correct height.
ASP.NET AJAX 2013 Q2
.NET 3.5 Windows 2008 R2
Thanks,
Randy Lindsey