Legend items appear blurry or clipped when rendering to a window


Author
Message
Lance Levendowski
Lance Levendowski
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 60, Visits: 157
Thanks for the update and for testing it with a GeForce.

Did you try my sample code with a DPI setting of 125%?  You might have to resize the form (which resizes the chart) in order to notice the clipping of legend text.  I’m using Windows 10 x64, but I'm not sure if that matters.


Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hi Lance,

We tested on an older Nvidia GeForce (650 Ti) and everything worked OK... we'll also will try to find one of the boards you experience problems with...


Best Regards,
Nevron Support Team


Lance Levendowski
Lance Levendowski
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 60, Visits: 157
Thanks for the feedback.  I doubt you'll have issues with the Radeon R9 series because this issue did not occur on the Radeon system that I tested.  So far this issue has occurred on every GeForce system that I've tested (GTX 760, GTX 970, and GTX 980M), all of which were running Windows 10 x64 and had updated drivers.  As I reported, I also have an issue on a system with Intel HD Graphics 4000 and Windows 7 x64.

Is there any way for you to test on a GeForce system?


Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hi Lance,

We don't have any of the problematic video boards here - the controls were tested primary on the Intel based video boards and some ATI models and we have had very little complaints about the hardware accelerated rendering most of which were fixed after the latest video board drivers are installed (which leads us to think that those issues are caused by the particular OpenGL implementation). We're going to perform tests this week on the Radeon R9 series of video boards and will let you know if we find issues with ATI drivers.

Best Regards,
Nevron Support Team


Lance Levendowski
Lance Levendowski
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 60, Visits: 157
Can you please give me an update on this issue?
Thank you.

Lance Levendowski
Lance Levendowski
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 60, Visits: 157
You are correct that this issue seems to be dependent on the video card.

I tested my sample code on several computers and here are the results:

1. GeForce GTX 760, Windows 10 x64 - Legend text is clipped at various chart sizes as it is on the GeForce GTX 980M
2. Old Notebook with Radeon Video Card, Windows 10 x64 - No issues with the Legend.
3. Desktop using Intel HD Graphics 4000, Windows 7 x64 - Several characters in the Legend are displaced to the top-left corner, most other characters appear washed out (see image).

https://www.nevron.com/forum/uploads/images/9d6cea2a-410b-4ca0-97a3-9957.png

Hope this helps.  Please let me know if you need any more information.

Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

Hi Lance,

This issue is most likely related to the video board as we were unable to reproduce it on Win7/Win10 machines. Do you experience this behavior on other machines as well?



Best Regards,
Nevron Support Team


Lance Levendowski
Lance Levendowski
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 60, Visits: 157
The issue exists in builds 16.4.15.12 and 16.5.9.12.

System Specs:
Windows 10 Pro x64
Intel Core i7-4790K
Geforce GTX 980M (Driver 365.10-notebook-win10-64bit)
32 GB RAM
1920 x 1080
125% DPI

Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hi Lance,

We still cannot reproduce this problem - we tested with 125% dpi on a Win7 machine using the latest version and there was no text clipping - what is the version you're currently testing with? Also what is the version of Windows?


Best Regards,
Nevron Support Team


Lance Levendowski
Lance Levendowski
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 60, Visits: 157
Thank you for the feedback.  I tried setting the BorderStyle.Width properties that you listed to "new NLength(1, NGraphicsUnit.Pixel)", but that did not prevent text in the legend from being clipped.

Were you able to reproduce the issue using my example code with a DPI setting of 125%?

I've also noticed that the size of the NChartControl affects the issue.  For example, if I run my example code then the top of text in the legend is clipped.  If I increase the size of the form then text in the legend is no longer clipped.  But, if I keep increasing the size of the form then text in the legend becomes clipped again.

The same is true if I run "All Examples - Panels - Legend - Position" and set the chart's Render Surface to Window (see screen shot).

https://www.nevron.com/forum/uploads/images/d2e31309-6393-43d5-9713-4cae.png


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search