Permalink
Browse files

Merge branch 'jorrit-patch-1' into develop

  • Loading branch information...
2 parents f4f8c97 + 08ac88d commit 2edda67b83f48d7597d504637ac13b6782a38b7c @bjornd committed May 7, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/data-series.js
View
4 src/data-series.js
@@ -7,7 +7,7 @@
* @param {Array} params.scale Values used to map a dimension of data to a visual representation. The first value sets visualization for minimum value from the data set and the last value sets visualization for the maximum value. There also could be intermidiate values. Default value is <code>['#C8EEFF', '#0071A4']</code>.
* @param {Function|String} params.normalizeFunction The function used to map input values to the provided scale. This parameter could be provided as function or one of the strings: <code>'linear'</code> or <code>'polynomial'</code>, while <code>'linear'</code> is used by default. The function provided takes value from the data set as an input and returns corresponding value from the scale.
* @param {Number} params.min Minimum value of the data set. Could be calculated automatically if not provided.
- * @param {Number} params.min Maximum value of the data set. Could be calculated automatically if not provided.
+ * @param {Number} params.max Maximum value of the data set. Could be calculated automatically if not provided.
*/
jvm.DataSeries = function(params, elements, map) {
var scaleConstructor;
@@ -147,7 +147,7 @@ jvm.DataSeries.prototype = {
/**
* Set normalize function of the data series.
- * @param {Function|String} normilizeFunction.
+ * @param {Function|String} f Normalize function.
*/
setNormalizeFunction: function(f) {
this.scale.setNormalizeFunction(f);

0 comments on commit 2edda67

Please sign in to comment.