From 44b75a6b5d1df7fa41e1262ea668ab8f5329087c Mon Sep 17 00:00:00 2001 From: Daniel Cohen Gindi Date: Fri, 20 Mar 2015 09:19:26 +0200 Subject: [PATCH] Missing one xAxis entry --- .../mpchartexample/HorizontalBarChartActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MPChartExample/src/com/xxmassdeveloper/mpchartexample/HorizontalBarChartActivity.java b/MPChartExample/src/com/xxmassdeveloper/mpchartexample/HorizontalBarChartActivity.java index db15dfc0db..c2ffb27a78 100644 --- a/MPChartExample/src/com/xxmassdeveloper/mpchartexample/HorizontalBarChartActivity.java +++ b/MPChartExample/src/com/xxmassdeveloper/mpchartexample/HorizontalBarChartActivity.java @@ -224,7 +224,7 @@ public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { tvX.setText("" + (mSeekBarX.getProgress() + 1)); tvY.setText("" + (mSeekBarY.getProgress())); - setData(mSeekBarX.getProgress(), mSeekBarY.getProgress()); + setData(mSeekBarX.getProgress() + 1, mSeekBarY.getProgress()); mChart.invalidate(); }