Search found 9248 matches

by Yeray
Tue Nov 29, 2022 8:38 am
Forum: VCL
Topic: Contour Levels Pen Editor
Replies: 1
Views: 55

Re: Contour Levels Pen Editor

Hello, You can use the LinesColor property, but note this is only used to draw the lines when Filled . In the following example I dropped a TChart ( Chart1 ), a TCheckBox ( CheckBoxFilled ) and a TButtonColor ( ButtonColorLines ): var ContourSeries: TContourSeries; procedure TForm1.FormCreate(Sender...
by Yeray
Wed Nov 23, 2022 9:03 am
Forum: VCL
Topic: Merged Axes, Legend Placement and Popup Accessibility
Replies: 4
Views: 231

Re: Merged Axes, Legend Placement and Popup Accessibility

Hello Errol,
Errol wrote:
Fri Nov 18, 2022 3:19 am
It is all working fine now.
I'm glad to hear that!
by Yeray
Tue Nov 22, 2022 3:00 pm
Forum: VCL
Topic: Fixed spacing between gantt bars
Replies: 5
Views: 219

Re: Fixed spacing between gantt bars

Hello Mark,

The distance between gantt bars depends on the number of values to be drawn and the axis size, which depends on the chart height.
Also note the Pointer.VertSize (the size of the gantt bars) also affects how this looks.

Code: Select all

FGanttSeries.Pointer.VertSize:=12;
by Yeray
Wed Nov 16, 2022 10:17 am
Forum: VCL
Topic: Values on top of Stacked Bar Columns
Replies: 1
Views: 99

Re: Values on top of Stacked Bar Columns

Hello Vasilis, Is there a way to show on graph the total sum on top of every stacked bar column? You could use OnGetMarkText event as follows: uses Series; procedure TForm1.FormCreate(Sender: TObject); var i: Integer; begin Chart1.Align:=alClient; Chart1.View3D:=False; Chart1.Legend.Hide; Chart1.Col...
by Yeray
Wed Nov 16, 2022 9:42 am
Forum: VCL
Topic: Merged Axes, Legend Placement and Popup Accessibility
Replies: 4
Views: 231

Re: Merged Axes, Legend Placement and Popup Accessibility

Hello, I see no difference in the legend for all the screenshots you've posted. I assume you mean the bottom axis title. If I set the bottom axis LabelStyle to talNone, the legend is placed correctly, but the units popup does not work on the bottom axis - see Single_Graph_Correct_Legend_no_popup.jpg...
by Yeray
Wed Nov 16, 2022 7:22 am
Forum: VCL
Topic: Bug in Logarithimic axis
Replies: 4
Views: 137

Re: Bug in Logarithimic axis

Hello,

This was identified and fixed a few weeks ago. Take a look at the fix here.
by Yeray
Wed Nov 16, 2022 7:16 am
Forum: VCL
Topic: Fixed spacing between gantt bars
Replies: 5
Views: 219

Re: Fixed spacing between gantt bars

Hello

It sounds as changing Chart1.Align property from alClient to ie alTop:
Project1_2022-11-16_08-15-48.gif
Project1_2022-11-16_08-15-48.gif (59.63 KiB) Viewed 179 times
by Yeray
Tue Nov 15, 2022 10:32 am
Forum: VCL
Topic: Bug in Logarithimic axis
Replies: 4
Views: 137

Re: Bug in Logarithimic axis

Hello,

Can you please arrange a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
by Yeray
Tue Nov 15, 2022 8:12 am
Forum: VCL
Topic: Fixed spacing between gantt bars
Replies: 5
Views: 219

Re: Fixed spacing between gantt bars

Hello Mark, There are some variables missing from that code snipped so I have to skip parts of if that may be important to reproduce the problem. Here is what I have: Project1_2022-11-15_09-13-46.gif uses Chart, TeEngine, TeeGDIPlus, GanttCh; var GanttChart: TChart; procedure TForm1.FormCreate(Sende...
by Yeray
Thu Nov 10, 2022 7:13 am
Forum: VCL
Topic: Chart.Draw with LabelStyle talText - BottomAxis missing
Replies: 15
Views: 848

Re: Chart.Draw with LabelStyle talText - BottomAxis missing

Hello Jamie,

No problem! Glad to hear it works fine now!
by Yeray
Wed Nov 09, 2022 12:14 pm
Forum: VCL
Topic: "Carpet Plot" Labels
Replies: 5
Views: 280

Re: "Carpet Plot" Labels

Hello, Since the TAnnotationTool is a TComponent , it already has a Name property you can use. Ie: uses TeeTools; procedure TForm1.BDeleteCheckedClick(Sender: TObject); var i, j: Integer; begin for i:=CheckListBox1.Items.Count-1 downto 0 do if CheckListBox1.Checked[i] then for j:=Chart1.Tools.Count-...
by Yeray
Wed Nov 09, 2022 10:28 am
Forum: VCL
Topic: Chart.Draw with LabelStyle talText - BottomAxis missing
Replies: 15
Views: 848

Re: Chart.Draw with LabelStyle talText - BottomAxis missing

Hello Jamie,

This is how your project looks for me after the change:
Project2_2022-11-09_11-24-52.png
Project2_2022-11-09_11-24-52.png (38.98 KiB) Viewed 371 times
Make sure you are rebuilding the project after applying the change.
by Yeray
Tue Nov 08, 2022 1:11 pm
Forum: VCL
Topic: "Carpet Plot" Labels
Replies: 5
Views: 280

Re: "Carpet Plot" Labels

Hello, Indeed, you could store the annotations in variables, or in an array. Or you could just use the Tools array. Find here an example showing how to add an annotation tool every time the chart is clicked and how to remove the annotation that is right-clicked: uses Series, TeeTools; var mouseDownP...
by Yeray
Tue Nov 08, 2022 7:17 am
Forum: VCL
Topic: VCLTee.OpenGL2 issues...
Replies: 4
Views: 289

Re: VCLTee.OpenGL2 issues...

Hello John,

Have you tried it in a new simple project?
by Yeray
Mon Nov 07, 2022 3:30 pm
Forum: VCL
Topic: Change the increment step on X Date Axis
Replies: 1
Views: 185

Re: Change the increment step on X Date Axis

Hello Vasilis, You could set the Increment to DateTimeStep[dtOneMonth] . Ie: Project3_2022-11-07_16-29-35.png uses Series; procedure TForm1.FormCreate(Sender: TObject); var i: Integer; d: TDateTime; begin Chart1.View3D:=False; Chart1.Gradient.Visible:=False; Chart1.Color:=clWhite; Chart1.Walls.Back....