Beispiel #1
0
		void HandleBarClick (object sender, BarClickEventArgs e)
		{
			Console.WriteLine ("Bar {0} with value {1}", e.Bar.Legend, e.Bar.ValueCaption);

            _BarChart.ItemsSource = TestData2;
            _BarChart.PostInvalidate();
		}
		void OnBarClick (object sender, BarClickEventArgs e)
		{
			Console.WriteLine ("bar clicked: name = {0}, value = {1}", e.Bar.Legend, e.Bar.Value);
		}
Beispiel #3
0
 void HandleBarClick(object sender, BarClickEventArgs e)
 {
     Console.WriteLine ("Bar {0} with value {1}", e.Bar.Legend, e.Bar.ValueCaption);
 }
 void HandleBarClick(object sender, BarClickEventArgs e)
 {
     Console.WriteLine("Bar {0} with value {1}", e.Bar.Legend, e.Bar.ValueCaption);
 }
Beispiel #5
0
 void OnBarClick(object sender, BarClickEventArgs e)
 {
     UpdateChart2Data(e.Bar.Legend);
 }
 void chart_BarClick(object sender, BarClickEventArgs e)
 {
     try
     {
         BarModel barModel = e.Bar;
         this.Activity.FindViewById<TextView>(Resource.Id.selectedBarDay).Text = string.Format("Date: {0}, Cost: {1} {2}", barModel.Legend,
             UserHomeViewModel.Currency,
             barModel.Value);
     }
     catch (Exception ex)
     {
         ExceptionHandler.HandleException(ex, this.Activity);
     }
 }
 void OnBarClick(object sender, BarClickEventArgs e)
 {
     UpdateChart2Data(e.Bar.Legend);
 }
 void OnBarClick(object sender, BarClickEventArgs e)
 {
     Console.WriteLine("bar clicked: name = {0}, value = {1}", e.Bar.Legend, e.Bar.Value);
 }