diff --git a/x-pack/platform/plugins/private/translations/translations/de-DE.json b/x-pack/platform/plugins/private/translations/translations/de-DE.json index 99341e884ce28..bbb381f87e6f1 100644 --- a/x-pack/platform/plugins/private/translations/translations/de-DE.json +++ b/x-pack/platform/plugins/private/translations/translations/de-DE.json @@ -29299,8 +29299,6 @@ "xpack.ml.splom.randomScoringLabel": "Zufällige Wertung", "xpack.ml.splom.sampleSizeInfoTooltip": "Anzahl der Dokumente, die in der Streudiagrammmatrix angezeigt werden sollen.", "xpack.ml.splom.sampleSizeLabel": "Stichprobengröße", - "xpack.ml.splom.toggleOff": "Aus", - "xpack.ml.splom.toggleOn": "An", "xpack.ml.splomSpec.outlierScoreThresholdName": "Schwellenwert für Ausreißerwert:", "xpack.ml.stepDefineForm.invalidQuery": "Ungültige Abfrage", "xpack.ml.stepDefineForm.queryPlaceholderKql": "Suchen Sie z. B. nach {example}", diff --git a/x-pack/platform/plugins/private/translations/translations/fr-FR.json b/x-pack/platform/plugins/private/translations/translations/fr-FR.json index f5712a32ccb9b..39b7cc9a566fd 100644 --- a/x-pack/platform/plugins/private/translations/translations/fr-FR.json +++ b/x-pack/platform/plugins/private/translations/translations/fr-FR.json @@ -29321,8 +29321,6 @@ "xpack.ml.splom.randomScoringLabel": "Scores aléatoires", "xpack.ml.splom.sampleSizeInfoTooltip": "Quantité de documents à afficher dans la matrice de nuages de points.", "xpack.ml.splom.sampleSizeLabel": "Taille de l'échantillon", - "xpack.ml.splom.toggleOff": "Arrêt", - "xpack.ml.splom.toggleOn": "Marche", "xpack.ml.splomSpec.outlierScoreThresholdName": "Seuil de score d'aberrations :", "xpack.ml.stepDefineForm.invalidQuery": "Requête non valide", "xpack.ml.stepDefineForm.queryPlaceholderKql": "Rechercher par ex. {example}", diff --git a/x-pack/platform/plugins/private/translations/translations/ja-JP.json b/x-pack/platform/plugins/private/translations/translations/ja-JP.json index 7d266c5801f11..0105dd8842413 100644 --- a/x-pack/platform/plugins/private/translations/translations/ja-JP.json +++ b/x-pack/platform/plugins/private/translations/translations/ja-JP.json @@ -29415,8 +29415,6 @@ "xpack.ml.splom.randomScoringLabel": "ランダムスコアリング", "xpack.ml.splom.sampleSizeInfoTooltip": "散布図マトリックスに表示するドキュメントの数。", "xpack.ml.splom.sampleSizeLabel": "サンプルサイズ", - "xpack.ml.splom.toggleOff": "オフ", - "xpack.ml.splom.toggleOn": "オン", "xpack.ml.splomSpec.outlierScoreThresholdName": "異常スコアしきい値:", "xpack.ml.stepDefineForm.invalidQuery": "無効なクエリー", "xpack.ml.stepDefineForm.queryPlaceholderKql": "{example}の検索", diff --git a/x-pack/platform/plugins/private/translations/translations/zh-CN.json b/x-pack/platform/plugins/private/translations/translations/zh-CN.json index f6b61b489f279..80e476261fe67 100644 --- a/x-pack/platform/plugins/private/translations/translations/zh-CN.json +++ b/x-pack/platform/plugins/private/translations/translations/zh-CN.json @@ -29414,8 +29414,6 @@ "xpack.ml.splom.randomScoringLabel": "随机评分", "xpack.ml.splom.sampleSizeInfoTooltip": "在散点图矩阵中药显示的文档数量。", "xpack.ml.splom.sampleSizeLabel": "样例大小", - "xpack.ml.splom.toggleOff": "关闭", - "xpack.ml.splom.toggleOn": "开启", "xpack.ml.splomSpec.outlierScoreThresholdName": "离群值分数阈值:", "xpack.ml.stepDefineForm.invalidQuery": "无效查询", "xpack.ml.stepDefineForm.queryPlaceholderKql": "搜索,如 {example})", diff --git a/x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx index d7304c3f8fa37..69c97c6cd5c70 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx @@ -73,13 +73,6 @@ const SCATTERPLOT_MATRIX_DEFAULT_FETCH_SIZE = 1000; const SCATTERPLOT_MATRIX_DEFAULT_FETCH_MIN_SIZE = 1; const SCATTERPLOT_MATRIX_DEFAULT_FETCH_MAX_SIZE = 10000; -const TOGGLE_ON = i18n.translate('xpack.ml.splom.toggleOn', { - defaultMessage: 'On', -}); -const TOGGLE_OFF = i18n.translate('xpack.ml.splom.toggleOff', { - defaultMessage: 'Off', -}); - const sampleSizeOptions = [100, 1000, 10000].map((d) => ({ value: d, text: '' + d })); interface OptionLabelWithIconTipProps { @@ -88,16 +81,11 @@ interface OptionLabelWithIconTipProps { } const OptionLabelWithIconTip: FC = ({ label, tooltip }) => ( - <> + {label} - - +   + + ); function filterChartableItems(items: estypes.SearchHit[], resultsField?: string) { @@ -513,7 +501,8 @@ export const ScatterplotMatrix: FC = ({ = ({ >