mirror of
https://github.com/nasa/openmct.git
synced 2025-01-31 00:23:54 +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.
|
* Module defining PlotController. Created by vwoeltje on 11/12/14.
|
||||||
*/
|
*/
|
||||||
define(
|
define(
|
||||||
["./GLPlotPreparer", "./PlotPalette", "../lib/moment.min.js"],
|
["./PlotPreparer", "./PlotPalette", "../lib/moment.min.js"],
|
||||||
function (GLPlotPreparer, PlotPalette) {
|
function (PlotPreparer, PlotPalette) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var AXIS_DEFAULTS = [
|
var AXIS_DEFAULTS = [
|
||||||
@ -110,7 +110,7 @@ define(
|
|||||||
|
|
||||||
data = telemetry.getResponse();
|
data = telemetry.getResponse();
|
||||||
|
|
||||||
prepared = new GLPlotPreparer(
|
prepared = new PlotPreparer(
|
||||||
data,
|
data,
|
||||||
($scope.axes[0].active || {}).key,
|
($scope.axes[0].active || {}).key,
|
||||||
($scope.axes[1].active || {}).key
|
($scope.axes[1].active || {}).key
|
||||||
|
@ -10,7 +10,7 @@ define(
|
|||||||
|
|
||||||
function identity(x) { return x; }
|
function identity(x) { return x; }
|
||||||
|
|
||||||
function GLPlotPreparer(datas, domain, range) {
|
function PlotPreparer(datas, domain, range) {
|
||||||
var index,
|
var index,
|
||||||
vertices = [],
|
vertices = [],
|
||||||
max = [Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY],
|
max = [Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY],
|
||||||
@ -86,7 +86,7 @@ define(
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
return GLPlotPreparer;
|
return PlotPreparer;
|
||||||
|
|
||||||
}
|
}
|
||||||
);
|
);
|
Loading…
x
Reference in New Issue
Block a user