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


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



more ...
- 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
- Aplikasi Apotik
by andip70 in Hal umum tentang Pascal Indonesia more 18 years ago - Cara Distribusi file aplikasi yg menggunakan komp. dbexpress
by ivan in Hal umum tentang Pascal Indonesia more 18 years ago - Trigger FIFO di Mysql
by elektra_3328 in MySQL more 14 years ago - Kemampuan MySql
by lela in MySQL more 19 years ago - From Junior Delphiers to Newbie
by mambamaestro in Free dan Gratis more 14 years ago - helppp.... plisss
by nyophy in Posting Tidak Sesuai more 17 years ago - Rp 200.000 = dua ratus ribu rupiah
by Theo_razor in Hal umum tentang Pascal Indonesia more 18 years ago - Ada yang pernah coba Zeos + SQLite3 + Delphi 2010?
by mambamaestro in Hal umum tentang Pascal Indonesia more 14 years ago - Tanya Macro Delphi donk......
by fissas in Hal umum tentang Pascal Indonesia more 17 years ago - nama komponen dijadiin nama komponen yg laen??
by imunk in Tip n Trik Pemrograman more 19 years ago