-
Notifications
You must be signed in to change notification settings - Fork 13.4k
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
D3_FORMATS PROBLEM #29251
Comments
To change the number format to European in Apache Superset, modifying the
This change will ensure that the number format is applied globally across your Superset instance [1]. Additionally, ensure that there are no overriding configurations in other files such as |
|
Hi, export const DEFAULT_D3_FORMAT: FormatLocaleDefinition = { I've modified also the config.py: class D3Format(TypedDict, total=False): #D3_FORMAT: D3Format = {} D3_FORMAT: D3Format = { no changes into: superset_config.py After those activities I've restarted the docker, but everything is the same, no changes. Where I'm wrong? Regards |
To ensure that your changes to
By following these steps, you should be able to apply the changes to the number format configuration successfully [1][2][3][4]. |
Thanks a lot. |
At the end, I've D3-format working. Those are my 50 cents. Superset Version: 4.0.0 To whom it may concern, here follows the two steps needed:
after changing it, I proceed to build the frontend: D3_FORMAT = { After this I've build the new docker image as follow: sudo docker build -t my-custom-superset-image . <--- pay attention to not forget the "." at the end. Now I got the choice into the dropdown menu into charts. Hope it helps. |
Now I'm trying to apply same number formatting to the export feature. But when I try to download dashboard in CSV format, I receive this log: So I have removed "thousands" from superset_config.py and launched again superset. Decimal remained as ".". Any ideas how to implement: Thanks |
Bug description
When I change the configuration of the superset_config.py file and I want to change the number format to European when I reboot to apply the changes nothing comes up.
How to reproduce the bug
D3_FORMATS = {
'NUMBER': {
},
Screenshots/recordings
No response
Superset version
master / latest-dev
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: