TeeChart WPF - Cant see text in XAML

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
MVUser6
Newbie
Newbie
Posts: 30
Joined: Wed Jul 11, 2012 12:00 am

TeeChart WPF - Cant see text in XAML

Post by MVUser6 » Tue Sep 11, 2012 9:38 am

hi,

i'm using WPF TeeChart. i'm using XAML export.

when using m_TeeChart.Graphics3D.TextOut i see the text in XAML.
when using m_TeeChart.Graphics3D.GDIplusCanvas.DrawText i don't see the text in XAML.

i want to use DrawText.

what can i do to see the text with DrawText in XAML?

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

Re: TeeChart WPF - Cant see text in XAML

Post by Sandra » Wed Sep 12, 2012 11:58 am

Hello MVUser6,

I can reproduce your problem and I have added your request in list bug report with number [TW16016342]. We will try to fix it to upcoming versions of TeeChartFor.Net.

Thanks,
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

MVUser6
Newbie
Newbie
Posts: 30
Joined: Wed Jul 11, 2012 12:00 am

Re: TeeChart WPF - Cant see text in XAML

Post by MVUser6 » Wed Sep 12, 2012 12:20 pm

where can i track the bug?

MVUser6
Newbie
Newbie
Posts: 30
Joined: Wed Jul 11, 2012 12:00 am

Re: TeeChart WPF - Cant see text in XAML

Post by MVUser6 » Wed Sep 12, 2012 12:38 pm

this issue is very very important to my company and to our next WPF version.
we cannot print reports because of the problem with the export function.

do you know when the fix will be included? is there any version board of upcoming versions?

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

Re: TeeChart WPF - Cant see text in XAML

Post by Sandra » Wed Sep 12, 2012 2:12 pm

Hello MVUser6,

We will soon be published a new maintenace release. 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.

Thanks,
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

MVUser6
Newbie
Newbie
Posts: 30
Joined: Wed Jul 11, 2012 12:00 am

Re: TeeChart WPF - Cant see text in XAML

Post by MVUser6 » Thu Oct 04, 2012 9:03 am

hi,

what is the status of bug TW16016342?
this is really important for my company.

thanks

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

Re: TeeChart WPF - Cant see text in XAML

Post by Sandra » Fri Oct 05, 2012 8:18 am

Hello MVuser6,

The bug number Tw1601342 isn't still fixed. I have increase this severity to treat it to upcoming versions of TeeChartFor.Net. On the other hand, I inform you that the time we need to fix the bugs depends on any variables such as the complexity of the problem, the number of issues with even higher priority that claims our team attention. For this reason, 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.

Thanks,
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

MVUser6
Newbie
Newbie
Posts: 30
Joined: Wed Jul 11, 2012 12:00 am

Re: TeeChart WPF - Cant see text in XAML

Post by MVUser6 » Sun Nov 04, 2012 12:39 pm

Hi,
a lot of time passed and it is still not fixed.
it is really important for us.
we have deadlines and we don't want to research other solutions.

is there any way to expedite it?

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

Re: TeeChart WPF - Cant see text in XAML

Post by Sandra » Mon Nov 05, 2012 3:40 pm

Hello MVUser6,

I am afraid that this problems is not only of TeeChart, so after have been doing some test, we have found that the problem isn't only of TeeChart functions, it depends of GDIPlusCanvas, so it isn't call the TChart canvas, because is calling other canvas. To solve the problem of export must be modified the GDIPlusCanvas, because GDIPlusCanvas supports this type of export,therefore, we can not solve the problem with TeeChart, if previously isn't solved the problem with export to xaml in GDIPlusCanvas. On the other hand, as this thread is related by this other. I have increased the severity of wish-list item (TW16016325) to try to fix it for upcoming maintenance release of TeeChartFor.Net.

Thanks,
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

MVUser6
Newbie
Newbie
Posts: 30
Joined: Wed Jul 11, 2012 12:00 am

