You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Livechart2 in WPF. I want to print the the Cartesian chart. I didn't find the print document how it was working earlier for C# WinForms Data Visualization chart because here it looks very clear. So , in wpf i rendered the chart into Bitmap then i print this. But the chart is not at all clear , its blurry. Is there any solution without using Bitmap ? I used below code to convert the UIElement into Bitmap. I need to make the Chart looks clear in print document.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I am using Livechart2 in WPF. I want to print the the Cartesian chart. I didn't find the print document how it was working earlier for C# WinForms Data Visualization chart because here it looks very clear. So , in wpf i rendered the chart into Bitmap then i print this. But the chart is not at all clear , its blurry. Is there any solution without using Bitmap ? I used below code to convert the UIElement into Bitmap. I need to make the Chart looks clear in print document.
**_public static Bitmap ConvertUIElementToBitmap(UIElement element)
{
double width = element.RenderSize.Width;
double height = element.RenderSize.Height;
Beta Was this translation helpful? Give feedback.
All reactions