Required library edition: Required library file: dhtmlxtoolbar.js
sets maximal value and label for a slider
toolbar.setMaxValue(itemId, value, label);