Exemple #1
0
 private void InitializeComponent()
 {
     GrapeCity.ActiveReports.Chart.ChartArea        chartArea1 = new GrapeCity.ActiveReports.Chart.ChartArea();
     GrapeCity.ActiveReports.Chart.Axis             axis1      = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis2      = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis3      = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis4      = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis5      = new GrapeCity.ActiveReports.Chart.Axis();
     System.ComponentModel.ComponentResourceManager resources  = new System.ComponentModel.ComponentResourceManager(typeof(rpt2DBar));
     GrapeCity.ActiveReports.Chart.Legend           legend1    = new GrapeCity.ActiveReports.Chart.Legend();
     GrapeCity.ActiveReports.Chart.Title            title1     = new GrapeCity.ActiveReports.Chart.Title();
     GrapeCity.ActiveReports.Chart.Title            title2     = new GrapeCity.ActiveReports.Chart.Title();
     GrapeCity.ActiveReports.Chart.Series           series1    = new GrapeCity.ActiveReports.Chart.Series();
     GrapeCity.ActiveReports.Chart.Title            title3     = new GrapeCity.ActiveReports.Chart.Title();
     this.ChartControl = new GrapeCity.ActiveReports.SectionReportModel.ChartControl();
     this.Detail       = new GrapeCity.ActiveReports.SectionReportModel.Detail();
     // ChartControl
     this.ChartControl.AutoRefresh = true;
     this.ChartControl.Backdrop    = new GrapeCity.ActiveReports.Chart.BackdropItem(GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Color.White, System.Drawing.Color.SteelBlue);
     chartArea1.AntiAliasMode      = GrapeCity.ActiveReports.Chart.Graphics.AntiAliasMode.Graphics;
     axis1.AxisType      = GrapeCity.ActiveReports.Chart.AxisType.Categorical;
     axis1.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Arial", 8F), -90F);
     axis1.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 1D, 0F, false);
     axis1.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis1.Title         = "State";
     axis1.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Arial", 12F));
     axis2.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis2.LabelsGap     = 0;
     axis2.LabelsVisible = false;
     axis2.Line          = new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None);
     axis2.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis2.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis2.Position      = 0D;
     axis2.TickOffset    = 0D;
     axis2.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis2.Visible       = false;
     axis3.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Arial", 8F));
     axis3.LabelsVisible = false;
     axis3.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis3.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis3.Position      = 0D;
     axis3.Title         = "Cargo Volume";
     axis3.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Arial", 12F), -90F);
     axis4.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis4.LabelsVisible = false;
     axis4.Line          = new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None);
     axis4.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis4.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis4.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis4.Visible       = false;
     axis5.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis5.LabelsGap     = 0;
     axis5.LabelsVisible = false;
     axis5.Line          = new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None);
     axis5.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis5.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis5.Position      = 0D;
     axis5.TickOffset    = 0D;
     axis5.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis5.Visible       = false;
     chartArea1.Axes.AddRange(new GrapeCity.ActiveReports.Chart.AxisBase[] {
         axis1,
         axis2,
         axis3,
         axis4,
         axis5
     });
     chartArea1.Backdrop = new GrapeCity.ActiveReports.Chart.BackdropItem(GrapeCity.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.White, GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, GrapeCity.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched);
     chartArea1.Border   = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     chartArea1.Light    = new GrapeCity.ActiveReports.Chart.Light(new GrapeCity.ActiveReports.Chart.Graphics.Point3d(10F, 40F, 20F), GrapeCity.ActiveReports.Chart.LightType.InfiniteDirectional, 0.3F);
     chartArea1.Name     = "defaultArea";
     this.ChartControl.ChartAreas.AddRange(new GrapeCity.ActiveReports.Chart.ChartArea[] {
         chartArea1
     });
     this.ChartControl.ChartBorder = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     resources.ApplyResources(this.ChartControl, "ChartControl");
     legend1.Alignment  = GrapeCity.ActiveReports.Chart.Alignment.Right;
     legend1.Backdrop   = new GrapeCity.ActiveReports.Chart.BackdropItem(System.Drawing.Color.White, ((byte)(128)));
     legend1.Border     = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(), 0, System.Drawing.Color.Black);
     legend1.DockArea   = null;
     title1.Backdrop    = new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(GrapeCity.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.White, GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, GrapeCity.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched);
     title1.Border      = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     title1.DockArea    = null;
     title1.Font        = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     title1.Name        = "";
     title1.Text        = "";
     legend1.Footer     = title1;
     legend1.GridLayout = new GrapeCity.ActiveReports.Chart.GridLayout(0, 1);
     title2.Border      = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.White, 2), 0, System.Drawing.Color.Black);
     title2.DockArea    = null;
     title2.Font        = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     title2.Name        = "";
     title2.Text        = "Legend";
     legend1.Header     = title2;
     legend1.LabelsFont = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     legend1.Name       = "defaultLegend";
     legend1.Visible    = false;
     this.ChartControl.Legends.AddRange(new GrapeCity.ActiveReports.Chart.Legend[] {
         legend1
     });
     this.ChartControl.Name = "ChartControl";
     series1.AxisX          = axis1;
     series1.AxisY          = axis3;
     series1.ChartArea      = chartArea1;
     series1.Legend         = legend1;
     series1.LegendText     = "";
     series1.Name           = "Series1";
     series1.Properties     = new GrapeCity.ActiveReports.Chart.CustomProperties(new GrapeCity.ActiveReports.Chart.KeyValuePair[] {
         new GrapeCity.ActiveReports.Chart.KeyValuePair("BorderLine", new GrapeCity.ActiveReports.Chart.Graphics.Line()),
         new GrapeCity.ActiveReports.Chart.KeyValuePair("BarType", GrapeCity.ActiveReports.Chart.BarType.Bar)
     });
     series1.Type          = GrapeCity.ActiveReports.Chart.ChartType.Bar2D;
     series1.ValueMembersY = "Expr1";
     series1.ValueMemberX  = "ShipCountry";
     this.ChartControl.Series.AddRange(new GrapeCity.ActiveReports.Chart.Series[] {
         series1
     });
     title3.Alignment = GrapeCity.ActiveReports.Chart.Alignment.Center;
     title3.Border    = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     title3.DockArea  = null;
     title3.Font      = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Arial", 14F));
     title3.Name      = "header";
     title3.Text      = "Simple Bar Chart";
     this.ChartControl.Titles.AddRange(new GrapeCity.ActiveReports.Chart.Title[] {
         title3
     });
     this.ChartControl.UIOptions = GrapeCity.ActiveReports.Chart.UIOptions.ForceHitTesting;
     // Detail
     this.Detail.ColumnSpacing = 0F;
     this.Detail.Controls.AddRange(new GrapeCity.ActiveReports.SectionReportModel.ARControl[] {
         this.ChartControl
     });
     this.Detail.Height = 3.924305F;
     this.Detail.Name   = "Detail";
     // rpt2DBar
     this.MasterReport = false;
     resources.ApplyResources(this, "$this");
     this.PageSettings.PaperHeight = 11F;
     this.PageSettings.PaperWidth  = 8.5F;
     this.PrintWidth = 6F;
     this.Sections.Add(this.Detail);
     this.StyleSheet.Add(new DDCssLib.StyleSheetRule("font-family: Arial; font-style: normal; text-decoration: none; font-weight: norma" +
                                                     "l; font-size: 10pt; color: Black; ddo-char-set: 186", "Normal"));
 }
 private void InitializeComponent()
 {
     GrapeCity.ActiveReports.Chart.ChartArea        chartArea1 = new GrapeCity.ActiveReports.Chart.ChartArea();
     GrapeCity.ActiveReports.Chart.Axis             axis1      = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis2      = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis3      = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis4      = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis5      = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.WallRange        wallRange1 = new GrapeCity.ActiveReports.Chart.WallRange();
     GrapeCity.ActiveReports.Chart.WallRange        wallRange2 = new GrapeCity.ActiveReports.Chart.WallRange();
     System.ComponentModel.ComponentResourceManager resources  = new System.ComponentModel.ComponentResourceManager(typeof(rptStackedArea));
     GrapeCity.ActiveReports.Chart.Legend           legend1    = new GrapeCity.ActiveReports.Chart.Legend();
     GrapeCity.ActiveReports.Chart.Title            title1     = new GrapeCity.ActiveReports.Chart.Title();
     GrapeCity.ActiveReports.Chart.Title            title2     = new GrapeCity.ActiveReports.Chart.Title();
     GrapeCity.ActiveReports.Chart.Series           series1    = new GrapeCity.ActiveReports.Chart.Series();
     GrapeCity.ActiveReports.Chart.Series           series2    = new GrapeCity.ActiveReports.Chart.Series();
     GrapeCity.ActiveReports.Chart.Series           series3    = new GrapeCity.ActiveReports.Chart.Series();
     GrapeCity.ActiveReports.Chart.Series           series4    = new GrapeCity.ActiveReports.Chart.Series();
     GrapeCity.ActiveReports.Chart.Title            title3     = new GrapeCity.ActiveReports.Chart.Title();
     this.ChartUnbound = new GrapeCity.ActiveReports.SectionReportModel.ChartControl();
     this.lblUnbound   = new GrapeCity.ActiveReports.SectionReportModel.Label();
     this.Label2       = new GrapeCity.ActiveReports.SectionReportModel.Label();
     this.Detail       = new GrapeCity.ActiveReports.SectionReportModel.Detail();
     // ChartUnbound
     this.ChartUnbound.AutoRefresh = true;
     this.ChartUnbound.Backdrop    = new GrapeCity.ActiveReports.Chart.BackdropItem(GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Color.DeepSkyBlue, System.Drawing.Color.SteelBlue);
     axis1.AntiAliasMode           = GrapeCity.ActiveReports.Chart.Graphics.AntiAliasMode.Text;
     axis1.Arrow     = GrapeCity.ActiveReports.Chart.ArrowType.Triangle;
     axis1.AxisType  = GrapeCity.ActiveReports.Chart.AxisType.Categorical;
     axis1.LabelFont = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.White, new System.Drawing.Font("Verdana", 8.25F));
     axis1.Labels.AddRange(new string[] {
         "1",
         "2",
         "3",
         "4",
         "5",
         "6",
         "7",
         "8",
         "9"
     });
     axis1.Line          = new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.White);
     axis1.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent), 1D, 0F, true);
     axis1.Max           = 9D;
     axis1.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent), 0D, 5F, true);
     axis2.Arrow         = GrapeCity.ActiveReports.Chart.ArrowType.Triangle;
     axis2.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(), 0.5D, 5F);
     axis2.Visible       = false;
     axis3.AntiAliasMode = GrapeCity.ActiveReports.Chart.Graphics.AntiAliasMode.Text;
     axis3.Arrow         = GrapeCity.ActiveReports.Chart.ArrowType.Triangle;
     axis3.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.White, new System.Drawing.Font("Verdana", 8.25F));
     axis3.Line          = new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.White);
     axis3.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0), 10D, 6F, true);
     axis3.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent), 5D, 3F, false);
     axis4.Arrow         = GrapeCity.ActiveReports.Chart.ArrowType.Triangle;
     axis4.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(), 0.5D, 5F);
     axis4.Visible       = false;
     axis5.Arrow         = GrapeCity.ActiveReports.Chart.ArrowType.Triangle;
     axis5.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(), 0.5D, 5F);
     axis5.Visible       = false;
     chartArea1.Axes.AddRange(new GrapeCity.ActiveReports.Chart.AxisBase[] {
         axis1,
         axis2,
         axis3,
         axis4,
         axis5
     });
     chartArea1.Backdrop   = new GrapeCity.ActiveReports.Chart.BackdropItem(GrapeCity.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.Black, GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, GrapeCity.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched);
     chartArea1.Border     = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 10, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Transparent);
     chartArea1.Light      = new GrapeCity.ActiveReports.Chart.Light(new GrapeCity.ActiveReports.Chart.Graphics.Point3d(0F, 10F, 20F), GrapeCity.ActiveReports.Chart.LightType.Ambient, 0.6F);
     chartArea1.Name       = "chartArea1";
     chartArea1.Projection = new GrapeCity.ActiveReports.Chart.Projection(GrapeCity.ActiveReports.Chart.Graphics.ProjectionType.Identical, 0.3F, 0.3F);
     wallRange1.AdjacentAxes.AddRange(new GrapeCity.ActiveReports.Chart.AxisBase[] {
         axis1,
         axis3
     });
     wallRange1.Backdrop    = new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.White, ((byte)(70)));
     wallRange1.Border      = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent));
     wallRange1.EndValue    = 24D;
     wallRange1.Name        = "";
     wallRange1.PrimaryAxis = axis3;
     wallRange1.StartValue  = 12D;
     wallRange2.AdjacentAxes.AddRange(new GrapeCity.ActiveReports.Chart.AxisBase[] {
         axis1,
         axis3
     });
     wallRange2.Backdrop    = new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.White, ((byte)(70)));
     wallRange2.Border      = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent));
     wallRange2.EndValue    = 48D;
     wallRange2.Name        = "";
     wallRange2.PrimaryAxis = axis3;
     wallRange2.StartValue  = 36D;
     chartArea1.WallRanges.AddRange(new GrapeCity.ActiveReports.Chart.WallRange[] {
         wallRange1,
         wallRange2
     });
     chartArea1.WallXY      = new GrapeCity.ActiveReports.Chart.PlaneItem(new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.Silver, ((byte)(100))));
     chartArea1.WallXZ      = new GrapeCity.ActiveReports.Chart.PlaneItem(new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.Beige), 5F);
     chartArea1.WallYZ      = new GrapeCity.ActiveReports.Chart.PlaneItem(new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.Beige), 5F);
     chartArea1.ZDepthRatio = 0.3F;
     this.ChartUnbound.ChartAreas.AddRange(new GrapeCity.ActiveReports.Chart.ChartArea[] {
         chartArea1
     });
     this.ChartUnbound.ChartBorder = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.DodgerBlue, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Gainsboro);
     resources.ApplyResources(this.ChartUnbound, "ChartUnbound");
     legend1.AntiAliasMode  = GrapeCity.ActiveReports.Chart.Graphics.AntiAliasMode.Both;
     legend1.Backdrop       = new GrapeCity.ActiveReports.Chart.BackdropItem(System.Drawing.Color.Silver, ((byte)(87)));
     legend1.Border         = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.CadetBlue, 0), 0, System.Drawing.Color.White);
     legend1.DockArea       = chartArea1;
     legend1.DockInsideArea = true;
     title1.Backdrop        = new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(GrapeCity.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.Transparent, System.Drawing.Color.Black, GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, GrapeCity.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched);
     title1.Border          = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None));
     title1.DockArea        = null;
     title1.Name            = "";
     title1.Text            = "";
     title1.Visible         = false;
     legend1.Footer         = title1;
     title2.DockArea        = null;
     title2.Name            = "";
     title2.Text            = "";
     title2.Visible         = false;
     legend1.Header         = title2;
     legend1.LabelsFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.White, new System.Drawing.Font("Verdana", 8.25F));
     legend1.MarginX        = 77;
     legend1.Name           = "defaultLegend";
     this.ChartUnbound.Legends.AddRange(new GrapeCity.ActiveReports.Chart.Legend[] {
         legend1
     });
     this.ChartUnbound.Name = "ChartUnbound";
     series1.AntiAliasMode  = GrapeCity.ActiveReports.Chart.Graphics.AntiAliasMode.Graphics;
     series1.AxisX          = axis1;
     series1.AxisY          = axis3;
     series1.ChartArea      = chartArea1;
     series1.Legend         = legend1;
     series1.LegendText     = "";
     series1.Name           = "Series A";
     series1.Points.AddRange(new GrapeCity.ActiveReports.Chart.DataPoint[] {
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("5"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("7"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("7"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("9"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("13"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("12"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("14"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("16"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("16"), false)
     });
     series1.Properties = new GrapeCity.ActiveReports.Chart.CustomProperties(new GrapeCity.ActiveReports.Chart.KeyValuePair[] {
         new GrapeCity.ActiveReports.Chart.KeyValuePair("Backdrop", new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.Gold, ((byte)(200)))),
         new GrapeCity.ActiveReports.Chart.KeyValuePair("BorderLine", new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.White)),
         new GrapeCity.ActiveReports.Chart.KeyValuePair("Marker", new GrapeCity.ActiveReports.Chart.Marker(10, GrapeCity.ActiveReports.Chart.MarkerStyle.None, new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(), new GrapeCity.ActiveReports.Chart.Graphics.Line(), new GrapeCity.ActiveReports.Chart.LabelInfo(new GrapeCity.ActiveReports.Chart.Graphics.Line(), new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(), new GrapeCity.ActiveReports.Chart.FontInfo(), "", GrapeCity.ActiveReports.Chart.Alignment.Bottom))),
         new GrapeCity.ActiveReports.Chart.KeyValuePair("Tooltip", new GrapeCity.ActiveReports.Chart.LabelInfo())
     });
     series1.Type          = GrapeCity.ActiveReports.Chart.ChartType.StackedArea;
     series1.ValueMembersY = null;
     series1.ValueMemberX  = null;
     series1.ZOrder        = 0F;
     series2.AntiAliasMode = GrapeCity.ActiveReports.Chart.Graphics.AntiAliasMode.Graphics;
     series2.AxisX         = axis1;
     series2.AxisY         = axis3;
     series2.ChartArea     = chartArea1;
     series2.Legend        = legend1;
     series2.LegendText    = "";
     series2.Name          = "Series B";
     series2.Points.AddRange(new GrapeCity.ActiveReports.Chart.DataPoint[] {
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("8"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("12"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("12"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("15"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("14"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("14"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("17"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("20"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("18"), false)
     });
     series2.Properties = new GrapeCity.ActiveReports.Chart.CustomProperties(new GrapeCity.ActiveReports.Chart.KeyValuePair[] {
         new GrapeCity.ActiveReports.Chart.KeyValuePair("Backdrop", new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.LimeGreen, ((byte)(200)))),
         new GrapeCity.ActiveReports.Chart.KeyValuePair("BorderLine", new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.White)),
         new GrapeCity.ActiveReports.Chart.KeyValuePair("Tooltip", new GrapeCity.ActiveReports.Chart.LabelInfo())
     });
     series2.Type          = GrapeCity.ActiveReports.Chart.ChartType.StackedArea;
     series2.ValueMembersY = null;
     series2.ValueMemberX  = null;
     series2.ZOrder        = 0F;
     series3.AntiAliasMode = GrapeCity.ActiveReports.Chart.Graphics.AntiAliasMode.Graphics;
     series3.AxisX         = axis1;
     series3.AxisY         = axis3;
     series3.ChartArea     = chartArea1;
     series3.Legend        = legend1;
     series3.LegendText    = "";
     series3.Name          = "Series C";
     series3.Points.AddRange(new GrapeCity.ActiveReports.Chart.DataPoint[] {
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("3"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("3"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("4"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("4"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("5"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("3"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("6"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("8"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("8"), false)
     });
     series3.Properties = new GrapeCity.ActiveReports.Chart.CustomProperties(new GrapeCity.ActiveReports.Chart.KeyValuePair[] {
         new GrapeCity.ActiveReports.Chart.KeyValuePair("Backdrop", new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.DodgerBlue, ((byte)(200)))),
         new GrapeCity.ActiveReports.Chart.KeyValuePair("BorderLine", new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.White)),
         new GrapeCity.ActiveReports.Chart.KeyValuePair("Tooltip", new GrapeCity.ActiveReports.Chart.LabelInfo())
     });
     series3.Type          = GrapeCity.ActiveReports.Chart.ChartType.StackedArea;
     series3.ValueMembersY = null;
     series3.ValueMemberX  = null;
     series3.ZOrder        = 0F;
     series4.AntiAliasMode = GrapeCity.ActiveReports.Chart.Graphics.AntiAliasMode.Graphics;
     series4.AxisX         = axis1;
     series4.AxisY         = axis3;
     series4.ChartArea     = chartArea1;
     series4.Legend        = legend1;
     series4.LegendText    = "";
     series4.Name          = "Series D";
     series4.Points.AddRange(new GrapeCity.ActiveReports.Chart.DataPoint[] {
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("6"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("6"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("7"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("10"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("11"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("14"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("12"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("15"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("12"), false)
     });
     series4.Properties = new GrapeCity.ActiveReports.Chart.CustomProperties(new GrapeCity.ActiveReports.Chart.KeyValuePair[] {
         new GrapeCity.ActiveReports.Chart.KeyValuePair("Backdrop", new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.DarkOrange, ((byte)(200)))),
         new GrapeCity.ActiveReports.Chart.KeyValuePair("BorderLine", new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.White)),
         new GrapeCity.ActiveReports.Chart.KeyValuePair("Tooltip", new GrapeCity.ActiveReports.Chart.LabelInfo())
     });
     series4.Type          = GrapeCity.ActiveReports.Chart.ChartType.StackedArea;
     series4.ValueMembersY = null;
     series4.ValueMemberX  = null;
     series4.ZOrder        = 0F;
     this.ChartUnbound.Series.AddRange(new GrapeCity.ActiveReports.Chart.Series[] {
         series1,
         series2,
         series3,
         series4
     });
     title3.Alignment     = GrapeCity.ActiveReports.Chart.Alignment.Center;
     title3.AntiAliasMode = GrapeCity.ActiveReports.Chart.Graphics.AntiAliasMode.Text;
     title3.Backdrop      = new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.SteelBlue);
     title3.Border        = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 10, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None));
     title3.DockArea      = null;
     title3.Docking       = GrapeCity.ActiveReports.Chart.DockType.Bottom;
     title3.Font          = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.White, new System.Drawing.Font("Verdana", 8.25F));
     title3.Name          = "footer";
     title3.Text          = "Unbound Graph";
     this.ChartUnbound.Titles.AddRange(new GrapeCity.ActiveReports.Chart.Title[] {
         title3
     });
     // lblUnbound
     resources.ApplyResources(this.lblUnbound, "lblUnbound");
     this.lblUnbound.Name = "lblUnbound";
     // Label2
     resources.ApplyResources(this.Label2, "Label2");
     this.Label2.Name = "Label2";
     // Detail
     this.Detail.ColumnSpacing = 0F;
     this.Detail.Controls.AddRange(new GrapeCity.ActiveReports.SectionReportModel.ARControl[] {
         this.ChartUnbound,
         this.lblUnbound,
         this.Label2
     });
     this.Detail.Height = 4.875F;
     this.Detail.Name   = "Detail";
     // rptStackedArea
     this.MasterReport = false;
     resources.ApplyResources(this, "$this");
     this.PageSettings.PaperHeight = 11F;
     this.PageSettings.PaperWidth  = 8.5F;
     this.PrintWidth = 6.1F;
     this.Sections.Add(this.Detail);
     this.StyleSheet.Add(new DDCssLib.StyleSheetRule("font-family: Arial; font-style: normal; text-decoration: none; font-weight: norma" +
                                                     "l; font-size: 10pt; color: Black; ddo-char-set: 186", "Normal"));
 }
Exemple #3
0
 public void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources        = new System.ComponentModel.ComponentResourceManager(typeof(Top10Customers));
     GrapeCity.ActiveReports.Chart.ChartArea        chartArea1       = new GrapeCity.ActiveReports.Chart.ChartArea();
     GrapeCity.ActiveReports.Chart.Axis             axis1            = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis2            = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis3            = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis4            = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis5            = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Legend           legend1          = new GrapeCity.ActiveReports.Chart.Legend();
     GrapeCity.ActiveReports.Chart.Title            title1           = new GrapeCity.ActiveReports.Chart.Title();
     GrapeCity.ActiveReports.Chart.Title            title2           = new GrapeCity.ActiveReports.Chart.Title();
     GrapeCity.ActiveReports.Chart.Series           series1          = new GrapeCity.ActiveReports.Chart.Series();
     GrapeCity.ActiveReports.Chart.Title            title3           = new GrapeCity.ActiveReports.Chart.Title();
     GrapeCity.ActiveReports.Chart.Title            title4           = new GrapeCity.ActiveReports.Chart.Title();
     GrapeCity.ActiveReports.Data.OleDBDataSource   oleDBDataSource1 = new GrapeCity.ActiveReports.Data.OleDBDataSource();
     this.txtCompanyname = new GrapeCity.ActiveReports.SectionReportModel.TextBox();
     this.txtSales       = new GrapeCity.ActiveReports.SectionReportModel.TextBox();
     this.lblRank        = new GrapeCity.ActiveReports.SectionReportModel.Label();
     this.ChartControl1  = new GrapeCity.ActiveReports.SectionReportModel.ChartControl();
     this.Detail         = new GrapeCity.ActiveReports.SectionReportModel.Detail();
     this.GroupHeader1   = new GrapeCity.ActiveReports.SectionReportModel.GroupHeader();
     this.GroupFooter1   = new GrapeCity.ActiveReports.SectionReportModel.GroupFooter();
     // txtCompanyname
     resources.ApplyResources(this.txtCompanyname, "txtCompanyname");
     this.txtCompanyname.DataField = "CompanyName";
     this.txtCompanyname.Name      = "txtCompanyname";
     // txtSales
     resources.ApplyResources(this.txtSales, "txtSales");
     this.txtSales.DataField = "Sales";
     this.txtSales.Name      = "txtSales";
     // lblRank
     resources.ApplyResources(this.lblRank, "lblRank");
     this.lblRank.Name = "lblRank";
     // ChartControl1
     this.ChartControl1.AutoRefresh = true;
     this.ChartControl1.Backdrop    = new GrapeCity.ActiveReports.Chart.BackdropItem(GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Color.White, System.Drawing.Color.LightYellow);
     axis1.AntiAliasMode            = GrapeCity.ActiveReports.Chart.Graphics.AntiAliasMode.Both;
     axis1.AxisType      = GrapeCity.ActiveReports.Chart.AxisType.Categorical;
     axis1.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("MS PGothic", 8F), -50F);
     axis1.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.IndianRed, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 1D, 0F, false);
     axis1.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.DarkRed, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis1.SmartLabels   = false;
     axis1.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis2.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis2.LabelsGap     = 0;
     axis2.LabelsVisible = false;
     axis2.Line          = new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None);
     axis2.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis2.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis2.Position      = 0D;
     axis2.TickOffset    = 0D;
     axis2.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis2.Visible       = false;
     axis3.AntiAliasMode = GrapeCity.ActiveReports.Chart.Graphics.AntiAliasMode.Both;
     axis3.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Arial", 7F));
     axis3.LabelsGap     = 0;
     axis3.Line          = new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Black, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None);
     axis3.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Firebrick), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Firebrick, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 50000D, 3F, true);
     axis3.Min           = 0D;
     axis3.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.MistyRose, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.Dot), 10000D, 0F, false);
     axis3.Position      = 0D;
     axis3.SmartLabels   = false;
     axis3.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F), -90F);
     axis4.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis4.LabelsVisible = false;
     axis4.Line          = new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None);
     axis4.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis4.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis4.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis4.Visible       = false;
     axis5.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis5.LabelsGap     = 0;
     axis5.LabelsVisible = false;
     axis5.Line          = new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None);
     axis5.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(), 2D, 10F);
     axis5.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis5.Position      = 0D;
     axis5.TickOffset    = 0D;
     axis5.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis5.Visible       = false;
     chartArea1.Axes.AddRange(new GrapeCity.ActiveReports.Chart.AxisBase[] {
         axis1,
         axis2,
         axis3,
         axis4,
         axis5
     });
     chartArea1.Backdrop   = new GrapeCity.ActiveReports.Chart.BackdropItem(GrapeCity.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.White, GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, GrapeCity.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched);
     chartArea1.Border     = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     chartArea1.Light      = new GrapeCity.ActiveReports.Chart.Light(new GrapeCity.ActiveReports.Chart.Graphics.Point3d(10F, 40F, 20F), GrapeCity.ActiveReports.Chart.LightType.Ambient, 0.3F);
     chartArea1.Name       = "defaultArea";
     chartArea1.Projection = new GrapeCity.ActiveReports.Chart.Projection(GrapeCity.ActiveReports.Chart.Graphics.ProjectionType.Orthogonal, 0.1F, 0.1F);
     chartArea1.WallXY     = new GrapeCity.ActiveReports.Chart.PlaneItem(new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.Transparent, ((byte)(197))));
     chartArea1.WallXZ     = new GrapeCity.ActiveReports.Chart.PlaneItem(new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(GrapeCity.ActiveReports.Chart.Graphics.BackdropStyle.Gradient, System.Drawing.Color.Gray, System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, GrapeCity.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched, ((byte)(197))));
     chartArea1.WallYZ     = new GrapeCity.ActiveReports.Chart.PlaneItem(new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(GrapeCity.ActiveReports.Chart.Graphics.BackdropStyle.Gradient, System.Drawing.Color.DimGray, System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, GrapeCity.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched, ((byte)(200))));
     this.ChartControl1.ChartAreas.AddRange(new GrapeCity.ActiveReports.Chart.ChartArea[] {
         chartArea1
     });
     this.ChartControl1.ChartBorder  = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     this.ChartControl1.ColorPalette = GrapeCity.ActiveReports.Chart.ColorPalette.Cascade;
     resources.ApplyResources(this.ChartControl1, "ChartControl1");
     legend1.Alignment  = GrapeCity.ActiveReports.Chart.Alignment.Bottom;
     legend1.Backdrop   = new GrapeCity.ActiveReports.Chart.BackdropItem(System.Drawing.Color.White, ((byte)(128)));
     legend1.Border     = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(), 0, System.Drawing.Color.Black);
     legend1.DockArea   = chartArea1;
     title1.Backdrop    = new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(GrapeCity.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.White, GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, GrapeCity.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched);
     title1.Border      = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     title1.DockArea    = null;
     title1.Font        = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     title1.Name        = "";
     title1.Text        = "";
     legend1.Footer     = title1;
     legend1.GridLayout = new GrapeCity.ActiveReports.Chart.GridLayout(2, 5);
     title2.Border      = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.White, 2), 0, System.Drawing.Color.Black);
     title2.DockArea    = null;
     title2.Font        = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     title2.Name        = "";
     title2.Text        = "Top 10 Products";
     legend1.Header     = title2;
     legend1.LabelsFont = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     legend1.Name       = "defaultLegend";
     legend1.Visible    = false;
     this.ChartControl1.Legends.AddRange(new GrapeCity.ActiveReports.Chart.Legend[] {
         legend1
     });
     this.ChartControl1.Name = "ChartControl1";
     series1.AxisX           = axis1;
     series1.AxisY           = axis3;
     series1.ChartArea       = chartArea1;
     series1.Legend          = legend1;
     series1.LegendText      = "";
     series1.Name            = "Series1";
     series1.Properties      = new GrapeCity.ActiveReports.Chart.CustomProperties(new GrapeCity.ActiveReports.Chart.KeyValuePair[] {
         new GrapeCity.ActiveReports.Chart.KeyValuePair("Backdrop", new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(GrapeCity.ActiveReports.Chart.Graphics.GradientType.DiagonalDown, System.Drawing.Color.White, System.Drawing.Color.IndianRed)),
         new GrapeCity.ActiveReports.Chart.KeyValuePair("BorderLine", new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.DimGray)),
         new GrapeCity.ActiveReports.Chart.KeyValuePair("Tooltip", new GrapeCity.ActiveReports.Chart.LabelInfo())
     });
     series1.Type          = GrapeCity.ActiveReports.Chart.ChartType.Bar2D;
     series1.ValueMembersY = "Sales";
     series1.ValueMemberX  = "CompanyName";
     this.ChartControl1.Series.AddRange(new GrapeCity.ActiveReports.Chart.Series[] {
         series1
     });
     title3.Alignment = GrapeCity.ActiveReports.Chart.Alignment.Center;
     title3.Border    = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     title3.DockArea  = chartArea1;
     title3.Font      = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     title3.Name      = "header";
     title3.Text      = "";
     title4.Alignment = GrapeCity.ActiveReports.Chart.Alignment.Center;
     title4.Backdrop  = new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(GrapeCity.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.White, GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, GrapeCity.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched);
     title4.Border    = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     title4.DockArea  = chartArea1;
     title4.Docking   = GrapeCity.ActiveReports.Chart.DockType.Bottom;
     title4.Font      = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Arial Unicode MS", 8F));
     title4.Name      = "footer";
     title4.Text      = "";
     this.ChartControl1.Titles.AddRange(new GrapeCity.ActiveReports.Chart.Title[] {
         title3,
         title4
     });
     this.ChartControl1.UIOptions = GrapeCity.ActiveReports.Chart.UIOptions.ForceHitTesting;
     // Detail
     this.Detail.ColumnSpacing = 0F;
     this.Detail.Controls.AddRange(new GrapeCity.ActiveReports.SectionReportModel.ARControl[] {
         this.txtCompanyname,
         this.txtSales,
         this.lblRank
     });
     this.Detail.Height       = 0.1875F;
     this.Detail.KeepTogether = true;
     this.Detail.Name         = "Detail";
     this.Detail.Format      += new System.EventHandler(this.Detail_Format);
     // GroupHeader1
     this.GroupHeader1.Controls.AddRange(new GrapeCity.ActiveReports.SectionReportModel.ARControl[] {
         this.ChartControl1
     });
     this.GroupHeader1.Height  = 4F;
     this.GroupHeader1.Name    = "GroupHeader1";
     this.GroupHeader1.Format += new System.EventHandler(this.GroupHeader1_Format);
     // GroupFooter1
     this.GroupFooter1.Height = 0F;
     this.GroupFooter1.Name   = "GroupFooter1";
     // Top10Customers
     this.MasterReport = false;
     resources.ApplyResources(this, "$this");
     oleDBDataSource1.ConnectionString = "";
     oleDBDataSource1.SQL          = "Select * from";
     this.DataSource               = oleDBDataSource1;
     this.PageSettings.PaperHeight = 11F;
     this.PageSettings.PaperWidth  = 8.5F;
     this.PrintWidth               = 3.135417F;
     this.Sections.Add(this.GroupHeader1);
     this.Sections.Add(this.Detail);
     this.Sections.Add(this.GroupFooter1);
     this.StyleSheet.Add(new DDCssLib.StyleSheetRule("font-family: Arial; font-style: normal; text-decoration: none; font-weight: norma" +
                                                     "l; font-size: 10pt; color: Black; ddo-char-set: 186", "Normal"));
     this.ReportStart += new System.EventHandler(this.Top10Customers_ReportStart);
 }
