Search found 16 matches

by PastorMic
Thu Sep 21, 2017 12:35 am
Forum: FMX
Topic: Setup charts at runtime...
Replies: 6
Views: 25294

Re: Setup charts at runtime...

Yeray,

Found the issue, and I'm a bit embarrassed. Sorry! I had used...

Code: Select all

    Series1.XValues.ValueSource := 'COUNT of ALL';
instead of Series1.YValues (etc). That did the trick. I think I'm good for now. Thanks for your patient help.

John.
by PastorMic
Wed Sep 20, 2017 5:46 pm
Forum: FMX
Topic: Setup charts at runtime...
Replies: 6
Views: 25294

Re: Setup charts at runtime...

Yeray, Man, I'm still mystified! Here's my code now: procedure TChartTestForm.Button1Click(Sender: TObject); Var Series1 : TPieSeries; begin Series1 := GenderChart.AddSeries(TPieSeries.Create(Self)) as TPieSeries; Series1.DataSource := Q; Series1.XLabelsSource := 'Gender'; Series1.XValues.ValueSourc...
by PastorMic
Tue Sep 19, 2017 1:50 pm
Forum: FMX
Topic: Setup charts at runtime...
Replies: 6
Views: 25294

Re: Setup charts at runtime...

Yeray, Thanks for trying to help me. Here's what I tried: procedure TChartTestForm.Button1Click(Sender: TObject); Var Series1 : TPieSeries; begin Q.Active := True; With Chart2 do begin Series1 := AddSeries(TPieSeries.Create(Self)) as TPieSeries; Series1.DataSource := Q; Series1.XLabelsSource := 'Gen...
by PastorMic
Tue Sep 19, 2017 1:31 am
Forum: FMX
Topic: Setup charts at runtime...
Replies: 6
Views: 25294

Setup charts at runtime...

Hi Yeray, I've solved now (thanks to your help) all the issues I had with porting my app from VCL to FMX using TeeChart standard. Now I'm moving on to adding some new features in my app that make better use of TeeChart (I know my users will really like this). But I'm having trouble knowing how to ho...
by PastorMic
Wed Sep 13, 2017 3:18 pm
Forum: FMX
Topic: Error Message when loading units
Replies: 3
Views: 14181

Re: Error Message when loading units

Thanks, Yeray, that fixed it. I use FastReports, and was able to uncheck their two TeeChart packages, and now the forms load without the error. I don't use charts with FastReports anyway.
by PastorMic
Tue Sep 12, 2017 7:53 pm
Forum: FMX
Topic: Error Message when loading units
Replies: 3
Views: 14181

Error Message when loading units

Since installing TeeChart Standard, I've had an issue with a particular error message popping up when I'm trying to load some of my app's units/forms. The strange thing is that the ones that this happens with do not have any TeeChart components on the form, nor are there any TeeChart units defined i...
by PastorMic
Tue Sep 12, 2017 7:50 pm
Forum: FMX
Topic: Printing Pie Chart issue in FMX
Replies: 4
Views: 16732

Re: Printing Pie Chart issue in FMX

Yeray,

Never mind. I found it. Thanks.
by PastorMic
Tue Sep 12, 2017 4:18 pm
Forum: FMX
Topic: Printing Pie Chart issue in FMX
Replies: 4
Views: 16732

Re: Printing Pie Chart issue in FMX

Yeray,

Just to make sure here - I'm using FMX here, not VCL.
by PastorMic
Tue Sep 12, 2017 4:08 pm
Forum: FMX
Topic: Printing Pie Chart issue in FMX
Replies: 4
Views: 16732

Re: Printing Pie Chart issue in FMX

Yeray,

Thanks for the info - but where do I get the unit the TeePreviewPanel unit? I tried adding that to my Uses clause in my form, but it doesn't find it. I have TeeChart Standard.

Thanks for your help.
by PastorMic
Fri Sep 08, 2017 6:57 pm
Forum: FMX
Topic: Printing Pie Chart issue in FMX
Replies: 4
Views: 16732

Printing Pie Chart issue in FMX

Hi, Still adjusting to the differences between the VCL and FMX versions. Now the issue is printing. I'm attaching two files below. The first is how the chart looks within the FMX app. Everything is fine with it. The second file is a PDF showing how it prints. Note that the title is tiny, the legend ...
by PastorMic
Thu Aug 31, 2017 7:34 pm
Forum: FMX
Topic: One More FMX vs VCL Chart Help
Replies: 2
Views: 12738

Re: One More FMX vs VCL Chart Help

Oops - sorry, I uploaded the wrong file. Here's the correct FMX file that shows the labels without the dollar signs that I referenced above.

John
by PastorMic
Thu Aug 31, 2017 7:30 pm
Forum: FMX
Topic: One More FMX vs VCL Chart Help
Replies: 2
Views: 12738

One More FMX vs VCL Chart Help

Hi, I am stuck on the labels with the pie and also on the legend. Below are two screen grabs - one from the VCL version which shows it as I need to show it. The other is from the FMX version that is incorrect. I can't see any difference in the properties between the two versions. FMX just does thing...
by PastorMic
Thu Aug 31, 2017 2:40 pm
Forum: FMX
Topic: Help with Datasource property setting vs VCL
Replies: 2
Views: 12301

Re: Help with Datasource property setting vs VCL

Perfect! Thanks so much!
by PastorMic
Tue Aug 29, 2017 8:03 pm
Forum: FMX
Topic: Help with Datasource property setting vs VCL
Replies: 2
Views: 12301

Help with Datasource property setting vs VCL

Hi, I will upload two screen grabs to illustrate my issue. I have built a dialog in both VCL and FMX versions (Berlin 10.1) using TDBChart. As far as I can tell, I've set the properties the same in the Series 1 Datasource page. The Labels and Pie drop-downs show the same thing in both platforms. But...
by PastorMic
Tue Aug 29, 2017 7:58 pm
Forum: FMX
Topic: Pie Chart Size Adjustment?
Replies: 2
Views: 12616

Re: Pie Chart Size Adjustment?

Ok, I found that the issue was related to the size of the labels that describe the pie chart itself. If the label is shorter, the chart size increased. Still wish there was a way to manually set this because even so the chart could be larger within the space of the component's panel.