debian-mirror-gitlab/app/assets/javascripts/projects/pipelines/charts/constants.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
585 B
JavaScript
Raw Normal View History

2020-03-13 15:44:24 +05:30
export const CHART_CONTAINER_HEIGHT = 300;
export const INNER_CHART_HEIGHT = 200;
export const X_AXIS_LABEL_ROTATION = 45;
export const X_AXIS_TITLE_OFFSET = 60;
export const ONE_WEEK_AGO_DAYS = 7;
export const ONE_MONTH_AGO_DAYS = 31;
2021-03-11 19:13:27 +05:30
export const ONE_YEAR_AGO_DAYS = 365;
2020-03-13 15:44:24 +05:30
export const CHART_DATE_FORMAT = 'dd mmm';
2021-02-22 17:27:13 +05:30
export const DEFAULT = 'default';
export const PARSE_FAILURE = 'parse_failure';
export const LOAD_ANALYTICS_FAILURE = 'load_analytics_failure';
export const LOAD_PIPELINES_FAILURE = 'load_analytics_failure';
export const UNSUPPORTED_DATA = 'unsupported_data';