public static void LoadChart(WebChartControl chart, HttpSessionState session)
 {
     if (session[chartLayoutName] != null)
     {
         String layoutXml = session[chartLayoutName] as String;
         if (layoutXml != null)
         {
             chart.LoadFromXml(layoutXml);
         }
     }
     else
     {
         InitSeries(chart);
     }
 }