public override string GetDesignTimeHtml(DesignerRegionCollection regions)
{
var chart = (ChartBase)Component;
var stringBuilder = new StringBuilder(1024);
stringBuilder.AppendFormat("<div style=\"width: {0}px; height:{1}px;border-style: solid; border-width: 1px;\">", chart.ChartWidth, chart.ChartHeight);
return stringBuilder.ToString();
}