This sample demonstrates label support, including label positioning and templates, in the JavaScript Rating component.
You can show or hide labels by setting the showLabel property. The labelPosition property provides several built-in positions and the appearance of labels can be customized using the labelTemplate property.