When I added Custom Legend from Editing Chart tools, I got the following error.

http://oi45.tinypic.com/2l9o3ly.jpg
Something wrong with my installation?
Thanks in advance.
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |
Sure, open TeeToolsGalleryDemos.pas, go to the TToolDemos.CreateGallery method and at its bottom implement TCustomLegendTool related code like this:I shall upgrade to be a source code customer so you can tell me how to do the changes.
Code: Select all
if tmp=TCustomLegendTool then
with CreateChart(tmp,'Customizable legend grid',TBarSeries) do
begin
with Tools[0] as TCustomLegendTool do
begin
with Shape do
begin
RoundSize := 15;
Pen.Width:= 2;
Font.Style := [{$IFDEF FMX}TFontStyle.{$ENDIF}fsItalic];
ShapeStyle:=fosRoundRectangle
end;
with Grid do
begin
RowCount := 2;
{$IFNDEF FMX}
ColCount := 1;
RowHeights[0] := 20;
RowHeights[1] := 20;
ColWidths[0] := 70;
{$ENDIF}
Height := 40;
Width := 70;
{$IFDEF FMX}
Cells[0,0]:=' Series 1';
Cells[0,1]:=' Series 2';
{$ELSE}
Rows[0].Text := ' Series 1';
Rows[1].Text := ' Series 2';
{$ENDIF}
end;
end;
end
;
Code: Select all
RowCount := 2;
Code: Select all
{$IFNDEF FMX}
ColCount := 1;
RowHeights[0] := 20;
RowHeights[1] := 20;
ColWidths[0] := 70;
{$ENDIF}
A date hasn't been fixed yet. You should follow any of the Steema Software communication channels (this forum, Steema's home page, Steema's RSS feed, twitter or facebook) for new release announcements and what's implemented on them at the release notes accompanying the news.Do you know the date for next maintenance release?
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
![]() ![]() ![]() ![]() ![]() ![]() |
Instructions - How to post in this forum |