Search found 12 matches

by Fab
Fri Oct 20, 2023 4:01 pm
Forum: VCL
Topic: TChartEditor and a lot of TDatasets
Replies: 3
Views: 16028

Re: TChartEditor and a lot of TDatasets

Hello, I'am sorry but : My Software is 8 millions of line code (with third party components), 600 forms and more than 40 datamodules where each can contain more than 50 Datasets. All connected to a Firebird database which contains 704 tables where some can containing 150 fields. I don't speak of hea...
by Fab
Wed Oct 18, 2023 1:18 pm
Forum: VCL
Topic: TChartEditor and a lot of TDatasets
Replies: 3
Views: 16028

TChartEditor and a lot of TDatasets

Hello, In my application I have hundred of Tdataset . Unfortunately in TchartEditor (=TchartEditor .execute) if you click in DataSource = Dataset it's can take a long time to display the list of Tdatasets . Does it exists a way to restrict this list ? For example I only want the local (in my current...
by Fab
Wed Oct 18, 2023 1:14 pm
Forum: VCL
Topic: I want to connect to a TDataset but my TdbChart it's display a single record !
Replies: 1
Views: 11621

Re: I want to connect to a TDataset but my TdbChart it's display a single record !

Ok I have understand my mistake.
It's if you connect DBChart1.Series[0].DataSource to a TDatasource component (connected to a Tdataset) !
Strangely in this case it display a "single record" ?!
by Fab
Wed Oct 18, 2023 12:35 pm
Forum: VCL
Topic: I want to connect to a TDataset but my TdbChart it's display a single record !
Replies: 1
Views: 11621

I want to connect to a TDataset but my TdbChart it's display a single record !

Hello, I would like to dynamically create a serie to connect to a dataset : query = select myfield,count(myfield) from XXX group by 1 The code is very simple : procedure TForm26.Button1Click(Sender: TObject); begin DBChart1.AddSeries(TPieSeries); DBChart1.Series[0].DataSource := Q_TABLEFX; DBChart1....
by Fab
Tue Jul 18, 2023 4:04 pm
Forum: VCL
Topic: SaveChartToXMLStream and LoadChartFromStream problem
Replies: 11
Views: 26639

Re: SaveChartToXMLStream and LoadChartFromStream problem

Hello Yeray, The latest version (v2023.38) adds SaveChartToString/LoadChartFromString Yes SaveChartToString and LoadChartFromString can do the trick. But these two methods seems to call SaveChartToStream/LoadChartFromStream, right ? I think that it's a bit more complicated for multiline properties l...
by Fab
Thu Jul 13, 2023 5:14 pm
Forum: VCL
Topic: SaveChartToXMLStream and LoadChartFromStream problem
Replies: 11
Views: 26639

Re: SaveChartToXMLStream and LoadChartFromStream problem

Hello Yeray,
I've added it to the public tracker (#2621).
Thank you !
by Fab
Wed Jul 12, 2023 7:05 am
Forum: VCL
Topic: List of unit (uses) for all kind of series
Replies: 3
Views: 15580

Re: List of unit (uses) for all kind of series

Hello Yeray, That I need it's not the "standard" chart. I'am looking for all the "Advanced" series unit form here : http://www.teechart.net/docs/teechart/vclfmx/lib/ To be available for end-user in the TchartEditor. Do you have a tips to find it or a list somewhere ? Does it correct if I add all the...
by Fab
Mon Jul 10, 2023 7:49 am
Forum: VCL
Topic: List of unit (uses) for all kind of series
Replies: 3
Views: 15580

List of unit (uses) for all kind of series

Hello,

I'am trying to add all kind of series available for my end-users using TChartEditor in runtime.
The unit list is here :
http://www.teechart.net/docs/teechart/vclfmx/lib/
But there is a lot of unit. Does it's exists a tip find the list of unit which are needed to uses all type of series ?
by Fab
Fri Jul 07, 2023 8:50 am
Forum: VCL
Topic: SaveChartToXMLStream and LoadChartFromStream problem
Replies: 11
Views: 26639

Re: SaveChartToXMLStream and LoadChartFromStream problem

Hello, Thank you for answer. LoadChartFromStream / SaveChartToStream are not far from what I want. I only need an event : OnSaveChartToSteam(APropertyName:String;ASaved:Boolean) to allow which property to save. Or better if you know Devexpress something like OnSetStoredPropertyValue/OnSetStoredPrope...
by Fab
Thu Jul 06, 2023 4:17 pm
Forum: VCL
Topic: SaveChartToXMLStream and LoadChartFromStream problem
Replies: 11
Views: 26639

Re: SaveChartToXMLStream and LoadChartFromStream problem

Hello, Thank you for answer. No it's not useable in my case because I don't see how to remove some properties and Events saved. Like in my sample, I don't want to save/restore : Align = alClient TabOrder = 0 OnDblClick = Chart1DblClick ExplicitWidth = 685 DefaultCanvas = 'TGDIPlusCanvas' ColorPalett...
by Fab
Thu Jul 06, 2023 9:16 am
Forum: VCL
Topic: SaveChartToXMLStream and LoadChartFromStream problem
Replies: 11
Views: 26639

Re: SaveChartToXMLStream and LoadChartFromStream problem

Hello, Thank you for answer. So it's a "visual" (all component state and all that it's content) saving with the events (OnDblClick etc.) saving. It's a problem to maintain and version changing or if you add event or change event name or modify a simple Tchart.align etc. Does it exists a way to save ...
by Fab
Wed Jul 05, 2023 8:53 am
Forum: VCL
Topic: SaveChartToXMLStream and LoadChartFromStream problem
Replies: 11
Views: 26639

SaveChartToXMLStream and LoadChartFromStream problem

Hello, I need to save and load Chart, customized by a end-user, to a Memo field dataset. So I need save a text the best way for maintenance/update/fix. I need XMl or INI or a plain text format. I have tried to use these methods : SaveChartToXMLStream procedure TForm1.BSaveClick(Sender: TObject); var...