Пример #1
0
 public Pane(string name, ChartControl owner)
 {
     Name      = name;
     Owner     = owner;
     paneFrame = new PaneFrame(this);
     yAxis     = new YAxis(this);
     series    = new SeriesCollection(this);
     ResetWorldRect(false);
 }
Пример #2
0
 public Pane(string name, ChartControl owner)
 {
     Name = name;
     Owner = owner;
     paneFrame = new PaneFrame(this);
     yAxis = new YAxis(this);
     series = new SeriesCollection(this);
     ResetWorldRect(false);
 }
Пример #3
0
        internal override void Draw(Graphics g)
        {
            PaneFrame.TitleBoxVisible = false;
            PaneFrame.CanResize       = false;
            PaneFrame.Draw(g);
            GraphicsContainer container = g.BeginContainer();

            g.TranslateTransform(ClientRect.X, ClientRect.Y);
            DrawXAxis(g);
            g.EndContainer(container);
        }
Пример #4
0
 public Pane(string name, ChartControl owner, string backgroundImageName)
 {
     Name = name;
     Owner = owner;
     paneFrame = new PaneFrame(this);
     yAxis = new YAxis(this);
     series = new SeriesCollection(this);
     ResetWorldRect(false);
     BackgroundImageResourceName = backgroundImageName;
     if (!string.IsNullOrEmpty(BackgroundImageResourceName))
         LoadBackImage(backgroundImageName);
 }
Пример #5
0
 public Pane(string name, ChartControl owner, string backgroundImageName)
 {
     Name      = name;
     Owner     = owner;
     paneFrame = new PaneFrame(this);
     yAxis     = new YAxis(this);
     series    = new SeriesCollection(this);
     ResetWorldRect(false);
     BackgroundImageResourceName = backgroundImageName;
     if (!string.IsNullOrEmpty(BackgroundImageResourceName))
     {
         LoadBackImage(backgroundImageName);
     }
 }
Пример #6
0
 private void DrawFrame(Graphics g)
 {
     PaneFrame.Draw(g);
 }