-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[feature] Add 'Custom Expression' numeric format #58492
Conversation
This pull request has been tagged for the changelog.
You can edit the description. Format available for credits
Thank you! |
@nyalldawson A documentation ticket will be opened at https://github.com/qgis/QGIS-Documentation when this PR is merged. Please update the description (not the comments) with helpful description and screenshot to help the work from documentors. Thank you! |
This numeric format allows users to craft a custom QGIS expression to format numbers. The expression can use the @value variable to retrieve the value to be formatted, and then use any standard QGIS expression function to format this as desired. It can be used anywhere QgsNumericFormat is accepted, eg layout scalebars, elevation plots, layout tables, and color ramp legends Sponsored by the Swiss QGIS User Group
c9bafe8
to
0e907c5
Compare
@nyalldawson |
This numeric format allows users to craft a custom QGIS expression to format numbers. The expression can use the @value variable to retrieve the value to be formatted, and then use any standard QGIS expression function to format this as desired.
It can be used anywhere QgsNumericFormat is accepted, eg layout scalebars, elevation plots, layout tables, and color ramp legends
Sponsored by the Swiss QGIS User Group