Search found 129 matches

by elmec
Sat Jul 26, 2014 6:43 am
Forum: FMX
Topic: Failed to change TRectangleTool position when from resized
Replies: 4
Views: 15573

Re: Failed to change TRectangleTool position when from resized

Pls find the attachment for exampl project.
by elmec
Sat Jul 26, 2014 6:42 am
Forum: FMX
Topic: Failed to change TRectangleTool position when from resized
Replies: 4
Views: 15573

Failed to change TRectangleTool position when from resized

I want the RectangleTool position change automatically when form size changed. But if I change form size by dragging the from border, it seems OK, while nothing changed when maximize the form. //--------------------------------------------------------------------------- #include <fmx.h> #pragma hdrs...
by elmec
Thu Jul 03, 2014 7:41 am
Forum: FMX
Topic: How to change the ZOrder of Marks?
Replies: 1
Views: 9445

How to change the ZOrder of Marks?

I tried to switch Marks zorder by changing the property of ZOrder of series, but nothing happened. Do you have any advice? __fastcall TForm12::TForm12(TComponent* Owner) : TForm(Owner) { // Add two Point series Series1 = new TPointSeries(NULL); Series1->ParentChart = Chart1; Series1->Marks->Visible ...
by elmec
Mon Jun 30, 2014 10:18 am
Forum: FMX
Topic: About the behavior of TScrollPager
Replies: 3
Views: 12830

Re: About the behavior of TScrollPager

I am sorry , pls ignore Question4..
And for Question 1, before assigning series to TScrollPager,
the series should have a parentchart..so the code should be as following.

Code: Select all

TFastLineSeries* seriesTest = new TFastLineSeries(this);
seriesTest->ParentChart = Chart1;
ScrollPager->Series = seriesTest;
by elmec
Mon Jun 30, 2014 9:47 am
Forum: FMX
Topic: About the behavior of TScrollPager
Replies: 3
Views: 12830

Re: About the behavior of TScrollPager

Question4:
We know that there are two series when I assign a Series (seriesTest) to TScrollPager,
one is in the TChart, and another is in the ScrollPager->SubChartTChart.
The two series just have a pointer to seriesTest?
Or the one in the TChart also has a copy of seriesTest?
by elmec
Mon Jun 30, 2014 9:41 am
Forum: FMX
Topic: About the behavior of TScrollPager
Replies: 3
Views: 12830

About the behavior of TScrollPager

Question1: When I assign a Series to TScrollPager like the following code, it just set the pointor of ScrollPager->Series to seriesTest , or copy seriesTest to ScrollPager->Series ? TFastLineSeries* seriesTest = new TFastLineSeries(this); ScrollPager->Series = seriesTest; Question2: How does ScrollP...
by elmec
Tue Jun 17, 2014 2:32 am
Forum: FMX
Topic: Is there a OnMarkClick() event?
Replies: 6
Views: 17651

Re: Is there a OnMarkClick() event?

In a word, I want to do sth. as below in Chart1DblClick function.

Code: Select all

void __fastcall TForm12::Chart1DblClick(TObject *Sender)
{
	if (AxisArrowClicked)
		do sth.
	else
		do sth.
}
by elmec
Tue Jun 17, 2014 2:29 am
Forum: FMX
Topic: Is there a OnMarkClick() event?
Replies: 6
Views: 17651

Re: Is there a OnMarkClick() event?

Thank you.

But I also want to do sth.
when just doubleclicking the TChart, not the TAxisArrowTool,
so I want to know which is doubleclicked when TChartDblClicked event triggled.
by elmec
Sun Jun 15, 2014 2:38 am
Forum: FMX
Topic: Is there a OnMarkClick() event?
Replies: 6
Views: 17651

Re: Is there a OnMarkClick() event?

Thank you. And one more question about TAxisArrowTool. I want to know if TChart or TAxisArrowTool is doubleclicked. And the events were triggled as below when the TAxisArrowTool doubleclicked. So I set a flag for TAxisArrowToolClick (1), then check the flag when Chart1DblClick (2) triggled,and clear...
by elmec
Wed Jun 11, 2014 1:50 am
Forum: FMX
Topic: Is there a OnMarkClick() event?
Replies: 6
Views: 17651

Is there a OnMarkClick() event?

I am using TPointSeries with setting the Marks visible.
And I want to do sth. when Marks clicked,
is there some event like OnMarkClick()?

Thanks in advance.
by elmec
Thu Jun 05, 2014 2:37 am
Forum: FMX
Topic: SaveChartToFile
Replies: 1
Views: 8859

SaveChartToFile

We know that it needs to include the following header for calling SaveChartToFile in VCL,

Code: Select all

#include "TeeStore.hpp" 
but what is it for Firemonkey?
by elmec
Wed Jun 04, 2014 1:19 am
Forum: FMX
Topic: response slowly when remove series from lots of series
Replies: 5
Views: 16309

Re: response slowly when remove series from lots of series

MY PC Spec. Information.
Dell Vostro 260
Intel Core i3-2120 CPU @ 3.3GHz
4.00G(2.92GB usable)
by elmec
Wed Jun 04, 2014 1:12 am
Forum: FMX
Topic: response slowly when remove series from lots of series
Replies: 5
Views: 16309

Re: response slowly when remove series from lots of series

I tried to set AutoRepaint to false, and the DialogBox showed instantly. Off course, too repaint the TChart, we still need to call Repaint() func, then it block the main thread for about 2 seconds here..nothing changed! So maybe I need a thread to repaint the TChart? I don't know why it is so slow. ...
by elmec
Wed Jun 04, 2014 12:55 am
Forum: FMX
Topic: response slowly when remove series from lots of series
Replies: 5
Views: 16309

Re: response slowly when remove series from lots of series

BTW, I am using Teechart2014 for C++ Builder XE4 HD App.
I think the delay duration until DialogBox show
should be that main thread is waiting teechart automatic repaiting after series removed..

Can you reproduce with the EXE I have sent to you?
Is there any idea to improve that?