[Frontend] Mods to allow plot tick labels to ellipsis to left

open #337
Tick label strings are now reversed in their char order in
PlotTickGenerator.js, then reversed again via CSS in
_plots-main.scss. This forces the browser to clip the label
at the left 'start' side, rather than the end, resulting in
the least significant portion of the label getting clipped.
This commit is contained in:
Charles Hacskaylo
2016-01-12 18:04:09 -08:00
parent 9cc03123b1
commit 9b59fd7eae
4 changed files with 21 additions and 13 deletions

View File

@@ -243,6 +243,8 @@ $plotDisplayArea: ($legendH + $interiorMargin, 0, $xBarH + $interiorMargin, $yBa
.gl-plot-tick,
.tick-label {
direction: rtl;
unicode-bidi:bidi-override;
font-size: 0.7rem;
position: absolute;
overflow: hidden;