fix: Add max value to serie configuration in widget diagram, to re-use it after