Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
fix: replace absolute difference with difference in legacy charts (#1384
Browse files Browse the repository at this point in the history
)
  • Loading branch information
zhaoyongjie authored Oct 4, 2021
1 parent 5a4c2c4 commit 86ec847
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions plugins/legacy-plugin-chart-partition/src/controlPanel.tsx
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
4 changes: 2 additions & 2 deletions plugins/legacy-plugin-chart-rose/src/controlPanel.tsx
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
4 changes: 2 additions & 2 deletions plugins/legacy-preset-chart-nvd3/src/NVD3Controls.tsx
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

1 comment on commit 86ec847

@vercel
Copy link

@vercel vercel bot commented on 86ec847 Oct 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.