Getting stacked bars to work
Posted: Thu Jul 04, 2019 12:05 am
Hi,
I need some help to do the following:
Right now, I have a pie chart that shows products being registered on a database table in real time, it is interesting as it evolves rapidly and clearly shows the preference for some products over others. But this chart is cumulative from the start date-time until the current date-time. It does not show what happens on each hour, so for this detail I have another Stack-Bar that groups the products being registered on the same database table in a hour-by-hour basis, however it is not currently differentiating products at the bar level, that is, it only shows one color with the count of the products by each hour.
How could I have a stacked bar that shows the different products by each hour (each one with a different color, basically)? Is it possible to do that at design time or must it be done at runtime creating multiple series? How would a minimal C++ Builder Stacked Bar example look like?
Best regards,
PCSdeZ
I need some help to do the following:
Right now, I have a pie chart that shows products being registered on a database table in real time, it is interesting as it evolves rapidly and clearly shows the preference for some products over others. But this chart is cumulative from the start date-time until the current date-time. It does not show what happens on each hour, so for this detail I have another Stack-Bar that groups the products being registered on the same database table in a hour-by-hour basis, however it is not currently differentiating products at the bar level, that is, it only shows one color with the count of the products by each hour.
How could I have a stacked bar that shows the different products by each hour (each one with a different color, basically)? Is it possible to do that at design time or must it be done at runtime creating multiple series? How would a minimal C++ Builder Stacked Bar example look like?
Best regards,
PCSdeZ