diff --git a/src/Line.js b/src/Line.js
index 22f5d0f..e836c98 100755
--- a/src/Line.js
+++ b/src/Line.js
@@ -83,12 +83,17 @@ export default class LineChart extends Component {
margin:options.margin
}
+ let showAreas = typeof(this.props.options.showAreas) != 'undefined' ? this.props.options.showAreas : true;
let lines = _.map(chart.curves, function (c, i) {
return
}.bind(this))
- let areas = _.map(chart.curves, function (c, i) {
- return
- }.bind(this))
+ let areas = null;
+
+ if(showAreas){
+ areas = _.map(chart.curves, function (c, i) {
+ return
+ }.bind(this))
+ }
let offset = {
x: chartArea.margin.left * -1,