diff options
author | Pete Richards <peter.l.richards@nasa.gov> | 2018-11-07 21:14:45 +0300 |
---|---|---|
committer | Pete Richards <peter.l.richards@nasa.gov> | 2018-11-07 21:14:45 +0300 |
commit | 720aaf151d0cbdf6e93190cac256ffcdec467167 (patch) | |
tree | 9969d07e32f48d239d591b19327987459d1b46ad | |
parent | 4bda4080d2031be54d29afdc3663ed8e74a40d2a (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.scss | 1 | ||||
-rw-r--r-- | src/plugins/plot/res/templates/mct-plot.html | 2 |
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> |