ABTSoftware / SciChart.Xamarin.Forms

Xamarin Forms custom renderers for SciChart iOS, Android and WPF
0 stars 2 forks source link

Chart does not appear in Android 8.1 #1

Open patlaundy opened 6 years ago

patlaundy commented 6 years ago

I've cloned this repo, downloaded the necessary NuGet packages, I had to manually download and reference the projects SciChart.UI.Bootstrap and SciChart.UI.Reactive, I'm using my own demo license in App.xaml.cs. The TestApp.UI.Android project is targeting Android 8.1.

However when running in an Android 8.1 emulator the chart doesn't show, the app loads, but nothing appears (see screenshot). Is there anything I'm missing here? capture

Cheers

andyb1979 commented 6 years ago

I have it working on a device (not tried emulator) with the latest commit

Please be advised, the new readme says:

This repository was created as a proof of concept that SciChart can be used in Xamarin.Forms with custom renderers for iOS, Android and WPF.

We've only mapped a few types, such as the SciChartSurface, one axis type and one series and one DataSeries. Not all properties of the above are fully mapped.

This project is currently paused as we continue to develop our WPF/iOS/Android charts, including bringing 3D Charts to mobile soon, and feasibiltity in porting to Mac. Once we have got a few of those projects out the way, we will come back to this in earnest :)

patlaundy commented 6 years ago

Thank you Andy, that update worked, it now loads and displays fine in the emulator. Using Xamarin Forms, will we be able to use the full features of SciCharts (ie multiple axis, tooltips/annotations, pan/zoom)? Or will this require custom coding?

andyb1979 commented 6 years ago

Well, as it says in the readme, this is very early proof of concept, hardly any types have been mapped. However theoretically all features can be exposed to Xamarin Forms. There's a lot of boilerplate wrapping code to write, but we're interested in using it in one of our projects so we might end up doing it. Some projects internally to SciChart have taken precidence though for now ...