public static void DrawStackHistogram <TList>(this PaintEventArgs e, List <TList> list, Dictionary <string, Color> propColor, string infotitle) { e.Graphics.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; e.DrawBorder(); e.DrawBackGroundLines(); e.DrawVerticalAxis(); e.DrawMetrics(); e.DrawBarChart(list, propColor); e.DrawBarChartInfo(propColor, infotitle); }