Add missing validator. Fix typo

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
Madhura Jayaratne 2013-12-25 20:45:25 +05:30
parent 7221ebedb5
commit 3e598f8d47

View File

@ -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 = {