Automaticly create series from a dataset (DXE2)
Posted: Mon Mar 26, 2012 2:44 pm
I have a dataset with the fields: supplier(id), historydate and price. I want a chart that displays all the suppliers (in diffirent color) for that article, with the price of that article (Y) and that show these for the past year (Labels).
What's the best/fastest way to automaticly/dynamicly create the series (one for each supplier, suppliers depend from article to article) from one dataset? Can this be done with LiveBindings? Or is there another way?
I'm using Delphi XE2 and I use the TeeChart Standard v2011.03.32815 32bit VCL.
What's the best/fastest way to automaticly/dynamicly create the series (one for each supplier, suppliers depend from article to article) from one dataset? Can this be done with LiveBindings? Or is there another way?
I'm using Delphi XE2 and I use the TeeChart Standard v2011.03.32815 32bit VCL.