dialog box for plot symbols?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
fjrohlf
Newbie
Newbie
Posts: 33
Joined: Mon Sep 07, 2015 12:00 am

dialog box for plot symbols?

Post by fjrohlf » Thu Nov 12, 2015 7:37 pm

I would like to display a dialog box to enable an end user to select the point symbols they would like to have used in a chart. Is there one within TeeChart? If not, is there a convenient source for the bitmaps for the symbols so I can create my own dialog?

Thanks,

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: dialog box for plot symbols?

Post by Yeray » Fri Nov 13, 2015 4:00 pm

Hello,

TeeChart has a TeePoEdi (.pas and .dfm) used in the Chart editor to allow changing the pointer in some series like TPointSeries or TLineSeries.
It looks like this:
PointerStyle.png
PointerStyle.png (28 KiB) Viewed 8385 times
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

fjrohlf
Newbie
Newbie
Posts: 33
Joined: Mon Sep 07, 2015 12:00 am

Re: dialog box for plot symbols?

Post by fjrohlf » Tue Nov 17, 2015 12:58 am

Thanks but that is too much for what I want. I think it might overwhelm users with too many options. I would just like to display something that allows the selection of the symbol and its color and size. It might be possible to extract that form the TeePoEdi.pas unit but I do not have the source code.

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: dialog box for plot symbols?

Post by Yeray » Tue Nov 17, 2015 9:03 am

Hello,

You can open the pointer editor without having the sources as follows:

Code: Select all

uses Series, TeePoEdi;

var Series1: TLineSeries;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Series1:=Chart1.AddSeries(TLineSeries) as TLineSeries;
  Series1.FillSampleValues(10);
end;

procedure TForm1.Button1Click(Sender: TObject);
begin
  EditSeriesPointer(Self, Series1.Pointer);
end;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

fjrohlf
Newbie
Newbie
Posts: 33
Joined: Mon Sep 07, 2015 12:00 am

Re: dialog box for plot symbols?

Post by fjrohlf » Tue Nov 17, 2015 1:08 pm

ok thanks I will look at it.

Post Reply