コード例 #1
0
        public void onCreateComponet()
        {
            statistician = new DailyPlanSignStatistician(GParam.Create());

            chartHelper_Month = new ChartControlHelper(chartControl_Month);
            dataBuilder_Month = new SingleDataValueSeriesBuilder();
            dataBuilder_Month.CreateSeries("Result", DevExpress.XtraCharts.ViewType.Bar);
            dataBuilder_Month.StyleDesigner.SetPieLengedFormat("{A}");
            dataBuilder_Month.StyleDesigner.SetBarSeriesEachColor(true);

            chartHelper_Year = new ChartControlHelper(chartControl_Year);
            dataBuilder_Year = new MulitSingleDataValueSeriesBuilder();
            dataBuilder_Year.CreateSeriesDict(DevExpress.XtraCharts.ViewType.Line);
        }
コード例 #2
0
        public void onCreateComponet()
        {
            statistician = new DailyPlanSignStatistician(GParam.Create());

            chartHelper_Precent = new ChartControlHelper(chart_Present);
            dataBuilder_Precent = new SingleDataValueSeriesBuilder();
            dataBuilder_Precent.CreateSeries("Precent", DevExpress.XtraCharts.ViewType.Pie);
            dataBuilder_Precent.StyleDesigner.SetPieLengedFormat("{A} - {V}天数");

            chartHelper_State = new ChartControlHelper(chart_State);
            dataBuilder_State = new SingleDataValueSeriesBuilder();
            dataBuilder_State.CreateSeries("State", DevExpress.XtraCharts.ViewType.Bar);
            dataBuilder_State.StyleDesigner.SetBarSeriesEachColor(true);
            dataBuilder_State.StyleDesigner.SetSeriesLengedOption(true, "{A}");

            controller = new DailyPlanSignManageController();

            builder           = new TB_DailyPlanSignBuilder();
            adapter           = new TB_DailyPlanSignAdapter();
            gridHelper_Record = new GridControlHelper(this.gridView_record, this.gridControl_record);
        }