Arsip: Create Chart Series at runtime

 
user image
more 15 years ago

delphicode

hallo semua... klo Create Chart at runtime sih dah bisa cuma klo Create Chart Series at runtime msh error misal: thk b4
user image
more 15 years ago

n3o_cybertech

coba sekalian ditulis kode yang masih error tersebut...
user image
more 15 years ago

delphicode

user image
more 15 years ago

delphicode

sebenarnya tujuan utmanya bikin chart perbandingan jml qty per bulan seperti ini :
user image
more 15 years ago

elva_ivana

ikut nimbrung ah ... saya blm tahu data pastinya spt apa ... nih saya kasih gambarannya

procedure TForm1.Button1Click(Sender: TObject);
var
  i, j, kum: Integer;
  s, t: TBarSeries;
begin
  with Chart1 do
  begin
    // Title of the Chart
    Title.Text.Clear;
    Title.Text.Add('Ein Titel für den Chart');
    // Create first Series
    s := TBarSeries.Create(nil);
    // Clear it
    s.Clear;
    // set the title
    s.Title := 'Chart Linie 1';
    // determine the chart, this series belongs to
    s.ParentChart := Chart1;
    // the x-axis shall use date
    s.XValues.DateTime := True;
    // create the second Series
    t := TBarSeries.Create(nil);
    t.Clear;
    t.Title       := s.Title + ' kum';
    t.ParentChart := Chart1;
    t.XValues.DateTime := True;
    // this series uses the right axis
    t.VertAxis := aRightAxis;
    // now add the random values
    for i := 0 to 5 do
    begin
      j := Random(100);
      s.AddXY(Date + i, j);
      kum := kum + j;
      t.AddXY(Date + i, kum);
    end;
  end;
end;
user image
more 15 years ago

delphicode

sudah dicoba cara elva_ivana diatas .. tapi masih belum bisa cara pengelompokan data berdasarkan Barang bila kurang jelas gambarannya spt ini : hasilnya masih belum sesuai mohon sekali lagi rekan2 delphi-id tuk membantu .. thx b4
user image
more 15 years ago

delphicode

skrip di delphi
more ...
  • Pages:
  • 1
Share to

AI Forward

🚀 We're thrilled to partner with Alibaba Cloud for "AI Forward - Alibaba Cloud Global Developer Summit 2025" in Jakarta! Join us and explore the future of AI. Register now: https://int.alibabacloud.com/m/1000400772/
#AlibabaCloud #DeveloperSummit #Jakarta #AIFORWARD

Local Business Directory, Search Engine Submission & SEO Tools FreeWebSubmission.com SonicRun.com