Claudia Bergroth
unread,Sep 10, 2024, 10:35:13 AM9/10/24Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pcaxis
Hello all,
we recently received user feedback related to decimal number precision and charts in PxWeb.
I looks like decimal numbers are shown as whole numbers in the chart view (at least bar and line), when tables contain both decimal values and whole numbers (PRECISION > SHOWDECIMALS for some values).
The precision of decimal numbers is shown correctly in the table view by default, but they appear as whole numbers in the figure view. The number of decimals shown in the figure can be changed manually with the "Change decimals" functionality, although this is somewhat inconvenient. We ran into this issue in PxWeb 2022 v1 but we have not tested it with other versions.
Are we missing something in the configuration settings/table metadata or could it be that (at least in 2022 v1) charts determine the number of decimals based on SHOWDECIMALS even when PRECISION has a higher value? If the latter is true, is this something that could be fixed to upcoming versions?
Kind regards,
Claudia Bergroth / City of Helsinki