FlexChart not showing zoom rectangle in correct location with large DPI setting

Posted by: mhamilton on 20 November 2018, 7:34 pm EST

    • Post Options:
    • Link

    Posted 20 November 2018, 7:34 pm EST

    Hello,

    When I change the DPI to 125% on a PC running Win10 build 1607 up to Win10 build 1803 the FlexChart draws the zoom rectangle in the wrong spot given the mouse location or touch location. You can us the Zoom tab in the FlexChartExplorer example to reproduce the problem. Any work around for this?

    Thanks!FlexChartExplorer.zip

  • Posted 21 November 2018, 5:49 am EST

    Hi,

    We could reproduce the issue and found that for framework version 4.7(or above) and Windows Creator Update (or later) the issue can be resolved using High DPI support for Windows Forms (refer : https://docs.microsoft.com/en-us/dotnet/framework/winforms/high-dpi-support-in-windows-forms). You can verify this by using the attached modified sample (prj_FlexChartExplorer.zip).

    Also, we are discussing about any other possibility to solve the same, with the development team (ID: 354861). Will let you know what they suggests.

    Thank you.

    prj_FlexChartExplorer.zip

  • Posted 21 November 2018, 2:57 pm EST

    Hello,

    Thank you. I will install Win10 1809 and give it a try. My only concern is that the Win10 LTSB is on 1607 and just recently has be released with 1809 (as LTSC). So any work around that could work on Win10 versions before 1809 would be very beneficial.

    Thanks!

  • Posted 21 November 2018, 6:25 pm EST

    Hello,

    I was able to install Win10 IoT LTSC based on 1809 and it works great! Thanks for the help as I know DPI and winforms is always a pain.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels