diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2013-12-25 19:15:25 +0400 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2013-12-25 19:15:25 +0400 |
commit | 3e598f8d4775ebdb53ea7da7aa896c6d30e5394f (patch) | |
tree | 0f2dedbe38ec3f4b60c4b2d68dbfdca31951b84f /js/chart.js | |
parent | 7221ebedb595748880ec9e2eabc1fcf22de52643 (diff) |
Add missing validator. Fix typo
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'js/chart.js')
-rw-r--r-- | js/chart.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/chart.js b/js/chart.js index d1f6763bc6..51a5baf9b0 100644 --- a/js/chart.js +++ b/js/chart.js @@ -369,6 +369,7 @@ JQPlotSplineChart.prototype.populateOptions = function (dataTable, options) { */ var JQPlotScatterChart = function (elementId) { JQPlotLineChart.call(this, elementId); + this.validator = ScatterChart.prototype; }; JQPlotScatterChart.prototype = new JQPlotLineChart(); JQPlotScatterChart.prototype.constructor = JQPlotScatterChart; @@ -438,7 +439,7 @@ var JQPlotTimelineChart = function (elementId) { this.validator = TimelineChart.prototype; }; JQPlotTimelineChart.prototype = new JQPlotLineChart(); -JQPlotTimelineChart.prototype.constructor = JQPlotAreaChart; +JQPlotTimelineChart.prototype.constructor = JQPlotTimelineChart; JQPlotTimelineChart.prototype.populateOptions = function (dataTable, options) { var optional = { |