mirror of
https://github.com/nasa/openmct.git
synced 2025-01-18 02:39:56 +00:00
[Plot] Rename plot preparer
Rename the script used to prepare plot data for rendering. WTD-533.
This commit is contained in:
parent
14d152102b
commit
ac00c52589
@ -4,8 +4,8 @@
|
||||
* Module defining PlotController. Created by vwoeltje on 11/12/14.
|
||||
*/
|
||||
define(
|
||||
["./GLPlotPreparer", "./PlotPalette", "../lib/moment.min.js"],
|
||||
function (GLPlotPreparer, PlotPalette) {
|
||||
["./PlotPreparer", "./PlotPalette", "../lib/moment.min.js"],
|
||||
function (PlotPreparer, PlotPalette) {
|
||||
"use strict";
|
||||
|
||||
var AXIS_DEFAULTS = [
|
||||
@ -110,7 +110,7 @@ define(
|
||||
|
||||
data = telemetry.getResponse();
|
||||
|
||||
prepared = new GLPlotPreparer(
|
||||
prepared = new PlotPreparer(
|
||||
data,
|
||||
($scope.axes[0].active || {}).key,
|
||||
($scope.axes[1].active || {}).key
|
||||
|
@ -10,7 +10,7 @@ define(
|
||||
|
||||
function identity(x) { return x; }
|
||||
|
||||
function GLPlotPreparer(datas, domain, range) {
|
||||
function PlotPreparer(datas, domain, range) {
|
||||
var index,
|
||||
vertices = [],
|
||||
max = [Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY],
|
||||
@ -86,7 +86,7 @@ define(
|
||||
};
|
||||
}
|
||||
|
||||
return GLPlotPreparer;
|
||||
return PlotPreparer;
|
||||
|
||||
}
|
||||
);
|
Loading…
Reference in New Issue
Block a user