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 41

Summary: MagnifyTool demo example
Product: .NET TeeChart Reporter: sandra pazos <sandra>
Component: WPFAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: major    
Priority: Normal    
Version: TeeChart for .NET 4.1.2013.07300   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description sandra pazos 2013-10-17 12:50:50 EDT
If selecting this tool, an error "object reference isn't set to object instance" occurs. See the demo example MagnifyTool to check the problem.
Comment 1 sandra pazos 2013-10-23 07:49:20 EDT
WPFDemo
Comment 2 sandra pazos 2014-02-26 03:52:10 EST
More information, the problem doesn't appear in Winforms. To reproduce the problem you can use  WPF Demo as I have told in previous comment or use next code:

 public MainWindow()
        {
            InitializeComponent();
            InitializeChart();
        }
        private void InitializeChart()
        {
            var line1 = new Steema.TeeChart.WPF.Styles.Line(tChart1.Chart);
            var tool1 = new Steema.TeeChart.WPF.Tools.Magnify(tChart1.Chart);
            line1.FillSampleValues();        

        }