When a Bar Graph is defined in XML and if there are no points defined in onCreate() (i.e. barGraph.setPoints(points); is not set), it causes the app to be crashed without any logcat information. Hence, there is no possibility to define a plot in a layout initially and add the points dynamically through the app in a later stage.
When a Bar Graph is defined in XML and if there are no points defined in onCreate() (i.e. barGraph.setPoints(points); is not set), it causes the app to be crashed without any logcat information. Hence, there is no possibility to define a plot in a layout initially and add the points dynamically through the app in a later stage.