Page 1 of 3

TeeChart WPF - Cant see text in XAML

Posted: Tue Sep 11, 2012 9:38 am
by 15662946
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?

Re: TeeChart WPF - Cant see text in XAML

Posted: Wed Sep 12, 2012 11:58 am
by 10050769
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,

Re: TeeChart WPF - Cant see text in XAML

Posted: Wed Sep 12, 2012 12:20 pm
by 15662946
where can i track the bug?

Re: TeeChart WPF - Cant see text in XAML

Posted: Wed Sep 12, 2012 12:38 pm
by 15662946
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?

Re: TeeChart WPF - Cant see text in XAML

Posted: Wed Sep 12, 2012 2:12 pm
by 10050769
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,

Re: TeeChart WPF - Cant see text in XAML

Posted: Thu Oct 04, 2012 9:03 am
by 15662946
hi,

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

thanks

Re: TeeChart WPF - Cant see text in XAML

Posted: Fri Oct 05, 2012 8:18 am
by 10050769
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,

Re: TeeChart WPF - Cant see text in XAML

Posted: Sun Nov 04, 2012 12:39 pm
by 15662946
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?

Re: TeeChart WPF - Cant see text in XAML

Posted: Mon Nov 05, 2012 3:40 pm
by 10050769
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,

Re: TeeChart WPF - Cant see text in XAML

Posted: Wed Nov 07, 2012 11:55 am
by 15662946
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.

Re: TeeChart WPF - Cant see text in XAML

Posted: Wed Nov 07, 2012 1:30 pm
by 15662946
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.

Re: TeeChart WPF - Cant see text in XAML

Posted: Fri Nov 09, 2012 10:09 am
by 10050769
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,

Re: TeeChart WPF - Cant see text in XAML

Posted: Sun Nov 11, 2012 6:54 am
by 15662946
Hi,
The bug is about drawtext and not about textout. with textout we don't have a problem.

Re: TeeChart WPF - Cant see text in XAML

Posted: Sun Nov 11, 2012 7:01 am
by 15662946
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.

Re: TeeChart WPF - Cant see text in XAML

Posted: Tue Nov 13, 2012 12:38 pm
by 10050769
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,