Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nasa/openmct.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAndrew Henry <andrew.k.henry@nasa.gov>2017-01-26 22:34:05 +0300
committerGitHub <noreply@github.com>2017-01-26 22:34:05 +0300
commit4f24c46e9b2b3a078a9037d9ad2836460e30ba41 (patch)
treef88bba12973ad536df53ce4a935bfaec4eb26188 /docs
parentd262c4428ea791da8c77f04e694d1168412ad4e5 (diff)
parent49560698f67a53d117d4fcd51050f3681e0fba32 (diff)
Merge pull request #1406 from nasa/separate-timeline-and-plot
[Reorg] Make timeline-specific chart directive
Diffstat (limited to 'docs')
-rw-r--r--docs/src/guide/index.md35
1 files changed, 0 insertions, 35 deletions
diff --git a/docs/src/guide/index.md b/docs/src/guide/index.md
index c4d52c950..4e8684fc3 100644
--- a/docs/src/guide/index.md
+++ b/docs/src/guide/index.md
@@ -1339,41 +1339,6 @@ are supported:
Open MCT defines several Angular directives that are intended for use both
internally within the platform, and by plugins.
-## Chart
-
-The `mct-chart` directive is used to support drawing of simple charts. It is
-present to support the Plot view, and its functionality is limited to the
-functionality that is relevant for that view.
-
-This directive is used at the element level and takes one attribute, `draw`
-which is an Angular expression which will should evaluate to a drawing object.
-This drawing object should contain the following properties:
-
-* `dimensions`: The size, in logical coordinates, of the chart area. A
-two-element array or numbers.
-* `origin`: The position, in logical coordinates, of the lower-left corner of
-the chart area. A two-element array or numbers.
-* `lines`: An array of lines (e.g. as a plot line) to draw, where each line is
-expressed as an object containing:
- * `buffer`: A Float32Array containing points in the line, in logical
- coordinates, in sequential x,y pairs.
- * `color`: The color of the line, as a four-element RGBA array, where
- each element is a number in the range of 0.0-1.0.
- * `points`: The number of points in the line.
-* `boxes`: An array of rectangles to draw in the chart area. Each is an object
-containing:
- * `start`: The first corner of the rectangle, as a two-element array of
- numbers, in logical coordinates.
- * `end`: The opposite corner of the rectangle, as a two-element array of
- numbers, in logical coordinates. color : The color of the line, as a
- four-element RGBA array, where each element is a number in the range of
- 0.0-1.0.
-
-While `mct-chart` is intended to support plots specifically, it does perform
-some useful management of canvas objects (e.g. choosing between WebGL and Canvas
-2D APIs for drawing based on browser support) so its usage is recommended when
-its supported drawing primitives are sufficient for other charting tasks.
-
## Container
The `mct-container` is similar to the `mct-include` directive insofar as it allows