Skip to content

Files

Latest commit

 

History

History
59 lines (48 loc) · 1.75 KB

kb-chartview3d-general-rendering-issue.md

File metadata and controls

59 lines (48 loc) · 1.75 KB
title description type page_title slug position tags ticketid res_type
Rendering Issue in RadChartView3D On Specific Devices
The 3D ChartView element is rendered fragmented on devices with specific video and processor models and drivers.
troubleshooting
Wrong 3D rendering of RadChartView3D On Some Hardware - for example Intel Iris Graphics
kb-chartview3d-general-rendering-issue
0
3d,chart,cartesian,chartview,rendering,issue,fragmented,glitch,intel,iris
1592210
kb

Environment

Product Version 2022.3.1109
Product RadChartView3D for WPF

Description

The 3D ChartView element is rendered fragmented on devices with specific video and processor models and drivers.

Solution

No stable solution is provided for this issue. The issue may come from the video device or the related driver. The result is that the machine cannot render the information coming from the WPF 3D rendering engine properly. You may notice glitches or a fragmented image.

Fragmented chart visualization

A picture showing RadCartesianChart3D with bad rendering

Possible solution is to update the drivers of the video card. Additional to this, try disabling the hardware acceleration in WPF.

[C#]

{{region kb-chartview3d-general-rendering-issue-0}} public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); }

	protected override void OnSourceInitialized(EventArgs e)
	{
		var hwnd = PresentationSource.FromVisual(this) as HwndSource;
		if (hwnd != null)
		{
			hwnd.CompositionTarget.RenderMode = RenderMode.SoftwareOnly;
		}
		base.OnSourceInitialized(e);
	}
}

{{endregion}}