Page 1 of 1

Install Xamarin android library by hand

Posted: Fri Dec 02, 2016 12:54 am
by 17279216
Hi,

Using Xamarin.Android I did install TeeChart as a Xamarin Component the trial version of TeeChart. All was good.

After buying the license, I wanted to install the official TeeChart library.

What I did was the following:
- In Xamarin studio, I edited the project 'References' and added TeeChart.Android.dll to my references.

All built properly however all the charts were displayed incorrectly.

Can you please tell me what are the correct steps to install the TeeChart library in Xamarin.android.


PS: I did attach two snapshot one taken using the trial version (good) and one using the official library (bad)
Screen Shot 2016-12-02 at 11.23.50 AM.png
The chart as it is displayed using the trial; xamarin component
Screen Shot 2016-12-02 at 11.23.50 AM.png (465.55 KiB) Viewed 9266 times

Bad Chart (please see fonts)
Screen Shot 2016-12-02 at 11.07.06 AM.png
The chart as it is displayed using the official library
Screen Shot 2016-12-02 at 11.07.06 AM.png (397.47 KiB) Viewed 9268 times
Thanks

Re: Install Xamarin android library by hand

Posted: Sun Dec 04, 2016 11:14 pm
by 17279216
In my previous post, I thought I did mis-configure the installation of the licensed Chart library. However, it seems that the new library displayed all fonts incorrectly. It seems that it is a new feature, but unfortunately this new feature is not backward compatible.

I had to go through all font size settings and adjust it and divide each setting by 'pixel by sp'.

I could not find any documentation regarding this new 'font size' feature.

Re: Install Xamarin android library by hand

Posted: Mon Dec 05, 2016 9:41 am
by yeray
Hello,

We are investigating if this is an intentional new feature (with or without backwards compatibility) or a bug.

Re: Install Xamarin android library by hand

Posted: Mon Dec 05, 2016 10:48 am
by yeray
Hello,
theyield wrote:I had to go through all font size settings and adjust it and divide each setting by 'pixel by sp'.

I could not find any documentation regarding this new 'font size' feature.
Indeed, we did some modifications to improve the font sizes supporting any ComplexUnitType (by default using ComplexUnitType.Sp) in any font.
We did this change because until then, setting a font size was giving a very different result in different devices.

I'm sorry for the inconvenience generated.