feat: Add currencies controls in control panels (#24718)

This commit is contained in:
Kamil Gabryjelski
2023-08-02 19:22:45 +02:00
committed by GitHub
parent 1a9c559a8f
commit f7e76d02b7
63 changed files with 697 additions and 306 deletions

View File

@@ -154,6 +154,7 @@ const config: ControlPanelConfig = {
},
},
],
['currency_format'],
[
{
name: 'value_formatter',

View File

@@ -118,6 +118,7 @@ export default function transformProps(
colorScheme,
fontSize,
numberFormat,
currencyFormat,
animation,
showProgress,
overlap,
@@ -141,6 +142,7 @@ export default function transformProps(
currencyFormats,
columnFormats,
numberFormat,
currencyFormat,
);
const colorFn = CategoricalColorNamespace.getScale(colorScheme as string);
const axisLineWidth = calculateAxisLineWidth(data, fontSize, overlap);