Exemple #4
0
 public void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources        = new System.ComponentModel.ComponentResourceManager(typeof(EmployeeSales));
     GrapeCity.ActiveReports.Chart.ChartArea        chartArea1       = new GrapeCity.ActiveReports.Chart.ChartArea();
     GrapeCity.ActiveReports.Chart.Axis             axis1            = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis2            = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis3            = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis4            = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis5            = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Data.OleDBDataSource   oleDBDataSource1 = new GrapeCity.ActiveReports.Data.OleDBDataSource();
     GrapeCity.ActiveReports.Chart.Legend           legend1          = new GrapeCity.ActiveReports.Chart.Legend();
     GrapeCity.ActiveReports.Chart.Title            title1           = new GrapeCity.ActiveReports.Chart.Title();
     GrapeCity.ActiveReports.Chart.Title            title2           = new GrapeCity.ActiveReports.Chart.Title();
     GrapeCity.ActiveReports.Chart.Series           series1          = new GrapeCity.ActiveReports.Chart.Series();
     GrapeCity.ActiveReports.Chart.Title            title3           = new GrapeCity.ActiveReports.Chart.Title();
     GrapeCity.ActiveReports.Chart.Title            title4           = new GrapeCity.ActiveReports.Chart.Title();
     GrapeCity.ActiveReports.Data.OleDBDataSource   oleDBDataSource2 = new GrapeCity.ActiveReports.Data.OleDBDataSource();
     this.txtEmployeeName = new GrapeCity.ActiveReports.SectionReportModel.TextBox();
     this.txtSales        = new GrapeCity.ActiveReports.SectionReportModel.TextBox();
     this.lblTitle        = new GrapeCity.ActiveReports.SectionReportModel.Label();
     this.lblTotalSales   = new GrapeCity.ActiveReports.SectionReportModel.Label();
     this.lblDate         = new GrapeCity.ActiveReports.SectionReportModel.Label();
     this.txtTotalSales   = new GrapeCity.ActiveReports.SectionReportModel.TextBox();
     this.chtSales        = new GrapeCity.ActiveReports.SectionReportModel.ChartControl();
     this.lblEmployeeName = new GrapeCity.ActiveReports.SectionReportModel.Label();
     this.lblSales        = new GrapeCity.ActiveReports.SectionReportModel.Label();
     this.Detail          = new GrapeCity.ActiveReports.SectionReportModel.Detail();
     this.ReportHeader    = new GrapeCity.ActiveReports.SectionReportModel.ReportHeader();
     this.ReportFooter    = new GrapeCity.ActiveReports.SectionReportModel.ReportFooter();
     this.GroupHeader1    = new GrapeCity.ActiveReports.SectionReportModel.GroupHeader();
     this.GroupFooter1    = new GrapeCity.ActiveReports.SectionReportModel.GroupFooter();
     ((System.ComponentModel.ISupportInitialize)(this.txtEmployeeName)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtSales)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lblTitle)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lblTotalSales)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lblDate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtTotalSales)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chtSales)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lblEmployeeName)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lblSales)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     // txtEmployeeName
     this.txtEmployeeName.CanGrow   = false;
     this.txtEmployeeName.DataField = "EmployeeName";
     resources.ApplyResources(this.txtEmployeeName, "txtEmployeeName");
     this.txtEmployeeName.Name = "txtEmployeeName";
     // txtSales
     this.txtSales.CanGrow   = false;
     this.txtSales.DataField = "Sales";
     resources.ApplyResources(this.txtSales, "txtSales");
     this.txtSales.Name = "txtSales";
     // lblTitle
     resources.ApplyResources(this.lblTitle, "lblTitle");
     this.lblTitle.Name = "lblTitle";
     // lblTotalSales
     resources.ApplyResources(this.lblTotalSales, "lblTotalSales");
     this.lblTotalSales.Name = "lblTotalSales";
     // lblDate
     resources.ApplyResources(this.lblDate, "lblDate");
     this.lblDate.Name = "lblDate";
     // txtTotalSales
     this.txtTotalSales.CanGrow   = false;
     this.txtTotalSales.DataField = "Sales";
     resources.ApplyResources(this.txtTotalSales, "txtTotalSales");
     this.txtTotalSales.Name        = "txtTotalSales";
     this.txtTotalSales.SummaryType = GrapeCity.ActiveReports.SectionReportModel.SummaryType.GrandTotal;
     // chtSales
     this.chtSales.AutoRefresh = true;
     this.chtSales.Backdrop    = new GrapeCity.ActiveReports.Chart.BackdropItem(GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Color.White, System.Drawing.Color.Black);
     axis1.AntiAliasMode       = GrapeCity.ActiveReports.Chart.Graphics.AntiAliasMode.Both;
     axis1.AxisType            = GrapeCity.ActiveReports.Chart.AxisType.Categorical;
     axis1.LabelFont           = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.White, new System.Drawing.Font("Arial", 9F), -50F);
     axis1.LabelsGap           = 0;
     axis1.Line          = new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.White, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None);
     axis1.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.White, 3), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.White, 3, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 1D, 0F, false);
     axis1.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis1.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.White, new System.Drawing.Font("Arial", 10F));
     axis2.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis2.LabelsGap     = 0;
     axis2.LabelsVisible = false;
     axis2.Line          = new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None);
     axis2.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis2.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis2.Position      = 0D;
     axis2.TickOffset    = 0D;
     axis2.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis2.Visible       = false;
     axis3.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis3.LabelsGap     = 0;
     axis3.LabelsVisible = false;
     axis3.Line          = new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Black, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None);
     axis3.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, true);
     axis3.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis3.Position      = 0D;
     axis3.SmartLabels   = false;
     axis3.TickOffset    = 0D;
     axis3.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F), 90F);
     axis4.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis4.LabelsGap     = 0;
     axis4.LabelsVisible = false;
     axis4.Line          = new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None);
     axis4.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis4.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis4.Position      = 0D;
     axis4.TickOffset    = 0D;
     axis4.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis4.Visible       = false;
     axis5.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis5.LabelsGap     = 0;
     axis5.LabelsVisible = false;
     axis5.Line          = new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None);
     axis5.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis5.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis5.Position      = 0D;
     axis5.TickOffset    = 0D;
     axis5.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis5.Visible       = false;
     chartArea1.Axes.AddRange(new GrapeCity.ActiveReports.Chart.AxisBase[] {
         axis1,
         axis2,
         axis3,
         axis4,
         axis5
     });
     chartArea1.Backdrop    = new GrapeCity.ActiveReports.Chart.BackdropItem(GrapeCity.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.White, GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, GrapeCity.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched);
     chartArea1.Border      = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     chartArea1.Light       = new GrapeCity.ActiveReports.Chart.Light(new GrapeCity.ActiveReports.Chart.Graphics.Point3d(10F, 40F, 20F), GrapeCity.ActiveReports.Chart.LightType.InfiniteDirectional, 0.37F);
     chartArea1.Name        = "defaultArea";
     chartArea1.Projection  = new GrapeCity.ActiveReports.Chart.Projection(GrapeCity.ActiveReports.Chart.Graphics.ProjectionType.Orthogonal, 0.3F, 0.3F);
     chartArea1.WallXY      = new GrapeCity.ActiveReports.Chart.PlaneItem(new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(GrapeCity.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.White, GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, GrapeCity.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched));
     chartArea1.WallXZ      = new GrapeCity.ActiveReports.Chart.PlaneItem(new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.Gray));
     chartArea1.WallYZ      = new GrapeCity.ActiveReports.Chart.PlaneItem(new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(GrapeCity.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.White, GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, GrapeCity.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched));
     chartArea1.ZDepthRatio = 0.4F;
     this.chtSales.ChartAreas.AddRange(new GrapeCity.ActiveReports.Chart.ChartArea[] {
         chartArea1
     });
     this.chtSales.ChartBorder         = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     this.chtSales.ColorPalette        = GrapeCity.ActiveReports.Chart.ColorPalette.Confetti;
     oleDBDataSource1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Users\\evan.warren\\Documents\\GrapeCity Samples\\ActiveReports 11\\Data\\NWIND.MDB;Persist Security Info=False";
     oleDBDataSource1.SQL     = resources.GetString("oleDBDataSource1.SQL");
     this.chtSales.DataSource = oleDBDataSource1;
     resources.ApplyResources(this.chtSales, "chtSales");
     this.chtSales.ImageType = GrapeCity.ActiveReports.SectionReportModel.ImageTypes.PNG;
     legend1.Alignment       = GrapeCity.ActiveReports.Chart.Alignment.Right;
     legend1.Backdrop        = new GrapeCity.ActiveReports.Chart.BackdropItem(System.Drawing.Color.White, ((byte)(128)));
     legend1.Border          = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(), 0, System.Drawing.Color.Black);
     legend1.DockArea        = chartArea1;
     title1.Backdrop         = new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(GrapeCity.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.White, GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, GrapeCity.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched);
     title1.Border           = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     title1.DockArea         = null;
     title1.Font             = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     title1.Name             = "";
     title1.Text             = "";
     legend1.Footer          = title1;
     title2.Border           = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.White, 2), 0, System.Drawing.Color.Black);
     title2.DockArea         = null;
     title2.Font             = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     title2.Name             = "";
     title2.Text             = "Legend";
     legend1.Header          = title2;
     legend1.LabelsFont      = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     legend1.Name            = "defaultLegend";
     legend1.Visible         = false;
     this.chtSales.Legends.AddRange(new GrapeCity.ActiveReports.Chart.Legend[] {
         legend1
     });
     this.chtSales.Name = "chtSales";
     series1.AxisX      = axis1;
     series1.AxisY      = axis3;
     series1.ChartArea  = chartArea1;
     series1.Legend     = legend1;
     series1.Name       = "Series1";
     series1.Properties = new GrapeCity.ActiveReports.Chart.CustomProperties(new GrapeCity.ActiveReports.Chart.KeyValuePair[] {
         new GrapeCity.ActiveReports.Chart.KeyValuePair("Backdrop", new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Color.Red, System.Drawing.Color.Gray)),
         new GrapeCity.ActiveReports.Chart.KeyValuePair("BorderLine", new GrapeCity.ActiveReports.Chart.Graphics.Line()),
         new GrapeCity.ActiveReports.Chart.KeyValuePair("Marker", new GrapeCity.ActiveReports.Chart.Marker(10, GrapeCity.ActiveReports.Chart.MarkerStyle.None, new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(), new GrapeCity.ActiveReports.Chart.Graphics.Line(), new GrapeCity.ActiveReports.Chart.LabelInfo(new GrapeCity.ActiveReports.Chart.Graphics.Line(), new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.White, ((byte)(200))), new GrapeCity.ActiveReports.Chart.FontInfo(), "{Value:C}", GrapeCity.ActiveReports.Chart.Alignment.Top), GrapeCity.ActiveReports.Chart.Graphics.AntiAliasMode.Both)),
         new GrapeCity.ActiveReports.Chart.KeyValuePair("Tooltip", new GrapeCity.ActiveReports.Chart.LabelInfo())
     });
     series1.Type          = GrapeCity.ActiveReports.Chart.ChartType.Bar3D;
     series1.ValueMembersY = "Sales";
     series1.ValueMemberX  = "EmployeeName";
     this.chtSales.Series.AddRange(new GrapeCity.ActiveReports.Chart.Series[] {
         series1
     });
     title3.Alignment = GrapeCity.ActiveReports.Chart.Alignment.Center;
     title3.Backdrop  = new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.White, ((byte)(81)));
     title3.Border    = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     title3.DockArea  = chartArea1;
     title3.Font      = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold));
     title3.Name      = "header";
     title3.Text      = "Sales by Employee for 1997";
     title4.Border    = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     title4.DockArea  = chartArea1;
     title4.Docking   = GrapeCity.ActiveReports.Chart.DockType.Bottom;
     title4.Font      = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     title4.Name      = "Title1";
     title4.Text      = "";
     this.chtSales.Titles.AddRange(new GrapeCity.ActiveReports.Chart.Title[] {
         title3,
         title4
     });
     this.chtSales.UIOptions = GrapeCity.ActiveReports.Chart.UIOptions.ForceHitTesting;
     // lblEmployeeName
     resources.ApplyResources(this.lblEmployeeName, "lblEmployeeName");
     this.lblEmployeeName.Name = "lblEmployeeName";
     // lblSales
     resources.ApplyResources(this.lblSales, "lblSales");
     this.lblSales.Name = "lblSales";
     // Detail
     this.Detail.CanGrow = false;
     this.Detail.Controls.AddRange(new GrapeCity.ActiveReports.SectionReportModel.ARControl[] {
         this.txtEmployeeName,
         this.txtSales
     });
     this.Detail.Height       = 0.2076389F;
     this.Detail.KeepTogether = true;
     this.Detail.Name         = "Detail";
     // ReportHeader
     this.ReportHeader.CanGrow = false;
     this.ReportHeader.Controls.AddRange(new GrapeCity.ActiveReports.SectionReportModel.ARControl[] {
         this.lblTitle,
         this.lblTotalSales,
         this.lblDate,
         this.txtTotalSales,
         this.chtSales
     });
     this.ReportHeader.Height = 3.9375F;
     this.ReportHeader.Name   = "ReportHeader";
     // ReportFooter
     this.ReportFooter.CanGrow      = false;
     this.ReportFooter.Height       = 0F;
     this.ReportFooter.KeepTogether = true;
     this.ReportFooter.Name         = "ReportFooter";
     // GroupHeader1
     this.GroupHeader1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.GroupHeader1.Controls.AddRange(new GrapeCity.ActiveReports.SectionReportModel.ARControl[] {
         this.lblEmployeeName,
         this.lblSales
     });
     this.GroupHeader1.Name = "GroupHeader1";
     // GroupFooter1
     this.GroupFooter1.Height = 0F;
     this.GroupFooter1.Name   = "GroupFooter1";
     // EmployeeSales
     this.MasterReport = false;
     oleDBDataSource2.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Users\\evan.warren\\Documents\\GrapeCity Samples\\ActiveReports 11\\Data\\NWIND.MDB;Persist Security Info=False";
     oleDBDataSource2.SQL          = resources.GetString("oleDBDataSource2.SQL");
     this.DataSource               = oleDBDataSource2;
     this.PageSettings.PaperHeight = 11F;
     this.PageSettings.PaperWidth  = 8.5F;
     this.PrintWidth               = 6.5F;
     this.Script = resources.GetString("$this.Script");
     this.Sections.Add(this.ReportHeader);
     this.Sections.Add(this.GroupHeader1);
     this.Sections.Add(this.Detail);
     this.Sections.Add(this.GroupFooter1);
     this.Sections.Add(this.ReportFooter);
     this.StyleSheet.Add(new DDCssLib.StyleSheetRule("font-family: Arial; font-style: normal; text-decoration: none; font-weight: norma" +
                                                     "l; font-size: 10pt; color: Black; ddo-char-set: 186", "Normal"));
     this.StyleSheet.Add(new DDCssLib.StyleSheetRule("font-family: Arial; font-size: 16pt; font-style: normal; font-weight: bold", "Heading1", "Normal"));
     this.StyleSheet.Add(new DDCssLib.StyleSheetRule("font-family: Times New Roman; font-size: 14pt; font-style: italic; font-weight: b" +
                                                     "old", "Heading2", "Normal"));
     this.StyleSheet.Add(new DDCssLib.StyleSheetRule("font-family: Arial; font-size: 13pt; font-style: normal; font-weight: bold", "Heading3", "Normal"));
     this.ReportStart += new System.EventHandler(this.EmployeeSales_ReportStart);
     ((System.ComponentModel.ISupportInitialize)(this.txtEmployeeName)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtSales)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lblTitle)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lblTotalSales)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lblDate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtTotalSales)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chtSales)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lblEmployeeName)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lblSales)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Exemple #5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager        resources  = new System.Resources.ResourceManager(typeof(OrderReport));
     GrapeCity.ActiveReports.Chart.ChartArea chartArea1 = new GrapeCity.ActiveReports.Chart.ChartArea();
     GrapeCity.ActiveReports.Chart.Axis      axis1      = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis      axis2      = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis      axis3      = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis      axis4      = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis      axis5      = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Legend    legend1    = new GrapeCity.ActiveReports.Chart.Legend();
     GrapeCity.ActiveReports.Chart.Title     title1     = new GrapeCity.ActiveReports.Chart.Title();
     GrapeCity.ActiveReports.Chart.Title     title2     = new GrapeCity.ActiveReports.Chart.Title();
     GrapeCity.ActiveReports.Chart.Series    series1    = new GrapeCity.ActiveReports.Chart.Series();
     GrapeCity.ActiveReports.Chart.Title     title3     = new GrapeCity.ActiveReports.Chart.Title();
     GrapeCity.ActiveReports.Chart.Title     title4     = new GrapeCity.ActiveReports.Chart.Title();
     this.detail          = new GrapeCity.ActiveReports.SectionReportModel.Detail();
     this.reportHeader1   = new GrapeCity.ActiveReports.SectionReportModel.ReportHeader();
     this.reportFooter1   = new GrapeCity.ActiveReports.SectionReportModel.ReportFooter();
     this.groupHeader1    = new GrapeCity.ActiveReports.SectionReportModel.GroupHeader();
     this.groupFooter1    = new GrapeCity.ActiveReports.SectionReportModel.GroupFooter();
     this.lblOrId         = new GrapeCity.ActiveReports.SectionReportModel.Label();
     this.lblOrdDt        = new GrapeCity.ActiveReports.SectionReportModel.Label();
     this.lblRqDt         = new GrapeCity.ActiveReports.SectionReportModel.Label();
     this.lblshpdate      = new GrapeCity.ActiveReports.SectionReportModel.Label();
     this.lblShpVia       = new GrapeCity.ActiveReports.SectionReportModel.Label();
     this.lblfreight      = new GrapeCity.ActiveReports.SectionReportModel.Label();
     this.line1           = new GrapeCity.ActiveReports.SectionReportModel.Line();
     this.txtOrderID      = new GrapeCity.ActiveReports.SectionReportModel.TextBox();
     this.txtRequiredDate = new GrapeCity.ActiveReports.SectionReportModel.TextBox();
     this.txtOrderDate    = new GrapeCity.ActiveReports.SectionReportModel.TextBox();
     this.txtShippedDate  = new GrapeCity.ActiveReports.SectionReportModel.TextBox();
     this.txtShipVia      = new GrapeCity.ActiveReports.SectionReportModel.TextBox();
     this.txtFreight      = new GrapeCity.ActiveReports.SectionReportModel.TextBox();
     this.chartControl1   = new GrapeCity.ActiveReports.SectionReportModel.ChartControl();
     // detail
     this.detail.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(240)))), ((int)(((byte)(249)))));
     this.detail.Controls.AddRange(new GrapeCity.ActiveReports.SectionReportModel.ARControl[] {
         this.txtOrderID,
         this.txtRequiredDate,
         this.txtOrderDate,
         this.txtShippedDate,
         this.txtShipVia,
         this.txtFreight
     });
     this.detail.Height = 0.375F;
     this.detail.Name   = "detail";
     // reportHeader1
     this.reportHeader1.Height = 0F;
     this.reportHeader1.Name   = "reportHeader1";
     // reportFooter1
     this.reportFooter1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(240)))), ((int)(((byte)(249)))));
     this.reportFooter1.Controls.AddRange(new GrapeCity.ActiveReports.SectionReportModel.ARControl[] {
         this.chartControl1
     });
     this.reportFooter1.Height  = 3.114083F;
     this.reportFooter1.Name    = "reportFooter1";
     this.reportFooter1.NewPage = GrapeCity.ActiveReports.SectionReportModel.NewPage.Before;
     // groupHeader1
     this.groupHeader1.Controls.AddRange(new GrapeCity.ActiveReports.SectionReportModel.ARControl[] {
         this.lblOrId,
         this.lblOrdDt,
         this.lblRqDt,
         this.lblshpdate,
         this.lblShpVia,
         this.lblfreight,
         this.line1
     });
     this.groupHeader1.DataField   = "0";
     this.groupHeader1.Height      = 0.2395834F;
     this.groupHeader1.Name        = "groupHeader1";
     this.groupHeader1.RepeatStyle = GrapeCity.ActiveReports.SectionReportModel.RepeatStyle.OnPage;
     // groupFooter1
     this.groupFooter1.Height = 0F;
     this.groupFooter1.Name   = "groupFooter1";
     // lblOrId
     this.lblOrId.Height    = 0.2F;
     this.lblOrId.HyperLink = null;
     this.lblOrId.Left      = 0.048F;
     this.lblOrId.Name      = "lblOrId";
     this.lblOrId.Style     = "font-weight: bold; text-align: right";
     this.lblOrId.Text      = "Order ID";
     this.lblOrId.Top       = 0.025F;
     this.lblOrId.Width     = 1F;
     // lblOrdDt
     this.lblOrdDt.Height    = 0.2F;
     this.lblOrdDt.HyperLink = null;
     this.lblOrdDt.Left      = 1.088F;
     this.lblOrdDt.Name      = "lblOrdDt";
     this.lblOrdDt.Style     = "font-weight: bold; text-align: right";
     this.lblOrdDt.Text      = "Order Date";
     this.lblOrdDt.Top       = 0.025F;
     this.lblOrdDt.Width     = 1F;
     // lblRqDt
     this.lblRqDt.Height    = 0.2F;
     this.lblRqDt.HyperLink = null;
     this.lblRqDt.Left      = 2.117F;
     this.lblRqDt.Name      = "lblRqDt";
     this.lblRqDt.Style     = "font-weight: bold; text-align: right";
     this.lblRqDt.Text      = "Rqd Date";
     this.lblRqDt.Top       = 0.025F;
     this.lblRqDt.Width     = 1F;
     // lblshpdate
     this.lblshpdate.Height    = 0.2F;
     this.lblshpdate.HyperLink = null;
     this.lblshpdate.Left      = 3.151F;
     this.lblshpdate.Name      = "lblshpdate";
     this.lblshpdate.Style     = "font-weight: bold; text-align: right";
     this.lblshpdate.Text      = "Shipped Date";
     this.lblshpdate.Top       = 0.025F;
     this.lblshpdate.Width     = 1F;
     // lblShpVia
     this.lblShpVia.Height    = 0.2F;
     this.lblShpVia.HyperLink = null;
     this.lblShpVia.Left      = 4.178F;
     this.lblShpVia.Name      = "lblShpVia";
     this.lblShpVia.Style     = "font-weight: bold; text-align: right";
     this.lblShpVia.Text      = "Ship Via";
     this.lblShpVia.Top       = 0.025F;
     this.lblShpVia.Width     = 1F;
     // lblfreight
     this.lblfreight.Height    = 0.2F;
     this.lblfreight.HyperLink = null;
     this.lblfreight.Left      = 5.211F;
     this.lblfreight.Name      = "lblfreight";
     this.lblfreight.Style     = "font-weight: bold; text-align: right";
     this.lblfreight.Text      = "Freight";
     this.lblfreight.Top       = 0.025F;
     this.lblfreight.Width     = 1F;
     // line1
     this.line1.Height     = 0F;
     this.line1.Left       = 0F;
     this.line1.LineWeight = 3F;
     this.line1.Name       = "line1";
     this.line1.Top        = 0.225F;
     this.line1.Width      = 6.75F;
     this.line1.X1         = 0F;
     this.line1.X2         = 6.75F;
     this.line1.Y1         = 0.225F;
     this.line1.Y2         = 0.225F;
     // txtOrderID
     this.txtOrderID.DataField = "OrderID";
     this.txtOrderID.Height    = 0.2F;
     this.txtOrderID.Left      = 0.048F;
     this.txtOrderID.Name      = "txtOrderID";
     this.txtOrderID.Style     = "text-align: right";
     this.txtOrderID.Text      = "OrderID";
     this.txtOrderID.Top       = 0.095F;
     this.txtOrderID.Width     = 1F;
     // txtRequiredDate
     this.txtRequiredDate.DataField = "RequiredDate";
     this.txtRequiredDate.Height    = 0.2F;
     this.txtRequiredDate.Left      = 2.111F;
     this.txtRequiredDate.Name      = "txtRequiredDate";
     this.txtRequiredDate.Style     = "text-align: right";
     this.txtRequiredDate.Text      = "RequiredDate";
     this.txtRequiredDate.Top       = 0.095F;
     this.txtRequiredDate.Width     = 1F;
     // txtOrderDate
     this.txtOrderDate.DataField = "OrderDate";
     this.txtOrderDate.Height    = 0.2F;
     this.txtOrderDate.Left      = 1.088F;
     this.txtOrderDate.Name      = "txtOrderDate";
     this.txtOrderDate.Style     = "text-align: right";
     this.txtOrderDate.Text      = "OrderDate";
     this.txtOrderDate.Top       = 0.095F;
     this.txtOrderDate.Width     = 1F;
     // txtShippedDate
     this.txtShippedDate.DataField = "ShippedDate";
     this.txtShippedDate.Height    = 0.2F;
     this.txtShippedDate.Left      = 3.145F;
     this.txtShippedDate.Name      = "txtShippedDate";
     this.txtShippedDate.Style     = "text-align: right";
     this.txtShippedDate.Text      = "ShippedDate";
     this.txtShippedDate.Top       = 0.095F;
     this.txtShippedDate.Width     = 1F;
     // txtShipVia
     this.txtShipVia.DataField = "ShipVia";
     this.txtShipVia.Height    = 0.2F;
     this.txtShipVia.Left      = 4.182F;
     this.txtShipVia.Name      = "txtShipVia";
     this.txtShipVia.Style     = "text-align: right";
     this.txtShipVia.Text      = "ShipVia";
     this.txtShipVia.Top       = 0.095F;
     this.txtShipVia.Width     = 1F;
     // txtFreight
     this.txtFreight.DataField    = "Freight";
     this.txtFreight.Height       = 0.2F;
     this.txtFreight.Left         = 5.207F;
     this.txtFreight.Name         = "txtFreight";
     this.txtFreight.OutputFormat = resources.GetString("txtFreight.OutputFormat");
     this.txtFreight.Style        = "text-align: right";
     this.txtFreight.Text         = "Freight";
     this.txtFreight.Top          = 0.095F;
     this.txtFreight.Width        = 1F;
     // chartControl1
     this.chartControl1.AutoRefresh = true;
     this.chartControl1.Backdrop    = new GrapeCity.ActiveReports.Chart.BackdropItem(GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Color.White, System.Drawing.Color.SteelBlue);
     chartArea1.AntiAliasMode       = GrapeCity.ActiveReports.Chart.Graphics.AntiAliasMode.Graphics;
     axis1.AxisType      = GrapeCity.ActiveReports.Chart.AxisType.Categorical;
     axis1.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F), -45F);
     axis1.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 1D, 0F, false);
     axis1.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis1.SmartLabels   = false;
     axis1.Title         = "Ship Date";
     axis1.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))), new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Bold));
     axis2.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis2.LabelsGap     = 0;
     axis2.LabelsVisible = false;
     axis2.Line          = new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None);
     axis2.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis2.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis2.Position      = 0D;
     axis2.TickOffset    = 0D;
     axis2.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis2.Visible       = false;
     axis3.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis3.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis3.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis3.Position      = 0D;
     axis3.Title         = "Freight ($)";
     axis3.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))), new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Bold), -90F);
     axis4.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis4.LabelsVisible = false;
     axis4.Line          = new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None);
     axis4.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis4.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis4.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis4.Visible       = false;
     axis5.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis5.LabelsGap     = 0;
     axis5.LabelsVisible = false;
     axis5.Line          = new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None);
     axis5.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis5.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis5.Position      = 0D;
     axis5.TickOffset    = 0D;
     axis5.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis5.Visible       = false;
     chartArea1.Axes.AddRange(new GrapeCity.ActiveReports.Chart.AxisBase[] {
         axis1,
         axis2,
         axis3,
         axis4,
         axis5
     });
     chartArea1.Border     = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     chartArea1.Light      = new GrapeCity.ActiveReports.Chart.Light(new GrapeCity.ActiveReports.Chart.Graphics.Point3d(10F, 40F, 20F), GrapeCity.ActiveReports.Chart.LightType.InfiniteDirectional, 0.3F);
     chartArea1.Name       = "defaultArea";
     chartArea1.Projection = new GrapeCity.ActiveReports.Chart.Projection(GrapeCity.ActiveReports.Chart.Graphics.ProjectionType.Orthogonal, 0.1F, 0.1F);
     this.chartControl1.ChartAreas.AddRange(new GrapeCity.ActiveReports.Chart.ChartArea[] {
         chartArea1
     });
     this.chartControl1.ChartBorder  = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     this.chartControl1.ColorPalette = GrapeCity.ActiveReports.Chart.ColorPalette.Springtime;
     this.chartControl1.Height       = 2.625F;
     this.chartControl1.Left         = 0.187F;
     legend1.Alignment  = GrapeCity.ActiveReports.Chart.Alignment.Right;
     legend1.Backdrop   = new GrapeCity.ActiveReports.Chart.BackdropItem(System.Drawing.Color.White, ((byte)(128)));
     legend1.Border     = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(), 0, System.Drawing.Color.Black);
     legend1.DockArea   = chartArea1;
     title1.Backdrop    = new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(GrapeCity.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.White, GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, GrapeCity.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched);
     title1.Border      = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     title1.DockArea    = null;
     title1.Font        = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     title1.Name        = "";
     title1.Text        = "";
     legend1.Footer     = title1;
     title2.Border      = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.White, 2), 0, System.Drawing.Color.Black);
     title2.DockArea    = null;
     title2.Font        = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     title2.Name        = "";
     title2.Text        = "Legend";
     legend1.Header     = title2;
     legend1.LabelsFont = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     legend1.Name       = "defaultLegend";
     legend1.Visible    = false;
     this.chartControl1.Legends.AddRange(new GrapeCity.ActiveReports.Chart.Legend[] {
         legend1
     });
     this.chartControl1.Name = "chartControl1";
     series1.AxisX           = axis1;
     series1.AxisY           = axis3;
     series1.ChartArea       = chartArea1;
     series1.Legend          = null;
     series1.LegendText      = "";
     series1.Name            = "Series1";
     series1.Type            = GrapeCity.ActiveReports.Chart.ChartType.Bar2D;
     this.chartControl1.Series.AddRange(new GrapeCity.ActiveReports.Chart.Series[] {
         series1
     });
     title3.Alignment = GrapeCity.ActiveReports.Chart.Alignment.Center;
     title3.Border    = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     title3.DockArea  = null;
     title3.Font      = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold));
     title3.Name      = "header";
     title3.Text      = "Frieght By Date";
     title4.Border    = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     title4.DockArea  = null;
     title4.Docking   = GrapeCity.ActiveReports.Chart.DockType.Bottom;
     title4.Font      = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     title4.Name      = "footer";
     title4.Text      = "";
     this.chartControl1.Titles.AddRange(new GrapeCity.ActiveReports.Chart.Title[] {
         title3,
         title4
     });
     this.chartControl1.Top   = 0.489F;
     this.chartControl1.Width = 6.313001F;
     // OrderReport
     this.MasterReport             = false;
     this.PageSettings.PaperHeight = 11F;
     this.PageSettings.PaperWidth  = 8.5F;
     this.PrintWidth = 6.75F;
     this.Sections.Add(this.reportHeader1);
     this.Sections.Add(this.groupHeader1);
     this.Sections.Add(this.detail);
     this.Sections.Add(this.groupFooter1);
     this.Sections.Add(this.reportFooter1);
     this.StyleSheet.Add(new DDCssLib.StyleSheetRule("font-family: Arial; font-style: normal; text-decoration: none; font-weight: norma" +
                                                     "l; font-size: 10pt; color: Black", "Normal"));
     this.StyleSheet.Add(new DDCssLib.StyleSheetRule("font-size: 16pt; font-weight: bold", "Heading1", "Normal"));
     this.StyleSheet.Add(new DDCssLib.StyleSheetRule("font-family: Times New Roman; font-size: 14pt; font-weight: bold; font-style: ita" +
                                                     "lic", "Heading2", "Normal"));
     this.StyleSheet.Add(new DDCssLib.StyleSheetRule("font-size: 13pt; font-weight: bold", "Heading3", "Normal"));
     this.ReportStart += new System.EventHandler(this.OrderReport_ReportStart);
 }
 private void InitializeComponent()
 {
     GrapeCity.ActiveReports.Chart.ChartArea        chartArea1 = new GrapeCity.ActiveReports.Chart.ChartArea();
     GrapeCity.ActiveReports.Chart.Axis             axis1      = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis2      = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis3      = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis4      = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis5      = new GrapeCity.ActiveReports.Chart.Axis();
     System.ComponentModel.ComponentResourceManager resources  = new System.ComponentModel.ComponentResourceManager(typeof(rpt3DPie));
     GrapeCity.ActiveReports.Chart.Legend           legend1    = new GrapeCity.ActiveReports.Chart.Legend();
     GrapeCity.ActiveReports.Chart.Title            title1     = new GrapeCity.ActiveReports.Chart.Title();
     GrapeCity.ActiveReports.Chart.Title            title2     = new GrapeCity.ActiveReports.Chart.Title();
     GrapeCity.ActiveReports.Chart.Series           series1    = new GrapeCity.ActiveReports.Chart.Series();
     GrapeCity.ActiveReports.Chart.Title            title3     = new GrapeCity.ActiveReports.Chart.Title();
     GrapeCity.ActiveReports.Chart.Title            title4     = new GrapeCity.ActiveReports.Chart.Title();
     this.ChartSalesCategories = new GrapeCity.ActiveReports.SectionReportModel.ChartControl();
     this.Detail = new GrapeCity.ActiveReports.SectionReportModel.Detail();
     // ChartSalesCategories
     this.ChartSalesCategories.AutoRefresh = true;
     this.ChartSalesCategories.Backdrop    = new GrapeCity.ActiveReports.Chart.BackdropItem(GrapeCity.ActiveReports.Chart.Graphics.GradientType.FromCenter, System.Drawing.Color.Honeydew, System.Drawing.Color.DarkGreen);
     axis1.Arrow         = GrapeCity.ActiveReports.Chart.ArrowType.Triangle;
     axis1.AxisType      = GrapeCity.ActiveReports.Chart.AxisType.Categorical;
     axis1.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis1.LabelsGap     = 0;
     axis1.LabelsVisible = false;
     axis1.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis1.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis1.Position      = 0D;
     axis1.TickOffset    = 0D;
     axis1.Title         = "Axis X";
     axis1.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis1.Visible       = false;
     axis2.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis2.LabelsGap     = 0;
     axis2.LabelsVisible = false;
     axis2.Line          = new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None);
     axis2.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis2.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis2.Position      = 0D;
     axis2.TickOffset    = 0D;
     axis2.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis2.Visible       = false;
     axis3.Arrow         = GrapeCity.ActiveReports.Chart.ArrowType.Triangle;
     axis3.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis3.LabelsGap     = 0;
     axis3.LabelsVisible = false;
     axis3.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis3.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis3.Position      = 0D;
     axis3.TickOffset    = 0D;
     axis3.Title         = "Axis Y";
     axis3.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F), -90F);
     axis3.Visible       = false;
     axis4.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis4.LabelsGap     = 0;
     axis4.LabelsVisible = false;
     axis4.Line          = new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None);
     axis4.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis4.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis4.Position      = 0D;
     axis4.TickOffset    = 0D;
     axis4.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis4.Visible       = false;
     axis5.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis5.LabelsGap     = 0;
     axis5.LabelsVisible = false;
     axis5.Line          = new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None);
     axis5.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis5.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis5.Position      = 0D;
     axis5.TickOffset    = 0D;
     axis5.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis5.Visible       = false;
     chartArea1.Axes.AddRange(new GrapeCity.ActiveReports.Chart.AxisBase[] {
         axis1,
         axis2,
         axis3,
         axis4,
         axis5
     });
     chartArea1.Backdrop    = new GrapeCity.ActiveReports.Chart.BackdropItem(GrapeCity.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.White, GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, GrapeCity.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched);
     chartArea1.Border      = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     chartArea1.Light       = new GrapeCity.ActiveReports.Chart.Light(new GrapeCity.ActiveReports.Chart.Graphics.Point3d(10F, 40F, 20F), GrapeCity.ActiveReports.Chart.LightType.InfiniteDirectional, 0.5F);
     chartArea1.Name        = "defaultArea";
     chartArea1.Projection  = new GrapeCity.ActiveReports.Chart.Projection(GrapeCity.ActiveReports.Chart.Graphics.ProjectionType.Orthogonal, 0F, 0F, 0F, 45F);
     chartArea1.WallXY      = new GrapeCity.ActiveReports.Chart.PlaneItem(new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(GrapeCity.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.White, GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, GrapeCity.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched), false, 0F);
     chartArea1.WallXZ      = new GrapeCity.ActiveReports.Chart.PlaneItem(new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(GrapeCity.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.White, GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, GrapeCity.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched), false, 0F);
     chartArea1.WallYZ      = new GrapeCity.ActiveReports.Chart.PlaneItem(new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(GrapeCity.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.White, GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, GrapeCity.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched), false, 0F);
     chartArea1.ZDepthRatio = 0.3F;
     this.ChartSalesCategories.ChartAreas.AddRange(new GrapeCity.ActiveReports.Chart.ChartArea[] {
         chartArea1
     });
     this.ChartSalesCategories.ChartBorder = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     resources.ApplyResources(this.ChartSalesCategories, "ChartSalesCategories");
     legend1.Alignment  = GrapeCity.ActiveReports.Chart.Alignment.Bottom;
     legend1.Backdrop   = new GrapeCity.ActiveReports.Chart.BackdropItem(System.Drawing.Color.White, ((byte)(30)));
     legend1.Border     = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Black, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     legend1.DockArea   = chartArea1;
     title1.Backdrop    = new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(GrapeCity.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.White, GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, GrapeCity.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched);
     title1.Border      = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     title1.DockArea    = null;
     title1.Font        = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     title1.Name        = "";
     title1.Text        = "";
     title1.Visible     = false;
     legend1.Footer     = title1;
     legend1.GridLayout = new GrapeCity.ActiveReports.Chart.GridLayout(0, 1);
     title2.Alignment   = GrapeCity.ActiveReports.Chart.Alignment.Top;
     title2.Backdrop    = new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.White, ((byte)(20)));
     title2.Border      = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.DarkGray, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.White);
     title2.DockArea    = null;
     title2.Font        = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.White, new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold));
     title2.Name        = "";
     title2.Text        = "Categories";
     legend1.Header     = title2;
     legend1.LabelsFont = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.White, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     legend1.Name       = "CategoryLegend";
     legend1.Visible    = false;
     this.ChartSalesCategories.Legends.AddRange(new GrapeCity.ActiveReports.Chart.Legend[] {
         legend1
     });
     this.ChartSalesCategories.Name = "ChartSalesCategories";
     series1.AntiAliasMode          = GrapeCity.ActiveReports.Chart.Graphics.AntiAliasMode.Both;
     series1.AxisX        = axis1;
     series1.AxisY        = axis3;
     series1.ChartArea    = chartArea1;
     series1.ColorPalette = GrapeCity.ActiveReports.Chart.ColorPalette.Default;
     series1.Legend       = legend1;
     series1.LegendText   = "Category Sales";
     series1.Name         = "Sales";
     series1.Properties   = new GrapeCity.ActiveReports.Chart.CustomProperties(new GrapeCity.ActiveReports.Chart.KeyValuePair[] {
         new GrapeCity.ActiveReports.Chart.KeyValuePair("BorderLine", new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.DimGray)),
         new GrapeCity.ActiveReports.Chart.KeyValuePair("ExplodeFactor", 0.15F),
         new GrapeCity.ActiveReports.Chart.KeyValuePair("HoleSize", 0F),
         new GrapeCity.ActiveReports.Chart.KeyValuePair("StartAngle", 1F),
         new GrapeCity.ActiveReports.Chart.KeyValuePair("Marker", new GrapeCity.ActiveReports.Chart.Marker(10, GrapeCity.ActiveReports.Chart.MarkerStyle.None, new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(), new GrapeCity.ActiveReports.Chart.Graphics.Line(), new GrapeCity.ActiveReports.Chart.LabelInfo(new GrapeCity.ActiveReports.Chart.Graphics.Line(), new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.MintCream, ((byte)(175))), new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.DarkGreen, new System.Drawing.Font("Arial", 10F)), "{Name}", GrapeCity.ActiveReports.Chart.Alignment.Bottom))),
         new GrapeCity.ActiveReports.Chart.KeyValuePair("Tooltip", new GrapeCity.ActiveReports.Chart.LabelInfo())
     });
     series1.Type          = GrapeCity.ActiveReports.Chart.ChartType.Doughnut3D;
     series1.ValueMembersY = "ProductSales";
     series1.ValueMemberX  = "CategoryName";
     this.ChartSalesCategories.Series.AddRange(new GrapeCity.ActiveReports.Chart.Series[] {
         series1
     });
     title3.Alignment     = GrapeCity.ActiveReports.Chart.Alignment.Center;
     title3.AntiAliasMode = GrapeCity.ActiveReports.Chart.Graphics.AntiAliasMode.None;
     title3.Backdrop      = new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.White, ((byte)(50)));
     title3.Border        = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     title3.DockArea      = chartArea1;
     title3.Font          = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.White, new System.Drawing.Font("Arial", 20F));
     title3.Name          = "header";
     title3.Text          = "Total sales of Pacific CSR by category";
     title4.Border        = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     title4.DockArea      = chartArea1;
     title4.Docking       = GrapeCity.ActiveReports.Chart.DockType.Bottom;
     title4.Font          = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     title4.Name          = "Title1";
     title4.Text          = "";
     this.ChartSalesCategories.Titles.AddRange(new GrapeCity.ActiveReports.Chart.Title[] {
         title3,
         title4
     });
     this.ChartSalesCategories.UIOptions = GrapeCity.ActiveReports.Chart.UIOptions.ForceHitTesting;
     // Detail
     this.Detail.ColumnSpacing = 0F;
     this.Detail.Controls.AddRange(new GrapeCity.ActiveReports.SectionReportModel.ARControl[] {
         this.ChartSalesCategories
     });
     this.Detail.Height = 5.3F;
     this.Detail.Name   = "Detail";
     // rpt3DPie
     this.MasterReport             = false;
     this.PageSettings.PaperHeight = 11F;
     this.PageSettings.PaperWidth  = 8.5F;
     this.PrintWidth = 6F;
     this.Sections.Add(this.Detail);
     this.StyleSheet.Add(new DDCssLib.StyleSheetRule("font-family: Arial; font-style: normal; text-decoration: none; font-weight: norma" +
                                                     "l; font-size: 10pt; color: Black; ddo-char-set: 186", "Normal"));
     this.ReportStart += new System.EventHandler(this.rpt3DPie_ReportStart);
 }
