Legend: dividing lines

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
UserLS
Advanced
Posts: 247
Joined: Wed May 23, 2007 12:00 am

Legend: dividing lines

Post by UserLS » Thu Mar 18, 2010 2:39 pm

I can see a set of problems when I turn on the dividing lines for my legends:

For vertical legends (on left or right):
  • The lines are 1or 2 pixels longer than they should be and therefore are running beyond the right border.
  • If I am using continuous symbols, the dividing lines are 2 or 3 pixels above the border between neighboring symbols
For horizontal legends (on top or bottom) / since this kind of selection is available - it should work correctly /
  • The lines are 1or 2 pixels longer than they should be and therefore are running beyond the bottom border.
  • There is a line before the first column
  • If I happen to have legend title - the lines are crossing the title, which looks really odd.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Legend: dividing lines

Post by Sandra » Fri Mar 19, 2010 11:07 am

Hello UserLs,

I could reproduce your problems with legend using last versions of TeeChart.Net. I have added it in list of bug report with number (TF02014738). We will try to fix for next versions of TeeChart.Net.

On the other hand, only I couldn't reproduce here, is that problem:
If I am using continuous symbols, the dividing lines are 2 or 3 pixels above the border between neighboring symbols
Here I get next:
tChart1.JPG
tChart1.JPG (47.82 KiB) Viewed 5784 times
Please, you could say if in previous image appears problem indicate above. If it doesn’t appear, please you could send and image, because we can see the problem?

Thanks,
Best Regards,
Sandra Pazos / 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

UserLS
Advanced
Posts: 247
Joined: Wed May 23, 2007 12:00 am

Re: Legend: dividing lines

Post by UserLS » Fri Mar 19, 2010 6:03 pm

Here is my image. Its name cryptic, but tells what selections are made:
Border.Shape.Legend.SymbolDefultPen.Left.Dividers.Continuous.Left.png
Border.Shape.Legend.SymbolDefultPen.Left.Dividers.Continuous.Left.png (45.05 KiB) Viewed 5828 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Legend: dividing lines

Post by Sandra » Mon Mar 22, 2010 9:34 am

Hello UserLs,

I couldn’t reproduce your problem using next code and last version 3 of TeeChart .Net:

Code: Select all

        public Form1()
        {
            InitializeComponent();
            InitializeChart();
        }
        private void InitializeChart()
        {
            tChart1.Header.Visible = true;
            tChart1.Dock = DockStyle.Fill;
            for (int i = 0; i < 13; i++)
            {
                new Steema.TeeChart.Styles.Bar(tChart1.Chart);
                tChart1[i].FillSampleValues();
                tChart1[i].Title = "Bar" + i.ToString();
            }

            tChart1.Legend.Symbol.Continous = true;
            tChart1.Legend.DividingLines.Visible = true;
            tChart1.Legend.Alignment = Steema.TeeChart.LegendAlignments.Left;
        }
Please, you could modify it, because we can reproduce your problem here?


Thanks,
Best Regards,
Sandra Pazos / 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