aboutsummaryrefslogtreecommitdiff
path: root/MPChartLib
diff options
context:
space:
mode:
authorDaniel Cohen Gindi <Danielgindi@gmail.com>2016-08-10 22:43:54 +0300
committerGitHub <noreply@github.com>2016-08-10 22:43:54 +0300
commit788539001ff66550fe895d2868c3a4b1a56df02c (patch)
tree0f4bf0d83de4a4cacad95d6a9bee0eaab348a19a /MPChartLib
parent31b0fd9ff94765e68022232099fe02b06113b182 (diff)
downloadMPAndroidChart-788539001ff66550fe895d2868c3a4b1a56df02c.tar.gz
Choose a default that matches the default v2 behavior
To avoid hurting existing stylings drastically
Diffstat (limited to 'MPChartLib')
-rw-r--r--MPChartLib/src/main/java/com/github/mikephil/charting/data/BarData.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/MPChartLib/src/main/java/com/github/mikephil/charting/data/BarData.java b/MPChartLib/src/main/java/com/github/mikephil/charting/data/BarData.java
index 20a27a5f..16d60f6f 100644
--- a/MPChartLib/src/main/java/com/github/mikephil/charting/data/BarData.java
+++ b/MPChartLib/src/main/java/com/github/mikephil/charting/data/BarData.java
@@ -15,7 +15,7 @@ public class BarData extends BarLineScatterCandleBubbleData<IBarDataSet> {
/**
* the width of the bars on the x-axis, in values (not pixels)
*/
- private float mBarWidth = 1f;
+ private float mBarWidth = 0.85f;
public BarData() {
super();
@@ -31,7 +31,7 @@ public class BarData extends BarLineScatterCandleBubbleData<IBarDataSet> {
/**
* Sets the width each bar should have on the x-axis (in values, not pixels).
- * Default 1f
+ * Default 0.85f
*
* @param mBarWidth
*/