Dynamic maximum range in Kibana 5.6.5 (Gauge)

Hi! I don't have any solution for you unfortunately but this matter has been discussed a few times already:

It's apparently not possible yet but you can take a look at the workarounds in the last two threads I linked.
I hope this will help you.