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 - [TF02015147] The ClickSeries event may make the legend checkboxes unusable if the ...
Summary: [TF02015147] The ClickSeries event may make the legend checkboxes unusable if...
Status: RESOLVED WORKSFORME
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Others (show other bugs)
Version: unspecified
Hardware: All All
: Normal major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-13 16:45 EDT by yeray alonso
Modified: 2014-01-09 11:20 EST (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)]