Page 1 of 1

Discontinuos legend in TColorGridSeries

Posted: Tue Dec 16, 2008 8:35 am
by 8438229
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

Posted: Tue Dec 16, 2008 9:12 am
by narcis
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.