Skip to content

Commit

Permalink
fix: replace absolute difference with difference in legacy charts (ap…
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyongjie committed Nov 17, 2021
1 parent 287601e commit d7c1cce
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -315,13 +315,13 @@ const config: ControlPanelConfig = {
default: 'values',
choices: [
['values', 'Actual Values'],
['absolute', 'Absolute difference'],
['absolute', 'Difference'],
['percentage', 'Percentage change'],
['ratio', 'Ratio'],
],
description: t(
'How to display time shifts: as individual lines; as the ' +
'absolute difference between the main time series and each time shift; ' +
'difference between the main time series and each time shift; ' +
'as the percentage change; or as the ratio between series and time shifts.',
),
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,13 +210,13 @@ const config: ControlPanelConfig = {
default: 'values',
choices: [
['values', 'Actual Values'],
['absolute', 'Absolute difference'],
['absolute', 'Difference'],
['percentage', 'Percentage change'],
['ratio', 'Ratio'],
],
description: t(
'How to display time shifts: as individual lines; as the ' +
'absolute difference between the main time series and each time shift; ' +
'difference between the main time series and each time shift; ' +
'as the percentage change; or as the ratio between series and time shifts.',
),
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -458,13 +458,13 @@ export const timeSeriesSection: ControlPanelSectionConfig[] = [
default: 'values',
choices: [
['values', 'Actual Values'],
['absolute', 'Absolute difference'],
['absolute', 'Difference'],
['percentage', 'Percentage change'],
['ratio', 'Ratio'],
],
description: t(
'How to display time shifts: as individual lines; as the ' +
'absolute difference between the main time series and each time shift; ' +
'difference between the main time series and each time shift; ' +
'as the percentage change; or as the ratio between series and time shifts.',
),
},
Expand Down

0 comments on commit d7c1cce

Please sign in to comment.