mirror of
https://github.com/nasa/openmct.git
synced 2025-05-09 20:12:50 +00:00
[Frontend] Mods to allow plot tick labels to ellipsis to left
open #337 Still fixing code due to circleci fail in pull request;
This commit is contained in:
parent
5e628b1a25
commit
8c325eb1b1
@ -62,7 +62,7 @@ define(
|
|||||||
|
|
||||||
for (i = 0; i < count; i += 1) {
|
for (i = 0; i < count; i += 1) {
|
||||||
tickVal = format(i * step + start);
|
tickVal = format(i * step + start);
|
||||||
if (tickVal != undefined) {
|
if (tickVal !== undefined) {
|
||||||
// Make the tick value have its ellipsis on the least significant left side by reversing it here,
|
// Make the tick value have its ellipsis on the least significant left side by reversing it here,
|
||||||
// and then reversing it again via CSS.
|
// and then reversing it again via CSS.
|
||||||
tickVal = tickVal.toString().split('').reverse().join('');
|
tickVal = tickVal.toString().split('').reverse().join('');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user