Discontinuos legend in TColorGridSeries

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Elisabet
Newbie
Newbie
Posts: 22
Joined: Fri Nov 15, 2002 12:00 am
Location: Madrid

Discontinuos legend in TColorGridSeries

Post by Elisabet » Tue Dec 16, 2008 8:35 am

Before migrating to Teechart v8 we used v6 and with a TColorGridSeries we achieved a continuous legend with the following configuration:

Legend.Bevel = bvLowered
Legend.BevelWidth = 1
Legend.ColorWidth = 50
Legend.LegendStyle = lsValues
Legend.Symbol.Continuous = True
Legend.Symbol.Width = 50
Legend.Symbol.WidthUnits = lcsPixels
Legend.TextStyle = ltsPlain
Legend.Transparent = True
Legend.VertSpacing = -5

This legend has a palette of 54 colors and it is not wanted to see any border between colors, simply all the 54 colors continuous
However, in the new version Teechart v8, this legend shows a border of the same color as the Form that it is impossible to get it out. I can send you charts if it is needed. For instance, if a set the flag Legend.Symbol.Continuous = False, no difference is shown.

Please, this issue it is very important for us. Thanks in advance,

Elisabet

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Dec 16, 2008 9:12 am

Hi Elisabet,

This works fine for me here using TeeChart Pro v8.04 VCL and this code:

Code: Select all

  With Chart1 do
  begin
    Legend.Bevel := bvLowered;
    Legend.BevelWidth := 1;
    Legend.ColorWidth := 50;
    Legend.LegendStyle := lsValues;
    Legend.Symbol.Continuous := True;
    Legend.Symbol.Width := 50;
    Legend.Symbol.WidthUnits := lcsPixels;
    Legend.TextStyle := ltsPlain;
    Legend.Transparent := True;
    Legend.VertSpacing := -5;
  end;
Are you using v8.04? If the problem persists please send us a simple example project we can run "as-is" to reproduce the problem here.

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply