SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components
HI,
I’m trying to go through the “Your First App” tutorials
I’ve completed the first one:
“Creating your First SciChart Android App – Part 1”:
https://www.scichart.com/documentation/android/current/webframe.html#Creating%20your%20First%20SciChart%20Android%20App%20-%20Part%201.html
which seems fine.
I then go to
“Creating your First SciChart Android App – Part 2”:
https://www.scichart.com/documentation/android/current/webframe.html#Creating%20your%20First%20SciChart%20Android%20App%20-%20Part%202.html
Unfortunately, I don’t see the SciChart items in the Palette when I scroll down to the Custom section.
Could you point to how I can make SciChart available please?
Screen shots attached.
Thank you,
Ed
Hi Ed,
Well A ndroid Studio just provides a conviniet UI for manipulating XML layouts. However you can decrare SciChartSurface manually in your XML layout like this :
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<com.scichart.charting.visuals.SciChartSurface
android:id="@+id/chart"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
</LinearLayout>
If you correctly referenced SciChart libraries in your project this should be enough to compile project without any errors.
Best regards,
Yura
Please login first to submit.