Hello!
The legend is in horizontal orientation, and Im displaying multiple series.
When the legend is inside the chart (default config), Im able to scroll left or right to see all available series.
But when it is moved outside the chart, it is no longer scrollable. Checkboxes are still clickable to show or hide series.
Thinking it might be something interfering with the scroll gesture, I started a new project following the Android tutorial. It still stops working as soon as I move it outside the chart.
Is this a bug, or am I missing something?
This does not happens on iOS.
Regards
XML Layout
`
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_margin="30dp"
android:id="@+id/chart_layout"
android:layout_width="match_parent"
android:layout_height="500dp"
android:orientation="horizontal"/>
<com.scichart.charting.visuals.legend.SciChartLegend
android:id="@+id/legend"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_margin="10dp"/>
</LinearLayout>
`
Legend and LegendModifier config
final SciChartLegend legend = findViewById(R.id.legend);
legend.setLegendOrientation(Orientation.HORIZONTAL);
final LegendModifier legendModifier = new LegendModifier(legend, false);
surface.getChartModifiers().add(legendModifier);
- Rodrigo Garcia asked 2 years ago
- last edited 2 years ago
-
Hi Rodrigo, seems to be a bug, we can reproduce it. Our team is investigating.
- You must login to post comments
Please login first to submit.