diff --git a/packages/app/i18n/en.pot b/packages/app/i18n/en.pot index 6907ca1379..db76bf5475 100644 --- a/packages/app/i18n/en.pot +++ b/packages/app/i18n/en.pot @@ -5,8 +5,8 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" -"POT-Creation-Date: 2020-05-25T18:22:35.064Z\n" -"PO-Revision-Date: 2020-05-25T18:22:35.064Z\n" +"POT-Creation-Date: 2020-08-21T09:51:29.294Z\n" +"PO-Revision-Date: 2020-08-21T09:51:29.294Z\n" msgid "Rename successful" msgstr "" @@ -735,24 +735,24 @@ msgstr "" msgid "Data" msgstr "" -msgid "Axes" -msgstr "" - -msgid "Style" -msgstr "" - msgid "Display" msgstr "" msgid "Lines" msgstr "" +msgid "Axes" +msgstr "" + msgid "Vertical (y) axis" msgstr "" msgid "Horizontal (x) axis" msgstr "" +msgid "Style" +msgstr "" + msgid "Chart style" msgstr "" diff --git a/packages/app/src/modules/options/areaConfig.js b/packages/app/src/modules/options/areaConfig.js index 32869c9c47..1bc08ed2c7 100644 --- a/packages/app/src/modules/options/areaConfig.js +++ b/packages/app/src/modules/options/areaConfig.js @@ -19,9 +19,7 @@ import RangeAxisLabel from '../../components/VisualizationOptions/Options/RangeA import DomainAxisLabel from '../../components/VisualizationOptions/Options/DomainAxisLabel' import HideLegend from '../../components/VisualizationOptions/Options/HideLegend' import HideTitle from '../../components/VisualizationOptions/Options/HideTitle' -import Title from '../../components/VisualizationOptions/Options/Title' import HideSubtitle from '../../components/VisualizationOptions/Options/HideSubtitle' -import Subtitle from '../../components/VisualizationOptions/Options/Subtitle' import CompletedOnly from '../../components/VisualizationOptions/Options/CompletedOnly' export default [ @@ -30,23 +28,31 @@ export default [ getLabel: () => i18n.t('Data'), content: [ { - key: 'data-section-1', + key: 'data-display', + getLabel: () => i18n.t('Display'), content: React.Children.toArray([ - , , , , + , + ]), + }, + { + key: 'data-lines', + getLabel: () => i18n.t('Lines'), + content: React.Children.toArray([ , , , - , - , ]), }, { key: 'data-advanced', getLabel: () => i18n.t('Advanced'), - content: React.Children.toArray([]), + content: React.Children.toArray([ + , + , + ]), }, ], }, @@ -55,7 +61,8 @@ export default [ getLabel: () => i18n.t('Axes'), content: [ { - key: 'axes-section-1', + key: 'axes-vertical-axis', + getLabel: () => i18n.t('Vertical (y) axis'), content: React.Children.toArray([ , , @@ -65,6 +72,11 @@ export default [ , ]), }, + { + key: 'axes-horizontal-axis', + getLabel: () => i18n.t('Horizontal (x) axis'), + content: React.Children.toArray([]), + }, ], }, { @@ -72,12 +84,15 @@ export default [ getLabel: () => i18n.t('Style'), content: [ { - key: 'style-section-1', + key: 'style-chart-style', + getLabel: () => i18n.t('Chart style'), + content: React.Children.toArray([, ]), + }, + { + key: 'style-titles', + getLabel: () => i18n.t('Titles'), content: React.Children.toArray([ - , - , <HideTitle />, - <Subtitle />, <HideSubtitle />, ]), }, diff --git a/packages/app/src/modules/options/lineConfig.js b/packages/app/src/modules/options/lineConfig.js index 153b031e8a..9012b6c880 100644 --- a/packages/app/src/modules/options/lineConfig.js +++ b/packages/app/src/modules/options/lineConfig.js @@ -18,9 +18,7 @@ import RangeAxisLabel from '../../components/VisualizationOptions/Options/RangeA import DomainAxisLabel from '../../components/VisualizationOptions/Options/DomainAxisLabel' import HideLegend from '../../components/VisualizationOptions/Options/HideLegend' import HideTitle from '../../components/VisualizationOptions/Options/HideTitle' -import Title from '../../components/VisualizationOptions/Options/Title' import HideSubtitle from '../../components/VisualizationOptions/Options/HideSubtitle' -import Subtitle from '../../components/VisualizationOptions/Options/Subtitle' import CompletedOnly from '../../components/VisualizationOptions/Options/CompletedOnly' export default [ @@ -29,22 +27,30 @@ export default [ getLabel: () => i18n.t('Data'), content: [ { - key: 'data-section-1', + key: 'data-display', + getLabel: () => i18n.t('Display'), content: React.Children.toArray([ - <ShowData />, <CumulativeValues />, <HideEmptyRowItems />, + <SortOrder />, + ]), + }, + { + key: 'data-lines', + getLabel: () => i18n.t('Lines'), + content: React.Children.toArray([ <RegressionType />, <TargetLine />, <BaseLine />, - <SortOrder />, - <AggregationType />, ]), }, { key: 'data-advanced', getLabel: () => i18n.t('Advanced'), - content: React.Children.toArray([<CompletedOnly />]), + content: React.Children.toArray([ + <AggregationType />, + <CompletedOnly />, + ]), }, ], }, @@ -53,7 +59,8 @@ export default [ getLabel: () => i18n.t('Axes'), content: [ { - key: 'axes-section-1', + key: 'axes-vertical-axis', + getLabel: () => i18n.t('Vertical (y) axis'), content: React.Children.toArray([ <RangeAxisMinValue />, <RangeAxisMaxValue />, @@ -63,6 +70,11 @@ export default [ <DomainAxisLabel />, ]), }, + { + key: 'axes-horizontal-axis', + getLabel: () => i18n.t('Horizontal (x) axis'), + content: React.Children.toArray([<DomainAxisLabel />]), + }, ], }, { @@ -70,12 +82,15 @@ export default [ getLabel: () => i18n.t('Style'), content: [ { - key: 'style-section-1', + key: 'style-chart-style', + getLabel: () => i18n.t('Chart style'), + content: React.Children.toArray([<ShowData />, <HideLegend />]), + }, + { + key: 'style-titles', + getLabel: () => i18n.t('Titles'), content: React.Children.toArray([ - <HideLegend />, - <Title />, <HideTitle />, - <Subtitle />, <HideSubtitle />, ]), }, diff --git a/packages/app/src/modules/options/stackedColumnConfig.js b/packages/app/src/modules/options/stackedColumnConfig.js index 7ddbd4935c..eaf988900e 100644 --- a/packages/app/src/modules/options/stackedColumnConfig.js +++ b/packages/app/src/modules/options/stackedColumnConfig.js @@ -31,7 +31,6 @@ export default [ key: 'data-display', getLabel: () => i18n.t('Display'), content: React.Children.toArray([ - <ShowData />, <PercentStackedValues />, <CumulativeValues />, <HideEmptyRowItems />, @@ -86,6 +85,7 @@ export default [ key: 'style-chart-style', getLabel: () => i18n.t('Chart style'), content: React.Children.toArray([ + <ShowData />, <NoSpaceBetweenColumns />, <HideLegend />, /* TODO new option <BackgroundLines /> */