Arsip: Create Chart Series at runtime

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


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



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;

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



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 4 years ago - PascalTalk #5: UX: Research, Design and Engineer
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #4: Obrolan Ringan Seputar IT
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #2: Membuat Sendiri SMART HOME
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #3: RADically Fast and Easy Mobile Apps Development with Delphi
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #1: Pemanfaatan Artificial Intelligence di Masa Covid-19
by LuriDarmawan in Tutorial & Community Project more 4 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 12 years ago - [ask] koneksi ke ODBC user Dsn saat runtime dengan ado
by halimanh in FireBird more 12 years ago - Validasi menggunakan data tanggal
by mas_kofa in Hal umum tentang Pascal Indonesia more 12 years ago
Random Topic
- Listview & Error Handle
by ayocool in Hal umum tentang Pascal Indonesia more 19 years ago - Convert MemoryStream ke Stream n sebaliknya..?
by madi in Tip n Trik Pemrograman more 16 years ago - Koneksi Client to ke Server using Interbase....newbie
by cheetoozz in Hal umum tentang Pascal Indonesia more 18 years ago - Delphi-id.Org Bangkit Lagi (?)
by LuriDarmawan in Hal umum tentang Pascal Indonesia more 16 years ago - Epson LQ1150 custom paper size
by _lmz in Network, Files, I/O & System more 15 years ago - query tanggal di firebird
by madi in FireBird more 16 years ago - Emulator untuk Windows Mobile?
by ZeAL in Hal umum tentang Pascal Indonesia more 19 years ago - ODBC via Winxp VS Win2000
by e_soep in Network, Files, I/O & System more 17 years ago - How To Baca Text di Yahoo Massenger
by bagusprasojo in Tip n Trik Pemrograman more 17 years ago - SQL Query
by zones in MsSQL more 17 years ago