Page 1 of 1

Manipulating BarSeries with code

Posted: Fri Aug 26, 2016 10:45 am
by 16878466
Hello!
I'm quite neww to TeeChart and I'm having some trouble completing my work. I'm using XE2 and Barseries with a dataset from a return from SQL query.

I'm building a web application where I have a grid of data. I need to output the grid in a pdf with a chart below that is sorted by the same column as the grid. How do I target Series of a TChart and add the new dataset that I get from executng the query? I tried to get there by TDBchart.Series[0].Datasource but didn't find any normal property afterwards that would resemble the edit window if I double click on the chart.
Any help would be appreciated.

Thanks in advance and good day

Re: Manipulating BarSeries with code

Posted: Mon Aug 29, 2016 9:44 am
by yeray
Hello,

I'd suggest you to read the Tutorial 8 - Database access, from the online docs.