use of org.eazegraph.lib.models.BarModel in project EazeGraph by blackfizz.
the class BarChartFragment method loadData.
private void loadData() {
mBarChart.addBar(new BarModel(2.3f, 0xFF123456));
mBarChart.addBar(new BarModel(2.f, 0xFF343456));
mBarChart.addBar(new BarModel(3.3f, 0xFF563456));
mBarChart.addBar(new BarModel(1.1f, 0xFF873F56));
mBarChart.addBar(new BarModel(2.7f, 0xFF56B7F1));
mBarChart.addBar(new BarModel(2.f, 0xFF343456));
mBarChart.addBar(new BarModel(0.4f, 0xFF1FF4AC));
mBarChart.addBar(new BarModel(4.f, 0xFF1BA4E6));
mBarChart.addBar(new BarModel(2.3f, 0xFF123456));
mBarChart.addBar(new BarModel(2.f, 0xFF343456));
mBarChart.addBar(new BarModel(3.3f, 0xFF563456));
mBarChart.addBar(new BarModel(1.1f, 0xFF873F56));
mBarChart.addBar(new BarModel(2.7f, 0xFF56B7F1));
mBarChart.addBar(new BarModel(2.f, 0xFF343456));
mBarChart.addBar(new BarModel(0.4f, 0xFF1FF4AC));
mBarChart.addBar(new BarModel(4.f, 0xFF1BA4E6));
}
use of org.eazegraph.lib.models.BarModel in project EazeGraph by blackfizz.
the class VerticalBarChartFragment method loadData.
private void loadData() {
mBarChart.addBar(new BarModel(2.3f, 0xFF123456));
mBarChart.addBar(new BarModel(2.f, 0xFF343456));
mBarChart.addBar(new BarModel(3.3f, 0xFF563456));
mBarChart.addBar(new BarModel(1.1f, 0xFF873F56));
mBarChart.addBar(new BarModel(2.7f, 0xFF56B7F1));
mBarChart.addBar(new BarModel(2.f, 0xFF343456));
mBarChart.addBar(new BarModel(0.4f, 0xFF1FF4AC));
mBarChart.addBar(new BarModel(4.f, 0xFF1BA4E6));
// mBarChart.addBar(new BarModel(2.3f, 0xFF123456));
// mBarChart.addBar(new BarModel(2.f, 0xFF343456));
// mBarChart.addBar(new BarModel(3.3f, 0xFF563456));
// mBarChart.addBar(new BarModel(1.1f, 0xFF873F56));
// mBarChart.addBar(new BarModel(2.7f, 0xFF56B7F1));
// mBarChart.addBar(new BarModel(2.f, 0xFF343456));
// mBarChart.addBar(new BarModel(0.4f, 0xFF1FF4AC));
// mBarChart.addBar(new BarModel(4.f, 0xFF1BA4E6));
}
Aggregations