Skip to content

Commit

Permalink
Add missing validator. Fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
  • Loading branch information
madhuracj committed Dec 25, 2013
1 parent 7221ebe commit 3e598f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/chart.js
Expand Up @@ -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;
Expand Down Expand Up @@ -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 = {
Expand Down

0 comments on commit 3e598f8

Please sign in to comment.