Re: TeeChart WPF - Cant see text in XAML

Post by MVUser6 » Wed Nov 07, 2012 11:55 am

hi,

i tried to make some manipulations and i succeed to export it without your export function.
however, i still have problems and i don't want this workaround to stay permanent.
here is the code:

DrawingVisual dv = new DrawingVisual();
DrawingImage di = new DrawingImage();
System.Windows.Rect r = TChartControl.Chart.ChartBounds;
DrawingContext dc = dv.RenderOpen();
TChartControl.Chart.Draw(dc);
dc.Close();
di.Drawing = dv.Drawing;


and afterwards exporting the DrawingImage to XAML with XAMLWriter.
i hope it can help you solve the bug or get ideas.

please fix it as soon as you can.

MVUser6
Newbie
Newbie
Posts: 30
Joined: Wed Jul 11, 2012 12:00 am

Re: TeeChart WPF - Cant see text in XAML

Post by MVUser6 » Wed Nov 07, 2012 1:30 pm

Hi,
in addition,
I was trying to use FillRegion and receveid NotImplementedException.

You have suggested that we use the example in the following link:
http://social.msdn.microsoft.com/Forums ... 4a72b9042/

[reference: http://www.teechart.net/support/viewtop ... =4&t=13614]

The region is now being painted however not appearing when using the XAML export.

Please advise.

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

Re: TeeChart WPF - Cant see text in XAML

Post by Sandra » Fri Nov 09, 2012 10:09 am

Hello MVUser6,

I am glad, that you can solve your problem using a native method of WPF, to export it as XAML. :D.

About Export text as I have informed,in previous thread, I have increased the severity of bug number [TW16016325] to try solve the problems with TextOut, so it works in our and your end.

About FillRegion, is normal as you implement a custom FillRegion as I have recommended you, the exportation of TeeChartWPF doesn't export the FillRegion you implement, because isn't a method of TeeChart. Therefore, if you want export a chart where you use a custom FillRegion, you need use the native methods of WPF to export it. On the other hand, if you want export it as TeeChart, would be very grateful if you can explain exactly that you want achieve draw with FillRegion, because we can try to find a solution with TeeChart methods(rectangle(), elipse(),etc),so, you can export it in a correct way using TeeChart.

Thanks,
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

MVUser6
Newbie
Newbie
Posts: 30
Joined: Wed Jul 11, 2012 12:00 am

Re: TeeChart WPF - Cant see text in XAML

Post by MVUser6 » Sun Nov 11, 2012 6:54 am

Hi,
The bug is about drawtext and not about textout. with textout we don't have a problem.

MVUser6
Newbie
Newbie
Posts: 30
Joined: Wed Jul 11, 2012 12:00 am

Re: TeeChart WPF - Cant see text in XAML

Post by MVUser6 » Sun Nov 11, 2012 7:01 am

hi,

in addition - my way of export doesn't export the workaround also.
i will try to draw our shapes by myself but solving the FillRegion issue is still required by us.

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

Re: TeeChart WPF - Cant see text in XAML

Post by Sandra » Tue Nov 13, 2012 12:38 pm

Hello MVUser6,
The bug is about drawtext and not about textout. with textout we don't have a problem.
DrawText of GDIPlusCanvas as I have explained, method DrawText, internally, is calling other canvas that isn't the TChart Canvas and for this reason the text doesn't export correctly in xaml TeeChart.

So, we will try implement the feature request number [TW16016325] because TextOut supports TextOptions.TextRenderingMode so that fonts look better and you can use the TextOut method as alternative of DrawText method to achieve the same results, thus you can use export xaml methods of TeeChart without problems.
i will try to draw our shapes by myself but solving the FillRegion issue is still required by us.
I inform you that we have already implemented the FillRegion of WPF feature request for next maintenance releases of TeeChartFor.Net. Feature request number is [TW16016406].

Thanks,
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