QGIS/python/core/auto_additions/qgsexpressionbasednumericformat.py
Nyall Dawson 16e05a207b [feature] Add 'Custom Expression' numeric format
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
2024-08-29 13:27:23 +10:00

6 lines
211 B
Python

# The following has been generated automatically from src/core/numericformats/qgsexpressionbasednumericformat.h
try:
QgsExpressionBasedNumericFormat.__group__ = ['numericformats']
except NameError:
pass