LinearGaugeScaleLabelsSettingsTagHelper
Example
Razor
<lineargauge-scale-labels>
<border />
<labels-template></labels-template>
<margin />
<padding />
</lineargauge-scale-labels>
ChildTags
| Tag Name | Details |
|---|---|
| border | LinearGaugeScaleLabelsBorderSettingsTagHelper |
| labels-template | TemplateTagHelper |
| margin | LinearGaugeScaleLabelsMarginSettingsTagHelper |
| padding | LinearGaugeScaleLabelsPaddingSettingsTagHelper |
Attributes
| Attribute | Type | Description |
|---|---|---|
| background | String | The background color of the labels. Any valid CSS color string will work here, including hex and rgb |
| color | String | The text color of the labels. Any valid CSS color string will work here, including hex and rgb. |
| font | String | The font style of the labels. |
| format | String | The format of the labels. |
| template | String | Configures the templates for the component. |
| template-handler | String | The label template. Template variables: value - the value. This option expects the name of a JavaScript function that will be called to return the template. |
| template-id | String | The label template. Template variables: value - the value. This option expects the ID of the script element that contains the template. |
| template-view | IHtmlContent | The label template. Template variables: value - the value. This option expects the instance containing the created HTML. |
| visible | Boolean | The visibility of the labels. |