1 / 16

Animasi

Animasi. Membuat chart animasi. Tampilan Form. Klik 2x pada DBChart1. Klik Add. Klik pada icon Line dan klik OK. Beri nama series dengan cara mengklik Title, beri nama Jakarta Ulangai kembali dan tambahkan kota:Bandung, Yogya, Medan.

yen
Télécharger la présentation

Animasi

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Animasi

  2. Membuat chart animasi

  3. Tampilan Form

  4. Klik 2x pada DBChart1

  5. Klik Add

  6. Klik pada icon Line dan klik OK

  7. Beri nama series dengan cara mengklik Title, beri nama Jakarta • Ulangai kembali dan tambahkan kota:Bandung, Yogya, Medan

  8. Klik pada PageControl Axis, sehingga muncul tampilan seperti dibwah

  9. Klik Title

  10. Klik radio buttom

  11. Klik pada PageControl Titles

  12. Double klik pada timer masukan kode berikut procedure TForm1.Timer1Timer(Sender: TObject); Var i: longint; tmp: double; begin with DBChart1 do begin for i := 0 to seriescount-1 do with Series[i] do begin tmp := xvalues[1] - xvalues[0]; delete(0); addxy(xvalues.Last+tmp,YValues.Last+random(100)-50,'',clteecolor); end; repaint end;

  13. Klik 1xpada halaman form, lalu klik sekali pada ControlEvents. Ketik FormActivate pada OnActivate tekan Enter

  14. Masukan kode dibwah ini procedure TForm1.FormActivate(Sender: TObject); var i,j : integer; begin with DBChart1 do for i := 0 to SeriesCount-1 do for j := 1 to 15 do series[i].AddXY(j,random(5),'',clteecolor); end;

  15. Masukan kode dibwah ini procedure TForm1.FormActivate(Sender: TObject); var i,j : integer; begin with DBChart1 do for i := 0 to SeriesCount-1 do for j := 1 to 15 do series[i].AddXY(j,random(5),'',clteecolor); end;

More Related