Install Xamarin android library by hand

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
theyield
Newbie
Newbie
Posts: 16
Joined: Thu Sep 22, 2016 12:00 am

Install Xamarin android library by hand

Post by theyield » Fri Dec 02, 2016 12:54 am

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 8874 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 8876 times
Thanks

theyield
Newbie
Newbie
Posts: 16
Joined: Thu Sep 22, 2016 12:00 am

Re: Install Xamarin android library by hand

Post by theyield » Sun Dec 04, 2016 11:14 pm

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.

Yeray
Site Admin
Site Admin
Posts: 9533
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Install Xamarin android library by hand

Post by Yeray » Mon Dec 05, 2016 9:41 am

Hello,

We are investigating if this is an intentional new feature (with or without backwards compatibility) or a bug.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Yeray
Site Admin
Site Admin
Posts: 9533
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Install Xamarin android library by hand

Post by Yeray » Mon Dec 05, 2016 10:48 am

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply