コード例 #1
0
        public static string CreateSingleBar(DataTable dt, string charType, string imagePath, string title)
        {
            var phaysicalImagePath = imagePath;
            var mychart            = new OWCChartFactory(title, phaysicalImagePath, 500, 600, new OWCChartFontStyle());
            var myItem             = new OWCSeriesClass();

            myItem.SeriesName = "次数";
            myItem.SetDataSource(dt, "Item", "Value");
            mychart.CreateSingleBar(" ", "", myItem);
            var imageName = mychart.ExportPictuire();

            return(imageName);
        }
コード例 #2
0
        public static string CreateSingleBar(DataTable dt, string CharType, string ImagePath, string Title)
        {
            String PhaysicalImagePath = ImagePath;

            OWCChart.OWCChartFactory mychart = new OWCChartFactory(Title, PhaysicalImagePath, 500, 600, new OWCChartFontStyle());
            OWCChart.OWCSeriesClass  MyItem  = new OWCSeriesClass();

            MyItem.SeriesName = "次数";
            MyItem.SetDataSource(dt, "Item", "Value");
            mychart.CreateSingleBar(" ", "", MyItem);
            String imageName = mychart.ExportPictuire();

            return(imageName);
        }
コード例 #3
0
ファイル: Assistant.cs プロジェクト: chinasio/Control
        public static string CreateSingleBar(DataTable dt,string CharType,string ImagePath,string Title)
        {
            String PhaysicalImagePath = ImagePath;
            OWCChart.OWCChartFactory mychart =new OWCChartFactory(Title,PhaysicalImagePath,500,600,new OWCChartFontStyle());
            OWCChart.OWCSeriesClass MyItem = new OWCSeriesClass();

            MyItem.SeriesName = "����";
            MyItem.SetDataSource(dt,"Item","Value");
            mychart.CreateSingleBar(" ","",MyItem);
            String imageName = mychart.ExportPictuire();
            return imageName;
        }
コード例 #4
0
ファイル: Assistant.cs プロジェクト: BGCX262/ztcms-svn-to-git
        public static string CreateSingleBar(DataTable dt, string charType, string imagePath, string title)
        {
            var phaysicalImagePath = imagePath;
            var mychart = new OWCChartFactory(title, phaysicalImagePath, 500, 600, new OWCChartFontStyle());
            var myItem = new OWCSeriesClass {SeriesName = "次数"};

            myItem.SetDataSource(dt, "Item", "Value");
            mychart.CreateSingleBar(" ", "", myItem);
            var imageName = mychart.ExportPictuire();
            return imageName;
        }