Hello
We have chart in LinearLayout with layout_weight
<!--chart layout-->
<FrameLayout
android:layout_weight="0.8"
android:id="@+id/chart_consistency_layout"
android:layout_width="0dp"
android:layout_height="match_parent" />
<!--Panel layout-->
<LinearLayout
android:layout_margin="10dp"
android:orientation="vertical"
android:id="@+id/chart_panel"
android:layout_weight="0.2"
android:layout_width="0dp"
android:layout_height="match_parent"
>
We add the chart to the FrameLayout
When the chart load this look good we have the chart and the panel in the left
(look in the attached pic1)
When the orientation changed to landscape mode the chart not render until we touch
The chart and start trackball left or right (look in the attached pic2)
And when the orientation changed to portrait mode the horizontal axis not render
render until we touch
The chart and start trackball left or right (look in the attached pic3)
How can we solve this problem?
Best Regards