Dim Chart= e.form.Controls("Chart1") ' 引用窗口中的图表Dim bchart = chart.BaseControl
bchart.ChartArea.Style.border.color = color.white