Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 37 additions & 4 deletions components/gauges/arc/labels.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,10 @@ position: 20
You can customize the appearance of the labels rendered on the [scale](slug:arc-gauge-scale) of the Arc Gauge by using the `<ArcGaugeScaleLabels>`, child tag of the `<ArcGaugeScale>`, and the parameters it exposes:

* [Format](#format)

* [Center Template](#center-template)

* [Position](#position)
* [Color](#color)

* [Visible](#visible)

* [Additional Customization](#additional-customization)

## Format
Expand Down Expand Up @@ -87,6 +84,42 @@ The center template allows you to take control of the rendering of the central s
</TelerikArcGauge>
````

## Position

The `Position` parameter is of enum type `ArcGaugeScaleLabelsPosition` and determines whether the Gauge labels are on the inside (default) or outside of the Gauge graphic. Labels on the inside allow for a visually larger component on the same available space.

>caption Setting Arc Gauge label position

````RAZOR
<TelerikArcGauge>
<ArcGaugeScales>
<ArcGaugeScale>
<ArcGaugeScaleLabels Visible="true"
Position="@ArcGaugeScaleLabelsPosition.Inside" />
</ArcGaugeScale>
</ArcGaugeScales>

<ArcGaugePointers>
<ArcGaugePointer Value="66">
</ArcGaugePointer>
</ArcGaugePointers>
</TelerikArcGauge>

<TelerikArcGauge>
<ArcGaugeScales>
<ArcGaugeScale>
<ArcGaugeScaleLabels Visible="true"
Position="@ArcGaugeScaleLabelsPosition.Outside" />
</ArcGaugeScale>
</ArcGaugeScales>

<ArcGaugePointers>
<ArcGaugePointer Value="66">
</ArcGaugePointer>
</ArcGaugePointers>
</TelerikArcGauge>
````

## Color

The `Color` (`string`) parameter controls the color of the labels. It accepts **CSS**, **HEX** and **RGB** colors.
Expand Down
41 changes: 37 additions & 4 deletions components/gauges/circular/labels.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,10 @@ position: 15
You can customize the appearance of the labels rendered on the [scale](slug:circular-gauge-scale) of the Circular Gauge by using the `<CircularGaugeScaleLabels>`, child tag of the `<CircularGaugeScale>`, and the parameters it exposes:

* [Format](#format)

* [Center Template](#center-template)

* [Position](#position)
* [Color](#color)

* [Visible](#visible)

* [Additional Customization](#additional-customization)

## Format
Expand Down Expand Up @@ -91,6 +88,42 @@ The center template allows you to take control of the rendering of the central s
</TelerikCircularGauge>
````

## Position

The `Position` parameter is of enum type `CircularGaugeScaleLabelsPosition` and determines whether the Gauge labels are on the inside (default) or outside of the Gauge graphic. Labels on the inside allow for a visually larger component on the same available space.

>caption Setting Circular Gauge label position

````RAZOR
<TelerikCircularGauge>
<CircularGaugeScales>
<CircularGaugeScale>
<CircularGaugeScaleLabels Visible="true"
Position="@CircularGaugeScaleLabelsPosition.Inside" />
</CircularGaugeScale>
</CircularGaugeScales>

<CircularGaugePointers>
<CircularGaugePointer Value="66">
</CircularGaugePointer>
</CircularGaugePointers>
</TelerikCircularGauge>

<TelerikCircularGauge>
<CircularGaugeScales>
<CircularGaugeScale>
<CircularGaugeScaleLabels Visible="true"
Position="@CircularGaugeScaleLabelsPosition.Outside" />
</CircularGaugeScale>
</CircularGaugeScales>

<CircularGaugePointers>
<CircularGaugePointer Value="66">
</CircularGaugePointer>
</CircularGaugePointers>
</TelerikCircularGauge>
````

## Color

The `Color` (`string`) parameter controls the color of the labels. It accepts **CSS**, **HEX** and **RGB** colors.
Expand Down