Manipulating BarSeries with code

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
mjaksa
Newbie
Newbie
Posts: 2
Joined: Fri Jun 03, 2016 12:00 am

Manipulating BarSeries with code

Post by mjaksa » Fri Aug 26, 2016 10:45 am

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

Yeray
Site Admin
Site Admin
Posts: 9514
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Manipulating BarSeries with code

Post by Yeray » Mon Aug 29, 2016 9:44 am

Hello,

I'd suggest you to read the Tutorial 8 - Database access, from the online docs.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply