diff --git a/CHANGELOG.md b/CHANGELOG.md
index a167df39..36304302 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
# Changelog
+## 2.5.0
+#### 05/04/14
+- Fixes issue #48.
+
## 2.4.3
#### 05/04/14
- Fixes issue #49.
diff --git a/JBChartView.podspec b/JBChartView.podspec
index d8615a96..37c8fc35 100644
--- a/JBChartView.podspec
+++ b/JBChartView.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "JBChartView"
- s.version = "2.4.3"
+ s.version = "2.5.0"
s.summary = "Jawbone's iOS-based charting library for both line and bar graphs."
s.homepage = "https://github.com/Jawbone/JBChartView"
@@ -10,7 +10,7 @@ Pod::Spec.new do |s|
s.author = { "Terry Worona" => "tworona@jawbone.com" }
s.source = {
:git => "https://github.com/Jawbone/JBChartView.git",
- :tag => "v2.4.3"
+ :tag => "v2.5.0"
}
s.platform = :ios, '7.0'
diff --git a/README.md b/README.md
index 013cb259..a4204b24 100644
--- a/README.md
+++ b/README.md
@@ -38,7 +38,7 @@ Simply add the following line to your Podfile:
Your Podfile should look something like:
platform :ios, '7.0'
- pod 'JBChartView', '~> 2.4.3'
+ pod 'JBChartView', '~> 2.5.0'
### The Old School Way
@@ -229,6 +229,21 @@ Lastly, a line chart's selection events are delegated back via:
}
The touchPoint is especially important as it allows you to add custom elements to your chart during selection events. Refer to the demo project (JBLineChartViewController) to see how a tooltip can be used to display additional information during selection events.
+
+## Minimum & Maximum Values
+
+By default, the a chart's minimum value (y-axis) will be clamped to 0. The maximum is equal to the max value supplied by the dataSource. You can override either value via:
+
+ - (void)setMinimumValue:(CGFloat)minimumValue;
+ - (void)setMaximumValue:(CGFloat)maximumValue;
+
+If value(s) are supplied, they must be >= 0, otherwise an assertion will be thrown. For the changes to take effect, reloadData must be called. To reset the values back to their original defaults:
+
+ - (void)resetMinimumValue;
+ - (void)resetMaximumValue;
+
+The min/max values are clamped to the ceiling and floor of the actual min/max values of the chart's data source; for example, if a maximumValue of 20 is supplied & the chart's actual max is 100, then 100 will be used. For min/max modifications to take effect, reloadData must be called.
+
## License