When I run the LegendModifier example from tutorial, I just got an error
FATAL EXCEPTION: main
Process: br.cta.ipev.scicharttutorial, PID: 16941
ModifierGroup legendModifier = sciChartBuilder.newModifierGroup() .withLegendModifier().withOrientation(Orientation.HORIZONTAL).withPosition(Gravity.TOP | Gravity.START, 16).build() .build(); surface.getChartModifiers().add(legendModifier);
- Wagner Lima asked 4 years ago
- Hi Wagner. As I understand you mean this tutorial ( https://www.scichart.com/documentation/android/v2.x/webframe.html#Tutorial%2005%20-%20Adding%20Tooltips%20and%20Legends.html ). So I tried to run our project which was created for this tutorial ( project is abit outdated so I had to update Android SDK and Gradle plugin to run it in latest Android Studio ) and I didn’t see any exceptions. You can find project in our Github repository ( https://github.com/ABTSoftware/SciChart.Android.Examples/tree/master/v2.x/Tutorials ). So I want to ask you to provide a project which reproduce this issue so I could debug it on my PC. Thanks in advance.
- Hi Yura! Thanks for you help. I’ve changed compileSdkVersion from 27 to 25, updated gradle and the chart legend has been shown.
- You must login to post comments