Skip to content

Commit

Permalink
linting ✨
Browse files Browse the repository at this point in the history
  • Loading branch information
rusackas committed Apr 1, 2020
1 parent 1d5120d commit d5e9bcf
Showing 1 changed file with 18 additions and 14 deletions.
32 changes: 18 additions & 14 deletions superset-frontend/src/explore/controlPanels/sections.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,21 +76,25 @@ export const NVD3TimeSeries = [
),
controlSetRows: [
[<h1 className="section-header">{t('Rolling Window')}</h1>],
['rolling_type', 'rolling_periods', {
name: 'min_periods',
config: {
type: 'TextControl',
label: t('Min Periods'),
isInt: true,
description: t(
'The minimum number of rolling periods required to show ' +
'a value. For instance if you do a cumulative sum on 7 days ' +
'you may want your "Min Period" to be 7, so that all data points ' +
'shown are the total of 7 periods. This will hide the "ramp up" ' +
'taking place over the first 7 periods',
),
[
'rolling_type',
'rolling_periods',
{
name: 'min_periods',
config: {
type: 'TextControl',
label: t('Min Periods'),
isInt: true,
description: t(
'The minimum number of rolling periods required to show ' +
'a value. For instance if you do a cumulative sum on 7 days ' +
'you may want your "Min Period" to be 7, so that all data points ' +
'shown are the total of 7 periods. This will hide the "ramp up" ' +
'taking place over the first 7 periods',
),
},
},
},],
],
[<h1 className="section-header">{t('Time Comparison')}</h1>],
['time_compare', 'comparison_type'],
[<h1 className="section-header">{t('Python Functions')}</h1>],
Expand Down

0 comments on commit d5e9bcf

Please sign in to comment.