Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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?

0
10 Posted

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?

0
10

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123