[vis] fix axis labels display (#2066)

* re-render chart after adjusting for long axis labels

* measure all of the labels and take the max height

* add missing isTimeSeries var

* fix linting

* use jQuery to get text ticks

* rotate 45 rather than 90
This commit is contained in:
Alanna Scott
2017-01-31 11:15:59 -08:00
committed by GitHub
parent 3a5a927dc6
commit e169c67760
2 changed files with 36 additions and 1 deletions

View File

@@ -18,7 +18,7 @@ const ROW_LIMIT_OPTIONS = [10, 50, 100, 250, 500, 1000, 5000, 10000, 50000];
const SERIES_LIMITS = [0, 5, 10, 25, 50, 100, 500];
const TIME_STAMP_OPTIONS = [
export const TIME_STAMP_OPTIONS = [
['smart_date', 'Adaptative formating'],
['%m/%d/%Y', '%m/%d/%Y | 01/14/2019'],
['%Y-%m-%d', '%Y-%m-%d | 2019-01-14'],