An An 5 жил өмнө
parent
commit
089277397b

+ 2 - 1
app/src/main/AndroidManifest.xml

@@ -9,6 +9,7 @@
             android:roundIcon="@mipmap/ic_launcher_round"
             android:supportsRtl="true"
             android:theme="@style/AppTheme">
+        <activity android:name=".ChartsDemo.AdditionalContent.ScrollingUpdateDataActivity"></activity>
         <activity android:name=".MainActivity">
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
@@ -25,7 +26,7 @@
         <activity android:name=".ChartsDemo.AdditionalContent.EvaluateJSStringFunctionActivity" />
         <activity android:name=".ChartsDemo.AdditionalContent.HideOrShowChartSeriesActivity" />
         <activity android:name=".ChartsDemo.AdditionalContent.OnlyRefreshChartDataActivity" />
-        <activity android:name=".ChartsDemo.AdditionalContent.DoubleChartsLinkedWorkActivity"/>
+        <activity android:name=".ChartsDemo.AdditionalContent.DoubleChartsLinkedWorkActivity" />
     </application>
 
 </manifest>

+ 2 - 2
app/src/main/java/com/aachartmodel/aainfographics/ChartsDemo/AdditionalContent/OnlyRefreshChartDataActivity.kt

@@ -128,10 +128,10 @@ class OnlyRefreshChartDataActivity : AppCompatActivity() {
                 .name("2018")
                 .data(numberArr2 as Array<Any>),
             AASeriesElement()
-                .name("2017")
+                .name("2019")
                 .data(numberArr1 as Array<Any>),
             AASeriesElement()
-                .name("2018")
+                .name("2020")
                 .data(numberArr2 as Array<Any>)
         )
     }

+ 13 - 0
app/src/main/java/com/aachartmodel/aainfographics/ChartsDemo/AdditionalContent/ScrollingUpdateDataActivity.kt

@@ -0,0 +1,13 @@
+package com.aachartmodel.aainfographics.ChartsDemo.AdditionalContent
+
+import android.support.v7.app.AppCompatActivity
+import android.os.Bundle
+import com.aachartmodel.aainfographics.R
+
+class ScrollingUpdateDataActivity : AppCompatActivity() {
+
+    override fun onCreate(savedInstanceState: Bundle?) {
+        super.onCreate(savedInstanceState)
+        setContentView(R.layout.activity_scrolling_update_data)
+    }
+}

+ 9 - 0
app/src/main/res/layout/activity_scrolling_update_data.xml

@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+        xmlns:app="http://schemas.android.com/apk/res-auto"
+        xmlns:tools="http://schemas.android.com/tools"
+        android:layout_width="match_parent"
+        android:layout_height="match_parent"
+        tools:context=".ChartsDemo.AdditionalContent.ScrollingUpdateDataActivity">
+
+</android.support.constraint.ConstraintLayout>