Преглед изворни кода

Merge pull request #164 from dudukee/master

fix error shows in scrollable chart
An An пре 2 година
родитељ
комит
a7ddf90a17

+ 1 - 1
sample/src/main/java/com/github/aachartmodel/aainfographics/demo/additionalcontent/ScrollableChartActivity.kt

@@ -71,7 +71,7 @@ class ScrollableChartActivity : AppCompatActivity() {
         position: Int
     ) {
         if ((chartType == AAChartType.Area || chartType == AAChartType.Line)
-            && (position == 93 || position == 94)
+            && (position == 4 || position == 5)
         ) {
             configureStepAreaChartAndStepLineChart()
         } else if (chartType == AAChartType.Column || chartType == AAChartType.Bar) {