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 1080 - an error with LinePoint in demoProjectWPF
Summary: an error with LinePoint in demoProjectWPF
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Examples Demos (show other bugs)
Version: TeeChart.NET 2014 4.1.2014.12154
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-09 01:29 EST by Shinobu Nagai
Modified: 2015-01-19 07:20 EST (History)
2 users (show)

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


Attachments
select LinePoint (52.41 KB, image/png)
2015-01-09 01:29 EST, Shinobu Nagai
Details
error message (55.42 KB, image/png)
2015-01-09 01:30 EST, Shinobu Nagai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shinobu Nagai 2015-01-09 01:29:05 EST
If running DemoProjectWPF, select "Steema.TeeChart.WPF.Styles.LinePoint" from the "Series" combobox, System.ObjectDisposedException occurs. Please let us know the workaround.
Comment 1 Shinobu Nagai 2015-01-09 01:29:43 EST
Created attachment 381 [details]
select LinePoint
Comment 2 Shinobu Nagai 2015-01-09 01:30:13 EST
Created attachment 382 [details]
error message
Comment 3 sandra pazos 2015-01-12 09:39:10 EST
The problem is produced in CanvasWPF class, concretely in the Polygon(bool isStroked, params Point[] p) method when is tried to use DrawGeometry. See code below: 
... 
    public void Polygon(bool isStroked, params Point[] p)
    {
      StreamGeometry geom = GetPathGeometry(p, isStroked);

      if (geom != null)
      {
        PushGuidelines(p);
        g.DrawGeometry(Brush.DrawingBrush, Pen.DrawingPen, geom);
        PopGuidelines();
      }
    }
...