Arsip: Create Chart Series at runtime
more 16 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
thk b4
more 16 years ago
delphicode
sebenarnya tujuan utmanya bikin chart perbandingan jml qty per bulan
seperti ini :


more 16 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;
more 16 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
hasilnya masih belum sesuai
mohon sekali lagi rekan2 delphi-id tuk membantu ..
thx b4more ...
- Pages:
- 1
reply |
Report Obsolete
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
Last Articles
Last Topic
- PascalTalk #6: (Podcast) Kuliah IT di luar negeri, susah gak sih?
by LuriDarmawan in Tutorial & Community Project more 5 years ago - PascalTalk #5: UX: Research, Design and Engineer
by LuriDarmawan in Tutorial & Community Project more 5 years ago - PascalTalk #4: Obrolan Ringan Seputar IT
by LuriDarmawan in Tutorial & Community Project more 5 years ago - PascalTalk #2: Membuat Sendiri SMART HOME
by LuriDarmawan in Tutorial & Community Project more 5 years ago - PascalTalk #3: RADically Fast and Easy Mobile Apps Development with Delphi
by LuriDarmawan in Tutorial & Community Project more 5 years ago - PascalTalk #1: Pemanfaatan Artificial Intelligence di Masa Covid-19
by LuriDarmawan in Tutorial & Community Project more 5 years ago - Tempat Latihan Posting
by LuriDarmawan in OOT more 5 years ago - Archive
- Looping lagi...
by idhiel in Hal umum tentang Pascal Indonesia more 13 years ago - [ask] koneksi ke ODBC user Dsn saat runtime dengan ado
by halimanh in FireBird more 13 years ago - Validasi menggunakan data tanggal
by mas_kofa in Hal umum tentang Pascal Indonesia more 13 years ago
Random Topic
- exception handling
by her1z_yu2n in Hal umum tentang Pascal Indonesia more 18 years ago - [HELP] delphi 7 decompiler
by simba in Enginering more 18 years ago - Tolong donk.....Masalah image neh..
by willbrig in Tip n Trik Pemrograman more 18 years ago - Cari j2sdk1.4.2_10 ?
by umarbakri in Hal umum tentang Pascal Indonesia more 18 years ago - Menu Dan Submenu DiLoad Dari Database
by ganang in Tip n Trik Pemrograman more 17 years ago - Fleksibel exe file.
by Cip_rud in Tip n Trik Pemrograman more 17 years ago - [ask] gimana caranya: 1 Aplikasi hanya boleh running di 1 PC
by faisal801m in Tip n Trik Pemrograman more 14 years ago - Tanya cek Service
by EkoIndri in Tip n Trik Pemrograman more 18 years ago - DATABASE error: NULL type <> STRING type
by nnd_ms in Hal umum tentang Pascal Indonesia more 19 years ago - Tanya Enkripsi selain file .txt
by pooh_lover in MsSQL more 18 years ago


