Shadow caused by dragging the form size。
Window maximization or minimization restoration can restore normal display
Refresh with residual shadows
Moderator: Queue Moderators
Refresh with residual shadows
- Attachments
-
- 残影截图.png (153.11 KiB) Viewed 2132 times
-
- normaldisplay.jpg (147.11 KiB) Viewed 2132 times
-
- Posts: 141
- Joined: Wed Mar 27, 2019 1:05 pm
Re: Refresh with residual shadows
Hello,
We tried to reproduce the effect seen in the image but couldn't do so. The chart behaved correctly when the form (window) was resized. Therefore, we would need more detailed instructions to reproduce the issue, or even a small test project.
One thing that can be tried is to subscribe to SizeChanged event, and call chart.FullRepaint() inside it. This forces an extra frame to be rendered when the form has been resized.
Best regards,
Lasse
We tried to reproduce the effect seen in the image but couldn't do so. The chart behaved correctly when the form (window) was resized. Therefore, we would need more detailed instructions to reproduce the issue, or even a small test project.
One thing that can be tried is to subscribe to SizeChanged event, and call chart.FullRepaint() inside it. This forces an extra frame to be rendered when the form has been resized.
Code: Select all
_chart.SizeChanged += _chart_SizeChanged;
private void _chart_SizeChanged(object sender, EventArgs e)
{
_chart.FullRepaint();
}
Lasse