想用一下Dbchart,可看了半天都不知道怎么搞,看demo中的例子还是没头绪……
请大家指点一下,有哪些属性和方法很用要
假如有几个整型变量 a,b,c,d:integer;
怎么在Dbchart中显示出来,先从实例中学习!!

解决方案 »

  1.   

    - Place a TTable component and point it to the "DBDEMOS" database and the "ANIMALS.DBF" dBase table.
    - Place a TDatasource component and set its DataSet property to Table1.
    - Place a TDBGrid and set the DataSource property to DataSource1. - Set the Table1.Active property to TRUE to see the Grid filled with table data.
    - Place a TDBChart component onto a Form.
    - Select and install a Pie Series as described in section The Chart Editor.
    - Go to the Series page of the Chart editor by either double-clicking on the Series name, highlighting the Series and selecting Edit, or by selecting the Series tab.
    - Select your Series from the Series listbox and go to the datasource tab.From the listbox select your data source type.
    There are 4 types of data source available. The DataSource style is a  component property that may be one of the following:
    No data :if  points are being added programmatically (at source code).
    or...
    Random values:draw your Chart Series with random values.
    已经说的很清楚了啊  自己看看吧