Page 1 of 1

Automaticly create series from a dataset (DXE2)

Posted: Mon Mar 26, 2012 2:44 pm
by 16561201
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.

Re: Automaticly create series from a dataset (DXE2)

Posted: Mon Mar 26, 2012 2:56 pm
by narcis
Hi gpraet,

The best option here probably is DBCrossTabe source. It's only included with TeeChart Pro versions though. You can download the fully functional evaluation version here. It includes tutorials and examples about this feature. You'll find differences between TeeChart versions here.