I need to synchronize the charts with external data. I’m using RenderSurface.ActualWidth and RenderSurface.ActualHeight to do it. But initial values (after chart creation) are larger than real. It becomes correct only after the window resizing. This behaviour is demonstrated in the attached project and video files.
Is it possible to make it right from the start or make a force resize?
- You must login to post comments
Oleksandr, have you tried to do the same actions with the attached project as in my video? According to the article XamlRenderSurface is available only in the enterprise version. I checked my display dpi, it is 96. I tried to set the same resolution as in the article, but the result is the same.
If ActualWidth, ActualHeight of SciChartSurface differ from the real pixel widths and heights, hot to get real values?
Again, window resize gives the correct result. Is it possible to force resize on the chart creation? It is a critical issue for the project.
Thanks.
- Alexander Erkabaev answered 5 years ago
- You must login to post comments
Hi Alexander,
Thanks for your question and sample project.
Unfortunately, I couldn’t reproduce this issue on our side.
This may happen when DPI is not 96. Please take a look at this article for more info:
https://support.scichart.com/index.php?/Knowledgebase/Article/View/17263/40/
Unfortunately, we cannot be more helpful without being able to reproduce the issue.
- Oleksandr Shvets answered 5 years ago
- You must login to post comments
Please login first to submit.