GRAPH BITMAP
Draw Graph in Bitmap Memory

 

 

 

 

GRAPH BITMAP PIE ;

               SIZE        <nWidth>, <nHeight> ;

               SERIEVALUES <aSerieValues> ;

               SERIENAMES  <aSerieNames> ;

               SERIECOLORS <aSerieColors> ;

               TITLE       <cTitle> ;

               TITLECOLOR  <aTitleColor>;

               DEPTH       <nDepth> ;

               3DVIEW      <l3DView> ;

               SHOWXVALUES <lShowXValues> ;

               SHOWLEGENDS <lShowLegends> ;

               NOBORDER    <lNoBorder> ;

               STOREIN     <hBitmapVar>

 

 

 

GRAPH BITMAP BARS|LINES|POINTS ;

               SIZE        <nWidth>, <nHeight> ;

               SERIEVALUES <aSerieValues> ;

               SERIENAMES  <aSerieNames> ;

               SERIECOLORS <aSerieColors> ;

               SERIEYNAMES <aSerieYNames> ;

               PICTURE     <cPicture> ;

               TITLE       <cTitle> ;

               TITLECOLOR  <aTitleColor> ;

               HVALUES     <nHValues> ;

               BARDEPTH    <nBarDepth> ;

               BARWIDTH    <nBarWidth> ;

               SEPARATION  <nSeparation> ;

               LEGENDWIDTH <nLegendWindth> ;

               3DVIEW      <l3DView> ;

               SHOWGRID    <lShowGrid> ;

               SHOWXGRID   <lShowXGrid> ;

               SHOWYGRID   <lShowYGrid> ;

               SHOWVALUES  <lShowValues> ;

               SHOWXVALUES <lShowXValues> ;

               SHOWYVALUES <lShowYValues> ;

               SHOWLEGENDS <lShowLegends> ;

               NOBORDER    <lNoBorder> ;

               STOREIN     <hBitmapVar>

 

 

Note:

 

- Assign a bitmap to an image control, e.g.: Form_1.Image_1.HBITMAP := hBitmapVar

 

- Save a bitmap to disk, e.g.: BT_BitmapSaveFile( hBitmapVar, "Graph.PNG", BT_FILEFORMAT_PNG )

 

- See demo \SAMPLES\Controls\Graph\GRAPH_Bitmap