fix: replace absolute difference with difference in legacy charts (#16931)

This commit is contained in:
Yongjie Zhao 2021-10-02 02:10:20 +01:00 committed by GitHub
parent 3f6a24fe1a
commit 6225c9a4a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -233,13 +233,13 @@ export const NVD3TimeSeries: ControlPanelSectionConfig[] = [
default: 'values', default: 'values',
choices: [ choices: [
['values', 'Actual values'], ['values', 'Actual values'],
['absolute', 'Absolute difference'], ['absolute', 'Difference'],
['percentage', 'Percentage change'], ['percentage', 'Percentage change'],
['ratio', 'Ratio'], ['ratio', 'Ratio'],
], ],
description: t( description: t(
'How to display time shifts: as individual lines; as the ' + '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.', 'as the percentage change; or as the ratio between series and time shifts.',
), ),
}, },