I would need to create bars from the recordset too, but the control handles the rs just for the items. Is there a way to tell the control how to read a recordset?
Indeed the recordset being passed to the DataSource property fills the items area only, letting the chart area empty. This is not a limitation and lets you several ways to fill the chart area by code using the AddItem event . The AddItem event notifies your application once a new item has been added to the Items collection. When calling the DataSource property the recordset is being parsed, and once a new record is found in the table a new item is added to the Items collection, so the AddItem event is fired. More than that during the AddItem event the current record in the recordset indicates the item being filled.
Related Questions
- I would need to create bars from the recordset too, but the control handles the rs just for the items. Is there a way to tell the control how to read a recordset?
- Can I use Blu Frog graphics to create my own promotional items such as t-shirts, buttons, poster, signs, etc?
- Can you create a tabletype of recordset in Jet - connected ODBC database engine?