Invalid RectangleGeometry in exported xaml of WPF TChart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
neurosoft
Newbie
Newbie
Posts: 15
Joined: Fri Jun 17, 2011 12:00 am

Invalid RectangleGeometry in exported xaml of WPF TChart

Post by neurosoft » Mon Oct 24, 2011 12:00 pm

Hello steema people!
We have a problem with an exporting WPF TChart to xaml. Number format in the attribute 'Rect' of tag 'RectangleGeometry' is wrong in the latest release of WPF TChart. There is comma instead dot:

Code: Select all

<Ellipse Fill="#FFFFFFFF" StrokeThickness="1" Stroke="#FF000000"
 Canvas.Left="188.05" Canvas.Top="170.8" Height="5.39999999999998" Width="5.39999999999998">
 <Ellipse.Clip>
  <RectangleGeometry Rect="0,0,4,39999999999998,4,39999999999998"/>
 </Ellipse.Clip>
</Ellipse>
Try to execute the following code to reproduce that:

Code: Select all

    MyTChart = new TChart();
    MyTChart.Aspect.View3D = false;
    MyTChart.Width = 400;
    MyTChart.Height = 300;
    MyTChart.Axes.Left.SetMinMax(0, 5);
    Points points = new Points();
    points.Pointer.HorizSize = 2.2;
    points.Pointer.VertSize = 2.2;
    points.Pointer.Style = PointerStyles.Circle;
    points.Pointer.Visible = true;
    points.XValues.Order = ValueListOrder.None;
    points.Add(2, 2);
    MyTChart.Series.Add(points);
    Microsoft.Win32.SaveFileDialog saveDialog = new Microsoft.Win32.SaveFileDialog();
    if (saveDialog.ShowDialog() == true)
    {
        MyTChart.Export.Image.XAML.Save(saveDialog.FileName);
    }
Probably, the problem is in any Culture (we tried Russian, English and Chinese)

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Invalid RectangleGeometry in exported xaml of WPF TChart

Post by Narcís » Mon Oct 24, 2011 1:58 pm

Hi neurosoft,

I have been able to reproduce the problem here and added it (TW16015796) to the defect list to be investigated.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

neurosoft
Newbie
Newbie
Posts: 15
Joined: Fri Jun 17, 2011 12:00 am

Re: Invalid RectangleGeometry in exported xaml of WPF TChart

Post by neurosoft » Wed Jan 11, 2012 12:08 pm

Hello steema.
I have downloaded the latest version of the TChart.WPF.dll, but I can reproduce my problem with that version. I'm very disappointed. It's very simple for you and very critical for us problem and I don't understand why that is not solved yet.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Invalid RectangleGeometry in exported xaml of WPF TChart

Post by Sandra » Thu Jan 12, 2012 11:45 am

Hello Neurosoft,

I've added it with high priority because I consider it is an important feature but the time until it will be fixed also depends on the complexity of the problem and its solution. I recommend you to be aware at this forum, our RSS news feed, twitter and facebook accounts for new release announcements and what's implemented on them.
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply