You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To my surprise, clicking the button does nothing (only initializes the view with the cartesian chart when clicked for the first time, every next click only reloads the view with the cartesian chart)
Am I doing something wrong or is it not possible to change charts on a view? (because I've tried having multiple views in one ConstraintLayout and only one of them was showing)
The text was updated successfully, but these errors were encountered:
Okay, in the meantime I have one more issue - when I set up two AnyChartViews in one layout, I cannot get two charts to show - if Iset their height to match_parent then one of them alwasy has height = 0dp like on this screenshot.
The only way I've managed to get both of them to show was by setting layout_height="0dp" and layout_weight="1" but in that way they are squashed and you can't really see all the data. Are there some recommendations as to how to make multiple views in a single layout?
I have a following layout:
And In my Activity I have the following code:
And the button in my layout has an OnClick listener set to the following method
To my surprise, clicking the button does nothing (only initializes the view with the cartesian chart when clicked for the first time, every next click only reloads the view with the cartesian chart)
Am I doing something wrong or is it not possible to change charts on a view? (because I've tried having multiple views in one ConstraintLayout and only one of them was showing)
The text was updated successfully, but these errors were encountered: