Solved

TCHART problem

Posted on 2002-06-22
3
337 Views
Last Modified: 2010-04-04
TCHART problem

When I create some series at runtime, I want to insert it to TComponentList. How to do that with ONMESSAGE event ?

Thanks.
0
Comment
Question by:vbmn
3 Comments
 
LVL 1

Expert Comment

by:MBo
ID: 7102963
DynSeries:=TLineSeries.Create(Chart1);
DynSeries.ParenChart:=Chart1;
...any Series params

ComponentList.Add(DynSeries);

...
TLineSeries(ComponentList[i]).LinePen.Color:=clRed;
0
 
LVL 2

Author Comment

by:vbmn
ID: 7103218
I was tought to create series with TChartEditorPanel (ADD BUTTON), and put it to TComponentList. It doesn't have to be with ONMESSAGE.
0
 

Accepted Solution

by:
cvbn earned 150 total points
ID: 7105149
You can use string messages on exchanges controls.

Like :

exchangeform:='Exchanged';

and to finished

exchangeform:='';

with ONMESSAGE event.

Thanks.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now