object F_chart: TF_chart
  Left = 37
  Top = 50
  Width = 743
  Height = 543
  Caption = 'Mini Curso DBChart'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  Scaled = False
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object Label1: TLabel
    Left = 288
    Top = 24
    Width = 46
    Height = 13
    Caption = 'Campo X:'
  end
  object Label2: TLabel
    Left = 16
    Top = 8
    Width = 68
    Height = 13
    Caption = 'Instru'#231#227'o SQL'
  end
  object Label3: TLabel
    Left = 288
    Top = 88
    Width = 46
    Height = 13
    Caption = 'Campo Y:'
  end
  object Image1: TImage
    Left = 440
    Top = 16
    Width = 280
    Height = 72
    AutoSize = True
    Picture.Data = {
      [encoded data, 61952 characters]
      FE95FFD9}
  end
  object Label4: TLabel
    Left = 488
    Top = 96
    Width = 183
    Height = 24
    Caption = 'Mini Curso DBChart'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -19
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object DBGrid1: TDBGrid
    Left = 16
    Top = 192
    Width = 177
    Height = 185
    DataSource = DataSource1
    TabOrder = 0
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
  end
  object Memo1: TMemo
    Left = 16
    Top = 24
    Width = 257
    Height = 113
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    Lines.Strings = (
      'select datavenda,sum(valorvenda) '
      'as valorvenda'
      'from cvenda'
      'where datavenda is not null'
      'group by datavenda')
    ParentFont = False
    TabOrder = 1
  end
  object Edit1: TEdit
    Left = 288
    Top = 40
    Width = 121
    Height = 21
    TabOrder = 2
    Text = 'datavenda'
  end
  object Edit2: TEdit
    Left = 288
    Top = 104
    Width = 121
    Height = 21
    TabOrder = 3
    Text = 'valorvenda'
  end
  object DBGrid2: TDBGrid
    Left = 248
    Top = 392
    Width = 473
    Height = 97
    DataSource = DataSource2
    TabOrder = 4
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
  end
  object ListBox1: TListBox
    Left = 16
    Top = 392
    Width = 225
    Height = 97
    ItemHeight = 13
    TabOrder = 5
    OnDblClick = ListBox1DblClick
  end
  object DBChart1: TDBChart
    Left = 208
    Top = 160
    Width = 513
    Height = 226
    BackWall.Brush.Color = clWhite
    BackWall.Brush.Style = bsClear
    Title.Text.Strings = (
      'TDBChart')
    TabOrder = 6
    object Series1: TLineSeries
      Marks.ArrowLength = 8
      Marks.Visible = False
      DataSource = Query1
      SeriesColor = clRed
      Pointer.InflateMargins = True
      Pointer.Style = psRectangle
      Pointer.Visible = False
      XValues.DateTime = False
      XValues.Name = 'X'
      XValues.Multiplier = 1.000000000000000000
      XValues.Order = loAscending
      YValues.DateTime = False
      YValues.Name = 'Y'
      YValues.Multiplier = 1.000000000000000000
      YValues.Order = loNone
    end
  end
  object BitBtn1: TBitBtn
    Left = 16
    Top = 148
    Width = 177
    Height = 33
    Caption = 'Executa Instru'#231#227'o e Cria Gr'#225'fico'
    TabOrder = 7
    OnClick = BitBtn1Click
  end
  object Button1: TButton
    Left = 448
    Top = 128
    Width = 75
    Height = 25
    Caption = 'Button1'
    TabOrder = 8
    OnClick = Button1Click
  end
  object Query1: TQuery
    Active = True
    DatabaseName = 'Dados'
    SQL.Strings = (
      'select datavenda,sum(valorvenda) as valorvenda'
      'from cvenda'
      'where datavenda is not null'
      'group by datavenda')
    Left = 16
    Top = 384
  end
  object DataSource1: TDataSource
    DataSet = Query1
    Left = 16
    Top = 432
  end
  object Table1: TTable
    DatabaseName = 'Dados'
    Left = 392
    Top = 456
  end
  object DataSource2: TDataSource
    DataSet = Table1
    Left = 392
    Top = 456
  end
end