Exemple #7
0
 private void InitializeComponent()
 {
     GrapeCity.ActiveReports.Chart.ChartArea        chartArea1 = new GrapeCity.ActiveReports.Chart.ChartArea();
     GrapeCity.ActiveReports.Chart.Axis             axis1      = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis2      = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis3      = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis4      = new GrapeCity.ActiveReports.Chart.Axis();
     GrapeCity.ActiveReports.Chart.Axis             axis5      = new GrapeCity.ActiveReports.Chart.Axis();
     System.ComponentModel.ComponentResourceManager resources  = new System.ComponentModel.ComponentResourceManager(typeof(rptCandle));
     GrapeCity.ActiveReports.Chart.Legend           legend1    = new GrapeCity.ActiveReports.Chart.Legend();
     GrapeCity.ActiveReports.Chart.Title            title1     = new GrapeCity.ActiveReports.Chart.Title();
     GrapeCity.ActiveReports.Chart.Title            title2     = new GrapeCity.ActiveReports.Chart.Title();
     GrapeCity.ActiveReports.Chart.Series           series1    = new GrapeCity.ActiveReports.Chart.Series();
     GrapeCity.ActiveReports.Chart.Title            title3     = new GrapeCity.ActiveReports.Chart.Title();
     this.ChartControl = new GrapeCity.ActiveReports.SectionReportModel.ChartControl();
     this.Detail       = new GrapeCity.ActiveReports.SectionReportModel.Detail();
     // ChartControl
     this.ChartControl.AutoRefresh = true;
     this.ChartControl.Backdrop    = new GrapeCity.ActiveReports.Chart.BackdropItem(GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Color.White, System.Drawing.Color.SteelBlue);
     chartArea1.AntiAliasMode      = GrapeCity.ActiveReports.Chart.Graphics.AntiAliasMode.Graphics;
     axis1.AxisType      = GrapeCity.ActiveReports.Chart.AxisType.Categorical;
     axis1.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))));
     axis1.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 1D, 0F, false);
     axis1.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis1.SmartLabels   = false;
     axis2.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis2.LabelsGap     = 0;
     axis2.LabelsVisible = false;
     axis2.Line          = new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None);
     axis2.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis2.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis2.Position      = 0D;
     axis2.TickOffset    = 0D;
     axis2.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis2.Visible       = false;
     axis3.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Arial", 8F));
     axis3.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 10D, 0F, false);
     axis3.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis3.Position      = 0D;
     axis3.Title         = "(Thousands of Dollar)";
     axis3.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F), -90F);
     axis4.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis4.LabelsVisible = false;
     axis4.Line          = new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None);
     axis4.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis4.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis4.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis4.Visible       = false;
     axis5.LabelFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis5.LabelsGap     = 0;
     axis5.LabelsVisible = false;
     axis5.Line          = new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None);
     axis5.MajorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis5.MinorTick     = new GrapeCity.ActiveReports.Chart.Tick(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0D, 0F, false);
     axis5.Position      = 0D;
     axis5.TickOffset    = 0D;
     axis5.TitleFont     = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     axis5.Visible       = false;
     chartArea1.Axes.AddRange(new GrapeCity.ActiveReports.Chart.AxisBase[] {
         axis1,
         axis2,
         axis3,
         axis4,
         axis5
     });
     chartArea1.Backdrop   = new GrapeCity.ActiveReports.Chart.BackdropItem(GrapeCity.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.White, GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, GrapeCity.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched);
     chartArea1.Border     = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     chartArea1.Light      = new GrapeCity.ActiveReports.Chart.Light(new GrapeCity.ActiveReports.Chart.Graphics.Point3d(10F, 40F, 20F), GrapeCity.ActiveReports.Chart.LightType.InfiniteDirectional, 0.3F);
     chartArea1.Name       = "defaultArea";
     chartArea1.Projection = new GrapeCity.ActiveReports.Chart.Projection(GrapeCity.ActiveReports.Chart.Graphics.ProjectionType.Orthogonal, 0.1F, 0.1F);
     this.ChartControl.ChartAreas.AddRange(new GrapeCity.ActiveReports.Chart.ChartArea[] {
         chartArea1
     });
     this.ChartControl.ChartBorder = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     resources.ApplyResources(this.ChartControl, "ChartControl");
     legend1.Alignment  = GrapeCity.ActiveReports.Chart.Alignment.Right;
     legend1.Backdrop   = new GrapeCity.ActiveReports.Chart.BackdropItem(System.Drawing.Color.White, ((byte)(128)));
     legend1.Border     = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(), 0, System.Drawing.Color.Black);
     legend1.DockArea   = chartArea1;
     title1.Backdrop    = new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(GrapeCity.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.White, GrapeCity.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, GrapeCity.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched);
     title1.Border      = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     title1.DockArea    = null;
     title1.Font        = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     title1.Name        = "";
     title1.Text        = "";
     legend1.Footer     = title1;
     title2.Border      = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.White, 2), 0, System.Drawing.Color.Black);
     title2.DockArea    = null;
     title2.Font        = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     title2.Name        = "";
     title2.Text        = "Legend";
     legend1.Header     = title2;
     legend1.LabelsFont = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
     legend1.Name       = "defaultLegend";
     legend1.Visible    = false;
     this.ChartControl.Legends.AddRange(new GrapeCity.ActiveReports.Chart.Legend[] {
         legend1
     });
     this.ChartControl.Name = "ChartControl";
     series1.AxisX          = axis1;
     series1.AxisY          = axis3;
     series1.ChartArea      = chartArea1;
     series1.Legend         = legend1;
     series1.LegendText     = "";
     series1.Name           = "Series1";
     series1.Points.AddRange(new GrapeCity.ActiveReports.Chart.DataPoint[] {
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("99; 37; 53; 88"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("115; 22; 101; 35"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("87; 1; 7; 80"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("63; 14; 57; 25"), false),
         new GrapeCity.ActiveReports.Chart.DataPoint("", new GrapeCity.ActiveReports.Chart.DoubleArray("130; 25; 25; 120"), false)
     });
     series1.Properties = new GrapeCity.ActiveReports.Chart.CustomProperties(new GrapeCity.ActiveReports.Chart.KeyValuePair[] {
         new GrapeCity.ActiveReports.Chart.KeyValuePair("BodyDownswingBackdrop", new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.Fuchsia)),
         new GrapeCity.ActiveReports.Chart.KeyValuePair("BodyUpswingBackdrop", new GrapeCity.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.DarkViolet)),
         new GrapeCity.ActiveReports.Chart.KeyValuePair("WickLine", new GrapeCity.ActiveReports.Chart.Graphics.Line()),
         new GrapeCity.ActiveReports.Chart.KeyValuePair("BodyWidth", 10F)
     });
     series1.Type          = GrapeCity.ActiveReports.Chart.ChartType.Candle;
     series1.ValueMembersY = null;
     series1.ValueMemberX  = null;
     this.ChartControl.Series.AddRange(new GrapeCity.ActiveReports.Chart.Series[] {
         series1
     });
     title3.Alignment = GrapeCity.ActiveReports.Chart.Alignment.Center;
     title3.Border    = new GrapeCity.ActiveReports.Chart.Border(new GrapeCity.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, GrapeCity.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
     title3.DockArea  = null;
     title3.Font      = new GrapeCity.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Arial", 14F));
     title3.Name      = "header";
     title3.Text      = "Candle chart";
     this.ChartControl.Titles.AddRange(new GrapeCity.ActiveReports.Chart.Title[] {
         title3
     });
     // Detail
     this.Detail.ColumnSpacing = 0F;
     this.Detail.Controls.AddRange(new GrapeCity.ActiveReports.SectionReportModel.ARControl[] {
         this.ChartControl
     });
     this.Detail.Height = 3.799305F;
     this.Detail.Name   = "Detail";
     // rptCandle
     this.MasterReport             = false;
     this.PageSettings.PaperHeight = 11F;
     this.PageSettings.PaperWidth  = 8.5F;
     this.PrintWidth = 6F;
     this.Sections.Add(this.Detail);
     this.StyleSheet.Add(new DDCssLib.StyleSheetRule("font-family: Arial; font-style: normal; text-decoration: none; font-weight: norma" +
                                                     "l; font-size: 10pt; color: Black; ddo-char-set: 186", "Normal"));
     this.ReportStart += new System.EventHandler(this.rptCandle_ReportStart);
 }