Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify Precision function in Timelion Kibana #58031

Merged
merged 4 commits into from
Feb 20, 2020
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 src/plugins/timelion/server/series_functions/precision.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ export default new Chainable('precision', {
name: 'precision',
types: ['number'],
help: i18n.translate('timelion.help.functions.precision.args.precisionHelpText', {
defaultMessage: 'Number of digits to round each value to',
defaultMessage: 'The number of digits to truncate each value to',
}),
},
],
help: i18n.translate('timelion.help.functions.precisionHelpText', {
defaultMessage: 'number of digits to round the decimal portion of the value to',
defaultMessage: 'The number of digits to truncate the decimal portion of the value to',
}),
fn: async function precisionFn(args) {
await alter(args, function(eachSeries, precision) {
Expand Down
2 changes: 0 additions & 2 deletions x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -2698,8 +2698,6 @@
"timelion.help.functions.points.args.symbolHelpText": "点のシンボルです。{validSymbols} の 1 つ",
"timelion.help.functions.points.args.weightHelpText": "点の周りの太さです",
"timelion.help.functions.pointsHelpText": "数列を点として表示します",
"timelion.help.functions.precision.args.precisionHelpText": "各値を四捨五入する桁数です",
"timelion.help.functions.precisionHelpText": "値の小数点以下の四捨五入する桁数です",
"timelion.help.functions.props.args.globalHelpText": "各数列に対し、seriesList にプロップを設定します",
"timelion.help.functions.propsHelpText": "数列に任意のプロパティを設定するため、自己責任で行ってください。例: {example}",
"timelion.help.functions.quandl.args.codeHelpText": "プロットする Quandl コードです。これらは quandl.com に掲載されています。",
Expand Down
2 changes: 0 additions & 2 deletions x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -2698,8 +2698,6 @@
"timelion.help.functions.points.args.symbolHelpText": "点符号。以下选项之一:{validSymbols}",
"timelion.help.functions.points.args.weightHelpText": "围绕点的线条粗细",
"timelion.help.functions.pointsHelpText": "将序列显示为点",
"timelion.help.functions.precision.args.precisionHelpText": "将每个值舍入到的小数位数",
"timelion.help.functions.precisionHelpText": "将值的小数部分舍入到的小数位数",
"timelion.help.functions.props.args.globalHelpText": "在 seriesList 与每个序列上设置属性",
"timelion.help.functions.propsHelpText": "在序列上可设置任意属性,但请自担风险。例如 {example}",
"timelion.help.functions.quandl.args.codeHelpText": "要绘图的 quandl 代码。可以在 quandl.com 找到这些内容。",
Expand Down