6.6 automatic min/max gauge does not use Decimals or Unit

Hello,

I installed the 6.6 version (5c11bbdfb4) and added a gauge without setting the min and max value.
As per the new feature, it will generate the min/max values from the dataset.

Issue : the decimals are not applied, nor the Units.

Thanks
Capture Capture2

Capture3

Ticket https://github.com/grafana/grafana/issues/21973 created.