We are having an issue when exporting charts using the GetStream() method. Initially, it appeared as though the size of the fonts were bigger and that was causing the graph to be squashed. However, reducing the font size only made some difference and we still cannot see the graphs properly on some devices. I attach two images from a PDF we are creating by using GetStream() to export the charts. One of them is from an OPPO Ax7 and the other is from a Pixel 2. As you can see the Pixel 2 version is very cramped where the OPPO version is not.
This issue does not occur when exporting on iOS, only Android.
I also attach the code we are using to generate the chart itself (which is them exported using GetStream() and added to a PDF.
In case anyone stumbles across a similar issue in the future, the resolution to this issue was to multiply the heightrequest and widthrequest by the devices pixel density factor (this.Resources.DisplayMetrics.Density in the Android project) before calling GetStream().
Thanks to the support team for pointing me in the right direction!
BKBharathiraja K Syncfusion Team February 22, 2019 04:02 AM