Skip to content
Snippets Groups Projects
Unverified Commit 6035c777 authored by Alexander Lesnenko's avatar Alexander Lesnenko Committed by GitHub
Browse files

Fix missing translation of Others on the row chart (#17972)

parent 91d12f37
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@
import crossfilter from "crossfilter";
import d3 from "d3";
import dc from "dc";
import { t } from "ttag";
import { formatValue } from "metabase/lib/formatting";
......@@ -117,7 +118,8 @@ export default function rowRenderer(
.elasticX(true)
.dimension(dimension)
.group(group)
.ordering(d => d.index);
.ordering(d => d.index)
.othersLabel(t`Others`);
chart.xAxis().tickFormat(value => {
return formatValue(value, {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment