Example of Data Labels in Blazor Maps Component
This sample uses data labels to visualize the names of all the states in the United States. There are also options to change the intersect action and smart labels mode of the data labels.
Properties
Show Labels
|
|
Smart Label Mode
|
|
Intersect Action
|
In this example, you can see how to render the data labels for each shape in a map. Data labels provide necessary information to users about the shapes of the Maps component. You can use the AutoFill property in the MapsShapeSettings to apply the default palette colors to the shapes. The tooltip is also enabled in this example.
More information about data labels can be found in this documentation section.