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 - MagnifyTool demo example
Summary: MagnifyTool demo example
Status: CONFIRMED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: WPF (show other bugs)
Version: TeeChart for .NET 4.1.2013.07300
Hardware: PC Windows
: Normal major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-17 12:50 EDT by sandra pazos
Modified: 2014-02-26 03:52 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 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();        

        }