Apply capitalization guidelines - iteration 6 (#12343) (#12452)

This commit is contained in:
Michael S. Molina
2021-01-22 02:45:44 -03:00
committed by GitHub
parent 8532e6d9e1
commit 2a587f6cb1
11 changed files with 43 additions and 43 deletions

View File

@@ -45,7 +45,7 @@ const propTypes = {
};
const defaultProps = {
label: t('Time Series Columns'),
label: t('Time series columns'),
tooltip: '',
colType: '',
width: '',
@@ -65,14 +65,14 @@ const comparisonTypeOptions = [
{ value: 'value', label: 'Actual value' },
{ value: 'diff', label: 'Difference' },
{ value: 'perc', label: 'Percentage' },
{ value: 'perc_change', label: 'Percentage Change' },
{ value: 'perc_change', label: 'Percentage change' },
];
const colTypeOptions = [
{ value: 'time', label: 'Time Comparison' },
{ value: 'time', label: 'Time comparison' },
{ value: 'contrib', label: 'Contribution' },
{ value: 'spark', label: 'Sparkline' },
{ value: 'avg', label: 'Period Average' },
{ value: 'avg', label: 'Period average' },
];
export default class TimeSeriesColumnControl extends React.Component {
@@ -209,7 +209,7 @@ export default class TimeSeriesColumnControl extends React.Component {
)}
{['time', 'avg'].indexOf(this.state.colType) >= 0 &&
this.formRow(
'Time Lag',
'Time lag',
'Number of periods to compare against',
'time-lag',
<FormControl
@@ -221,7 +221,7 @@ export default class TimeSeriesColumnControl extends React.Component {
)}
{['spark'].indexOf(this.state.colType) >= 0 &&
this.formRow(
'Time Ratio',
'Time ratio',
'Number of periods to ratio against',
'time-ratio',
<FormControl