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

fix: replace absolute difference with difference in legacy charts #1384

Merged
merged 1 commit into from
Oct 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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