Search found 15 matches

by den
Wed Aug 08, 2012 11:25 pm
Forum: VCL
Topic: Dynamic dbchart creation slow
Replies: 5
Views: 9283

Re: Dynamic dbchart creation slow

Yeray: After some 'light reading', I decided to dynamically create my dbcharts with no owners (ie dbchart.create(nil)) in Delphi. I then wrote code to destroy these components upon form.close. This speeded up the loading of the form from 50+ seconds to approx. 8 seconds. This is good enough! It is c...
by den
Thu Aug 02, 2012 9:01 pm
Forum: VCL
Topic: Dynamic dbchart creation slow
Replies: 5
Views: 9283

Re: Dynamic dbchart creation slow

Thanks so much Yeray, for your prompt reply. As it is a major project, and for expediency sake, is it OK that I include the procedure from my Delphi 2007 project that generates the charts - see below. (if this is too onnerous for you, please let me know. I will especially create a stand-alone applic...
by den
Thu Aug 02, 2012 1:00 am
Forum: VCL
Topic: Dynamic dbchart creation slow
Replies: 5
Views: 9283

Dynamic dbchart creation slow

I have an application that creates the required dbcharts on startup. However, this dynamic chart creation is very slow, and slows down expotentially with the number of charts. After doing some profiling, I discovered that the 'findnameloop' routine is called excessively, in order, I believe to creat...
by den
Mon Jul 02, 2012 10:04 pm
Forum: VCL
Topic: Refresh on Tchart doesn't work
Replies: 4
Views: 8881

Re: Refresh on Tchart doesn't work

Yeray: Thanks for your prompt reply to my posting. You are correct, I was causing an endless loop. I have found a correction for the problem though. I didn't know the best place (event) to calculate the dependant series. I now calculate the dependant series from the source series data right after th...
by den
Mon Jul 02, 2012 2:59 pm
Forum: VCL
Topic: Refresh on Tchart doesn't work
Replies: 4
Views: 8881

Re: Refresh on Tchart doesn't work

Further to my last post.... I guess what I need to know is when is the best 'time' to add data points to a series. As I have a series that is determined by the values of another (source) series, I am calculating the data points (with code) in the 'after draw' event of the source series. Is this the ...
by den
Mon Jul 02, 2012 2:01 pm
Forum: VCL
Topic: Refresh on Tchart doesn't work
Replies: 4
Views: 8881

Refresh on Tchart doesn't work

After deleting a data point in a series, and then trying to refresh the chart to update the axis and data points, etc., at the end of the procedure that deletes the data point, the chart will not refresh. If, however, I issue a refresh through another procedure, say a buttonclick, the chart will ref...
by den
Sat Jun 02, 2012 3:32 pm
Forum: VCL
Topic: Pivot Chart functionality with Tchart
Replies: 4
Views: 10691

Re: Pivot Chart functionality with Tchart

Tongone: Sorry for the delay in answering this - so busy it slipped my mind. In a nutshell, I had to create the repective charts dynamically (in Delphi) on the fly. I then dynamically added TDBCrossTabSources (again dynamically) to each chart and set their appropriate properties. Furthermore, the qu...
by den
Wed Dec 15, 2010 1:29 am
Forum: VCL
Topic: Class Tbarseries (...Tlineseries, etc) not found
Replies: 1
Views: 5084

Class Tbarseries (...Tlineseries, etc) not found

I recently installed TeeChartPro v8.07. I created a project in Delphi 2007 Pro using a DBChart component. It worked as expected (terrific I might add!). I then saved and closed the project and Delphi. After coming back to do some more work on the project, I restart Delphi and when I load the project...
by den
Wed Sep 15, 2010 6:01 pm
Forum: VCL
Topic: saving and loading of entire chart
Replies: 3
Views: 6922

Re: saving and loading of entire chart

Thanks, Yeray. I would imagine in order to do this now, one would have to: - store the tee template - iterate through the form components to see if a dbcrosstab component existed, was assigned a series and was active --> therefore a crosstab type chart - determine if the xvalues had "#" in them --> ...
by den
Tue Sep 14, 2010 12:46 pm
Forum: VCL
Topic: saving and loading of entire chart
Replies: 3
Views: 6922

saving and loading of entire chart

Is it possible to save and load, not only the chart 'template', but all information regarding the configuration of a chart? This would include what 'kind' of datasource (single record, dataset, summary, crosstab, etc.) and the name of the dataset (query1 or table1) along with the source of the apprp...
by den
Sat Sep 12, 2009 11:08 pm
Forum: VCL
Topic: Using Add Function with Crosstab series
Replies: 1
Views: 4048

Using Add Function with Crosstab series

Is it possible to have the add function "total" all of the series values from a crosstab 'series'.
The series I have is displayed as a stacked bar and I want the total to show as a line.

Thanks,

Cheers,

Dennis
by den
Mon Apr 07, 2008 12:23 pm
Forum: VCL
Topic: When is next update or release due?
Replies: 8
Views: 18772

Excellent! I will anxiously await!

Cheers,

Dennis
by den
Fri Apr 04, 2008 6:48 pm
Forum: VCL
Topic: When is next update or release due?
Replies: 8
Views: 18772

When is next update or release due?

I am wondering when we can expect the next 'update' or release to the Tchart VCL? There are two 'bugs' that have the potential to hold up my project deployment. 1. the inability to set the margins in print preview and 2. the fact that nulls in data series for stacked bar charts leave the latter seri...
by den
Fri Apr 04, 2008 6:43 pm
Forum: VCL
Topic: Pivot Chart functionality with Tchart
Replies: 4
Views: 10691

Thanks Pep, but the TDBCrossTabSource component will not work in this case. (The legend and the colours have to be shared across all of the charts and the chart axes have to have the same y min/max values). For those interested, I have 'developed' a solution to this problem. Be warned, however, that...
by den
Thu Feb 07, 2008 12:46 am
Forum: VCL
Topic: Pivot Chart functionality with Tchart
Replies: 4
Views: 10691

Pivot Chart functionality with Tchart

Has anyone been able to use Tchart to create similar functionality as PivotChart in MSAccess? Would anyone have any suggestions as how to? I am trying to summarize data in a stacked bar series with multiple charts using the same data with each chart using a separate group of the data. I want to be a...