Search found 70 matches

by realsol
Fri Jun 02, 2017 6:21 am
Forum: FMX
Topic: BarChart Side by Side
Replies: 13
Views: 29316

Re: BarChart Side by Side

Also, please see my earlier post where it was supposed to be addressed: http://www.teechart.net/support/viewtop ... 17&t=16485. In that post the did address the 'Other Slice' in the pie chart, but no word no the bar chart fix. ..
by realsol
Thu Jun 01, 2017 2:39 pm
Forum: FMX
Topic: BarChart Side by Side
Replies: 13
Views: 29316

Re: BarChart Side by Side

Hello realsol, To do as Series are drawn side by side, you need active the BarStack propierty Side by Side. The code below shows you how can do it: var Series1,Series2,Series3,Series4: TBarSeries; procedure TForm1.FormCreate(Sender: TObject); begin Series1.MultiBar := mbSide; end; Hoping this helps...
by realsol
Wed May 31, 2017 7:05 pm
Forum: FMX
Topic: BarChart Side by Side
Replies: 13
Views: 29316

BarChart Side by Side

How can I keep this chart from overlapping each other? I have them set on the series to display side by side. See attached.

Thanks.
by realsol
Wed May 03, 2017 6:54 pm
Forum: FMX
Topic: Creating a 4 Series bar chart
Replies: 4
Views: 15642

Re: Creating a 4 Series bar chart

This is what I am doing now and getting ready to add 2 more series for a comparison to last year. So I want to end up with Income/Expenses bars for this year and 2 bars representing last year for comparison. Here is my code for the 2 chart method: for i := 1 to 2 do Begin if i = 1 then TopQuery := B...
by realsol
Wed May 03, 2017 6:33 pm
Forum: FMX
Topic: Creating a 4 Series bar chart
Replies: 4
Views: 15642

Re: Creating a 4 Series bar chart

I want to do what you showed in your first code example. I want to use one Query for each series in a bar chart with 4 bars displaying by month. Each bar represents 1 of 4 values included in the 'Category Type' datafield. But if I am using one Query, how does series1 still hold the correct value if ...
by realsol
Tue May 02, 2017 7:22 pm
Forum: FMX
Topic: Creating a 4 Series bar chart
Replies: 4
Views: 15642

Creating a 4 Series bar chart

Right now I am creating a chart showing up to 4 category types (income, expense, equity and other). As of now, I am looping the same code using four different TQueries in a for-do loop. The only difference between each SQL statement is whether the transaction belongs to one of the four series or 'ca...
by realsol
Mon Apr 03, 2017 3:39 pm
Forum: FMX
Topic: Auto Other Slice
Replies: 1
Views: 7959

Auto Other Slice

I don't care about displaying an other slice in my pie chart unless it isn't currently being displayed in the legend. Is there some way to have the Other Slice automatically create itself, but only if all categories don't fit in the legend? Thanks.
by realsol
Mon Apr 03, 2017 3:31 pm
Forum: FMX
Topic: Incorrect Legend totals
Replies: 1
Views: 7890

Incorrect Legend totals

I have a two series bar chart that displays Income and Expenses. I was given some code (i think on another ticket) that calculated my two series for the legend. But now, it only works when Income or Income and Expenses are displayed, but not when income is displayed by itself. Here is the code I am ...
by realsol
Thu Mar 23, 2017 6:06 pm
Forum: FMX
Topic: Prgramically checking/unchecking items in a legend
Replies: 2
Views: 9525

Re: Prgramically checking/unchecking items in a legend

I guess I was just going way off the farm on this one. Had no Idea just to make the Series.Active to false. Thanks.
by realsol
Wed Mar 22, 2017 6:29 pm
Forum: FMX
Topic: Prgramically checking/unchecking items in a legend
Replies: 2
Views: 9525

Prgramically checking/unchecking items in a legend

Is this possible? If so, can you share some code on how to do this?

Thanks.
by realsol
Wed Mar 22, 2017 6:07 am
Forum: FMX
Topic: Show labels by Right-Clicking a Slice or Bar in a chart
Replies: 1
Views: 8190

Show labels by Right-Clicking a Slice or Bar in a chart

I have two charts on one form. When I display labels, a lot of them overlap. So I created a Popup menu for both charts that lets the users hide the labels if the chart is overlapping them too much. The amounts and labels still show in the legend. But is there a way that I could set up, let's say a p...
by realsol
Tue Mar 21, 2017 7:21 am
Forum: FMX
Topic: Overlapping labels
Replies: 1
Views: 8067

Overlapping labels

I have attached an image of two charts on a Tabsheet. I have played with almost every setting. Is there any way to keep the labels from overlapping without having to add an 'Other' pie piece or shutting them off altogether. Barcharts, I don't even have the choice of other, and when amount are close,...
by realsol
Mon Mar 20, 2017 7:19 pm
Forum: FMX
Topic: Labels missing from Pie Chart with version .20
Replies: 5
Views: 13847

Re: Labels missing from Pie Chart with version .20

I read this on Embarcadero's site. Hope it helps. Restoring the Property Values of a Component from Master To restore the property values from the Master view on a component of another view: Select the candidate view from the View Selector. On the Form Designer, right-click the target component. Sel...
by realsol
Mon Mar 20, 2017 4:33 pm
Forum: FMX
Topic: Labels missing from Pie Chart with version .20
Replies: 5
Views: 13847

Re: Labels missing from Pie Chart with version .20

I figured out why this is happening. I make changes to the Master View, but they are not being honored in the Windows or the OSX view unless I make the changes there too. I made a mistake when originally creating the app. I have always used a DataModule in all of my programs with Datasets. But I cou...
by realsol
Mon Mar 20, 2017 2:44 pm
Forum: FMX
Topic: Labels missing from Pie Chart with version .20
Replies: 5
Views: 13847

Re: Labels missing from Pie Chart with version .20

The DB is encrypted. Could I get the conditionals, please?