public CoordinateReportView()
 {
     MyToolTip           = new CoordinateHelpLineToolTip();
     MyToolTip.DataColor = ReportViewUtils.perferRed;
     MaxNum     = 0;
     LableSize  = 8;
     AllSumSize = 10;
     TextRotate = 60;
     CoordinateDataModelBean = new CoordinateDataBean();
     TopPadding              = 30;
     LeftPadding             = 0;
     RightPadding            = 30;
     BottomPadding           = 0;
     FillBrushAlpha          = 30;
     Count_X                 = 10;
     Count_Y                 = 5;
     Tension                 = 0.5f;
     IsShowX_Scale           = true;
     IsShowY_Scale           = true;
     IsEnableGridLine        = true;
     IsNeedReLocationToopTip = false;
     IsDrawDetailData        = true;
     IsDrawCurve             = true;
     LableAllNum             = " / 个";
     PerMax        = 50;
     IsEnableArrow = false;
 }
Beispiel #2
0
 public CoordinateMultiOverlapModelsReportView()
 {
     MyToolTip           = new CoordinateHelpLineToolTip();
     MyToolTip.DataColor = ReportViewUtils.perferRed;
     MaxNum     = 0;
     LableSize  = 8;
     AllSumSize = 10;
     TextRotate = 60;
     CoordinateDataModelBean = new CoordinateDataBean();
     TopPadding              = 30;
     LeftPadding             = 0;
     RightPadding            = 30;
     BottomPadding           = 0;
     FillBrushAlpha          = 30;
     Count_X                 = 10;
     Count_Y                 = 5;
     Tension                 = 0.5f;
     IsShowX_Scale           = true;
     IsShowY_Scale           = true;
     IsEnableGridLine        = true;
     IsNeedReLocationToopTip = false;
     IsDrawDetailData        = true;
     IsDrawCurve             = true;
     LableAllNum             = " / 个";
     IsShowLegendnote        = true;
     LegendNoteWidth         = 30;
     LegendNoteHeight        = 20;
     Titles = new List <string>();
 }
Beispiel #3
0
 public override void ReLocationModelPos()
 {
     EStartX = (Width - EViewWidth) / 2;
     EStartY = (Height - EViewHeight) / 4;
     if (MyToolTip is CoordinateHelpLineToolTip)
     {
         CoordinateHelpLineToolTip tool = MyToolTip as CoordinateHelpLineToolTip;
         tool.CoordinateWidth  = EViewWidth - RightPadding - LeftPadding;
         tool.CoordinateHeight = EViewHeight - TopPadding - BottomPadding;
         tool.CoordinateStartX = EStartX + LeftPadding;
         tool.CoordinateStartY = EStartY + EViewHeight - BottomPadding;
     }
     CoordinateWidth  = EViewWidth - RightPadding - LeftPadding;
     CoordinateHeight = EViewHeight - TopPadding - BottomPadding;
     CoordinateStartX = EStartX + LeftPadding;
     CoordinateStartY = EStartY + EViewHeight - BottomPadding;
 }
 public override void ReLocationModelPos()
 {
     EStartX = LeftPadding;
     EStartY = TopPadding;
     if (MyToolTip is CoordinateHelpLineToolTip)
     {
         CoordinateHelpLineToolTip tool = MyToolTip as CoordinateHelpLineToolTip;
         tool.CoordinateWidth  = EViewWidth;
         tool.CoordinateHeight = EViewHeight;
         tool.CoordinateStartX = EStartX;
         tool.CoordinateStartY = EStartY + EViewHeight - BottomPadding;
     }
     AreaRect           = new AreaPositionRect(EStartX, EStartY, EStartX + EViewWidth, EStartY + RowHeight);
     AreaRect.PaddingIn = 0;
     if (adapter != null)
     {
         adapter.setIndex(-1);
         adapter.setBasePostitionRect(AreaRect);
     }
 }