Score:0

Switching from table to graph give wrong data

kn flag

I'm using the Drupal Commerce Report module as a base for my stats. I have a table which give me data about my sales per month.

enter image description here

I'd like to use graph instead of table, to make it easier to compare. For some reason, the coma is gone, so all my sales reports are wrong

enter image description here

I tried to alter data in a pre_render, in a preprocess (by checking the format, test with a dot instead of a coma) but still having the wrong result

Score:0
kn flag

This was caused because the value where rewritted in the view (thousand separator, number after coma...). Reverted to initial configuration solved the problem.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.