예제 #1
0
        public override void Render(SuperChartDataPoint point)
        {
            double y = double.Parse(point.YValue.ToString());

            txtLabelX.SetText(String.Format("Date: {0}", point.XValue), TextView.BufferType.Normal);
            txtLabelY.SetText(String.Format("{0}: {1:N2}", point.SeriesName, y), TextView.BufferType.Normal);
            RequestLayout();
        }
예제 #2
0
        public override void Render(SuperChartDataPoint point)
        {
            try
            {
                var data = mData.dataProvider[point.PointIndex];
                mAnnoFocused.PointIndex = point.PointIndex;
                mAnnoFocused.Text       = String.Format("Date: {0}", data.date);
                mAnnoFocused.Visible    = true;

                mContext.mView.FindViewById <TextView>(Resource.Id.txtTSB).Text      = String.Format("TSB: {0}", data.tsb);
                mContext.mView.FindViewById <TextView>(Resource.Id.txtATL).Text      = String.Format("ATL: {0}", data.atl);
                mContext.mView.FindViewById <TextView>(Resource.Id.txtCTL).Text      = String.Format("CTL: {0}", data.ctl);
                mContext.mView.FindViewById <TextView>(Resource.Id.txtDailyTSS).Text = String.Format("Daily Load: {0}", data.dayliTss);
                mContext.mView.FindViewById <TextView>(Resource.Id.txtDailyIF).Text  = String.Format("Day Intencity: {0}", data.dayliIf);
            }
            catch (Exception err)
            {
            }
        }
 public override void Render(SuperChartDataPoint point)
 {
     double y = double.Parse(point.YValue.ToString());
     txtLabelX.SetText(String.Format("Date: {0}", point.XValue), TextView.BufferType.Normal);
     txtLabelY.SetText(String.Format("{0}: {1:N2}", point.SeriesName, y), TextView.BufferType.Normal);
     RequestLayout();
 }