Page 1 of 1

Legend: dividing lines

Posted: Thu Mar 18, 2010 2:39 pm
by 14045174
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.

Re: Legend: dividing lines

Posted: Fri Mar 19, 2010 11:07 am
by 10050769
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 5789 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,

Re: Legend: dividing lines

Posted: Fri Mar 19, 2010 6:03 pm
by 14045174
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 5833 times

Re: Legend: dividing lines

Posted: Mon Mar 22, 2010 9:34 am
by 10050769
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,