Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 364

Summary: [TF02015147] The ClickSeries event may make the legend checkboxes unusable if the ...
Product: .NET TeeChart Reporter: yeray alonso <yeray>
Component: OthersAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED WORKSFORME    
Severity: major    
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2013-11-20 11:25:45 EST
The ClickSeries event may make the legend checkboxes unusable if the hidden part of the series (series partially out of chart rect) would be over the legend.
For example:
        private Steema.TeeChart.Styles.FastLine series;
        private void InitializeChart()
        {
            tChart1.Aspect.View3D = false;
            tChart1.Legend.CheckBoxes = true;
            tChart1.Legend.Alignment = Steema.TeeChart.LegendAlignments.Bottom;
            series = new Steema.TeeChart.Styles.FastLine(tChart1.Chart);
            series.LinePen.Width = 3;
            for (int i = 0; i < 100; i++)
            {
                series.Add(i, -50f);
                series.Add(i, 150f);
            }
            tChart1.Axes.Left.SetMinMax(0, 100);
            tChart1.ClickSeries += new Steema.TeeChart.TChart.SeriesEventHandler(tChart1_ClickSeries);
        }
        void tChart1_ClickSeries(object sender, Steema.TeeChart.Styles.Series s, int valueIndex, MouseEventArgs e)
        {
            
        }
http://www.teechart.net/support/viewtopic.php?f=4&t=11540&view=unread#unread [created:2010-09-13T15:45:52.000+01:00 reported by:yeray@steema.com reported in version:Build 4.1.2010.08040 (TeeChart for .NET)]