Blackberry Bar-Graph Field & Output
Pass the values to Bar-Graph Field VerticalFieldManager graphLayout = new VerticalFieldManager( VerticalFieldManager.FIELD_HCENTER); // Graph BarGraphField _barGraph = new BarGraphField(values, colors, 10, 1, 10, BarGraphField.PADDING_MEDIUM, BarGraphField.PADDING_MEDIUM,true); _barGraph.setPadding(2, 10, 5, 10); graphLayout.add(_barGraph); Output: