Hi,
we are working a lot with the Canvas.
when we export the chart to a bitmap file, we have a little pixelization that we didn't have in the regular .net teechart(with Metafile Format).
after printing it seems more acute - the letters and the numbers are not clear like regular printing and in addition to the pixelization, it's a little bit blurred.
in runtime, it seems a little bit pixelizated also.
i added a sample project that save the teechart to a local bitmap, check the bitmap and see.
1) i saw that the canvas is called GDIPlusCanvas. does it says that it uses the old technology and not a pure WPF canvas? what affects does it have?
2) what can i do to achieve a picture in an higher resolution?
3) what can i do to avoid the pixelization?
in addition, i'm very disappointed that the WPF teechart doesn't support the online editor, it's a really downgrade in the quality of the product.
the printing & the clearance of the letters are very important to our customers(hospitals & critical acute care units).
thanks.
TeeChart WPF Pixelization
TeeChart WPF Pixelization
- Attachments
-
- TeeChartTestWithElementHost.rar
- (22.07 KiB) Downloaded 423 times
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TeeChart WPF Pixelization
Hi MVUser6,
and making it smaller after that so you get a better resolution image.
In Windows Forms there's TChart.Graphics3D.SmoothingMode property which might help you as well.
Thanks for the project. Is there any specific reason why you are using TeeChart.WPF.dll in a Windows Forms application instead of TeeChart.dll or creating a WPF application?i added a sample project that save the teechart to a local bitmap, check the bitmap and see.
No, the canvas used in WPF (Steema.TeeChart.WPF.Drawing.Graphics3DWPF) is a System.Windows.Media.DrawingContext. You can check the implementation yourself using any reverse engineering tool with TeeChart.WPF.dll.1) i saw that the canvas is called GDIPlusCanvas. does it says that it uses the old technology and not a pure WPF canvas? what affects does it have?
You can try making the image bigger before exporting it:2) what can i do to achieve a picture in an higher resolution?
Code: Select all
TChartControl.Export.Image.Bitmap.Width = 1000;
TChartControl.Export.Image.Bitmap.Height = 800;
TChartControl.Export.Image.Bitmap.Save("c:\\temp\\side.bmp");
In Windows Forms there's TChart.Graphics3D.SmoothingMode property which might help you as well.
What about my suggestions to the previous question?3) what can i do to avoid the pixelization?
I don't know the exact details behind this decision but, at least, this would mean creating all editors from scratch in WPF. If you are using Windows Forms applications you can always use TeeChart.dll which includes the graphical editors.in addition, i'm very disappointed that the WPF teechart doesn't support the online editor, it's a really downgrade in the quality of the product.
the printing & the clearance of the letters are very important to our customers(hospitals & critical acute care units).
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |