public void OnChartDateChanged(ChartDateChangedEventArgs e)
        {
            ChartDateChangedEventHandler handler = ChartDateChanged;

            if (handler != null)
            {
                handler(this, e);
            }
        }
 void windowSetDateForChart_ChartDateChanged(object sender, ChartDateChangedEventArgs e)
 {
     this.StartTime = e.StartTime;
     this.EndTime   = e.EndTime;
     BindGridAsync();
 }