diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2013-01-16 04:21:57 +0400 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2013-01-16 04:21:57 +0400 |
commit | 4ca7711e9fc8ae08d4f63afeadb6ad17e3e913bc (patch) | |
tree | 7ad20eb050e2dba521e18d6dcc19c57b259ec458 /js/chart.js | |
parent | 50865948fae6f035ded28f524ef681a0460da6f3 (diff) |
Fix typo
Diffstat (limited to 'js/chart.js')
-rw-r--r-- | js/chart.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/js/chart.js b/js/chart.js index 62edf4b23f..9e86f2506b 100644 --- a/js/chart.js +++ b/js/chart.js @@ -189,7 +189,7 @@ JQPlotChartFactory.prototype.createChart = function(type, elementId) { chart = new JQPlotSplineChart(elementId); break; case ChartType.TIMELINE: - chart = new JQPloatTimelineChart(elementId); + chart = new JQPlotTimelineChart(elementId); break; case ChartType.AREA: chart = new JQPlotAreaChart(elementId); @@ -341,14 +341,14 @@ JQPlotSplineChart.prototype.populateOptions = function(dataTable, options) { * @param elementId * id of the div element the chart is drawn in */ -var JQPloatTimelineChart = function(elementId) { +var JQPlotTimelineChart = function(elementId) { JQPlotLineChart.call(this, elementId); this.validator = TimelineChart.prototype; }; -JQPloatTimelineChart.prototype = new JQPlotLineChart(); -JQPloatTimelineChart.prototype.constructor = JQPlotAreaChart; +JQPlotTimelineChart.prototype = new JQPlotLineChart(); +JQPlotTimelineChart.prototype.constructor = JQPlotAreaChart; -JQPloatTimelineChart.prototype.populateOptions = function(dataTable, options) { +JQPlotTimelineChart.prototype.populateOptions = function(dataTable, options) { var optional = { axes : { xaxis : { @@ -370,7 +370,7 @@ JQPloatTimelineChart.prototype.populateOptions = function(dataTable, options) { return optional; }; -JQPloatTimelineChart.prototype.prepareData = function(dataTable) { +JQPlotTimelineChart.prototype.prepareData = function(dataTable) { var data = dataTable.getData(), row, d; var retData = [], retRow; for ( var i = 0; i < data.length; i++) { |