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
diff options
context:
space:
mode:
authorPete Richards <peter.l.richards@nasa.gov>2018-11-07 21:14:45 +0300
committerPete Richards <peter.l.richards@nasa.gov>2018-11-07 21:14:45 +0300
commit720aaf151d0cbdf6e93190cac256ffcdec467167 (patch)
tree9969d07e32f48d239d591b19327987459d1b46ad
parent4bda4080d2031be54d29afdc3663ed8e74a40d2a (diff)
[Plot] Remove x-axis tick ellipsesfix-text-direction
Remove ellipses from x-axis ticks and reversal of tick text. This allows PNG export to export ticks correctly instead of reversed. Fixes #2177
-rw-r--r--platform/commonUI/general/res/sass/plots/_plots-main.scss1
-rw-r--r--src/plugins/plot/res/templates/mct-plot.html2
2 files changed, 1 insertions, 2 deletions
diff --git a/platform/commonUI/general/res/sass/plots/_plots-main.scss b/platform/commonUI/general/res/sass/plots/_plots-main.scss
index fe034cf9e..80297fd61 100644
--- a/platform/commonUI/general/res/sass/plots/_plots-main.scss
+++ b/platform/commonUI/general/res/sass/plots/_plots-main.scss
@@ -268,7 +268,6 @@
.gl-plot-tick,
.tick-label {
- @include reverseEllipsis();
font-size: 0.7rem;
position: absolute;
&.gl-plot-x-tick-label,
diff --git a/src/plugins/plot/res/templates/mct-plot.html b/src/plugins/plot/res/templates/mct-plot.html
index 9f018e0c8..85cafc292 100644
--- a/src/plugins/plot/res/templates/mct-plot.html
+++ b/src/plugins/plot/res/templates/mct-plot.html
@@ -193,7 +193,7 @@
left: (100 * (tick.value - min) / interval) + '%'
}"
ng-title=":: tick.fullText || tick.text">
- {{:: tick.text | reverse}}
+ {{:: tick.text }}
</div>
</mct-ticks>