Skip to content

Commit a9c78e6

Browse files
authored
Arc gauge improvements (#272)
* chore(gauge): imrpovements * chore(arc): improvements
1 parent 8425c6c commit a9c78e6

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

components/gauge-arc/labels.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ You can customize the appearance of the labels rendered on the [scale]({%slug ar
2828

2929
The `Format` (`string`) parameter allows you to customize the rendering of the labels by using the <a href="https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings" target="_blank">standard numeric format strings</a>. You can set the values of the labels to showcase, for example, currency, percentage, and so on.
3030

31-
>caption Use the Format parameter to showcase currency. The result from the code snippet below.
31+
>caption Use the Format parameter to showcase percentage. The result from the code snippet below.
3232
3333
![Format parameter example](images/format-parameter-labels.png)
3434

components/gauge-arc/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ The Telerik Arc Gauge for Blazor represents [numerical values]({%slug arc-gauge-
3030

3131
1. Provide a `Value` for the `<ArcGaugePointer>`.
3232

33+
1. Add a [Center Label Template]({%slug arc-gauge-labels%}#center-template) (optional)
34+
3335
>caption Basic Telerik Arc Gauge for Blazor.
3436
3537
![Basic Arc Gauge](images/basic-arc-gauge.png)
@@ -75,8 +77,6 @@ The Arc Gauge reference exposes the `Refresh` method which allows you to program
7577
````CSHTML
7678
@* Change the Width of the component *@
7779
78-
<TelerikButton OnClick="@ChangeTheHeight">Change the Height of the component</TelerikButton>
79-
8080
<TelerikButton OnClick="@ChangeTheHeight">Change the Width of the component</TelerikButton>
8181
8282
<TelerikArcGauge @ref="@ArcGaugeRef" Width="@Width">

components/gauge-arc/pointers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The `LineCap` parameter controls the shape of the scale ending and takes a membe
2626

2727
* `Round` - by default the shape of the scale ending would be round
2828

29-
* `Butt`
29+
* `Butt` - setting the ArcGaugePointerLineCap to Butt would make the shape of the scale ending flat.
3030

3131
>caption Change the shape of the scale. The result from the code snippet below.
3232

components/gauge-arc/scale.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The scale of the arc gauge renders the values, pointers and labels. You can cust
5858

5959
* The `MajorUnit` (`double`) parameter controls the interval between the major unit divisions of the component. The values provided to the `ArcGaugePointer` will render as a `MajorUnit` tick. The [labels]({%slug arc-gauge-labels%}) will be rendered next to the `MajorUnit` ticks.
6060

61-
* The `MinorUnit` (`double`) parameter controls the interval between the minor unit divisions of the component.
61+
* The `MinorUnit` (`double`) parameter controls the interval between the minor unit divisions of the component. In order to use the `MinorUnit` ticks you must [enable them](#example-enable-the-minorunit-ticks) explicitly.
6262

6363
>caption Change the rendering frequency of the major unit divisions. The result from the code snippet below.
6464

0 commit comments

Comments
 (0)