From 7d79c20a38dcba8b75849d6be83cfee2a7ee7430 Mon Sep 17 00:00:00 2001 From: Svetoslav Dimitrov Date: Mon, 29 Mar 2021 18:43:01 +0300 Subject: [PATCH 1/2] chore(gauge): imrpovements --- components/gauge-arc/labels.md | 2 +- components/gauge-arc/overview.md | 2 -- components/gauge-arc/pointers.md | 2 +- components/gauge-arc/scale.md | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/components/gauge-arc/labels.md b/components/gauge-arc/labels.md index dca1f84474..bdeb5b6600 100644 --- a/components/gauge-arc/labels.md +++ b/components/gauge-arc/labels.md @@ -28,7 +28,7 @@ You can customize the appearance of the labels rendered on the [scale]({%slug ar The `Format` (`string`) parameter allows you to customize the rendering of the labels by using the standard numeric format strings. You can set the values of the labels to showcase, for example, currency, percentage, and so on. ->caption Use the Format parameter to showcase currency. The result from the code snippet below. +>caption Use the Format parameter to showcase percentagee. The result from the code snippet below. ![Format parameter example](images/format-parameter-labels.png) diff --git a/components/gauge-arc/overview.md b/components/gauge-arc/overview.md index 7f956ec19a..9873acb872 100644 --- a/components/gauge-arc/overview.md +++ b/components/gauge-arc/overview.md @@ -75,8 +75,6 @@ The Arc Gauge reference exposes the `Refresh` method which allows you to program ````CSHTML @* Change the Width of the component *@ -Change the Height of the component - Change the Width of the component diff --git a/components/gauge-arc/pointers.md b/components/gauge-arc/pointers.md index 7d871a9eb3..699a97d4a5 100644 --- a/components/gauge-arc/pointers.md +++ b/components/gauge-arc/pointers.md @@ -26,7 +26,7 @@ The `LineCap` parameter controls the shape of the scale ending and takes a membe * `Round` - by default the shape of the scale ending would be round -* `Butt` +* `Butt` - setting the ArcGaugePointerLineCap to Butt would make the shape of the scale ending flat. >caption Change the shape of the scale. The result from the code snippet below. diff --git a/components/gauge-arc/scale.md b/components/gauge-arc/scale.md index 39dbe5f944..bbe8cef663 100644 --- a/components/gauge-arc/scale.md +++ b/components/gauge-arc/scale.md @@ -58,7 +58,7 @@ The scale of the arc gauge renders the values, pointers and labels. You can cust * 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. -* The `MinorUnit` (`double`) parameter controls the interval between the minor unit divisions of the component. +* 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. >caption Change the rendering frequency of the major unit divisions. The result from the code snippet below. From 8a2c61f35109db25de8b7c3ff7e6de3b57c95f3d Mon Sep 17 00:00:00 2001 From: Svetoslav Dimitrov Date: Mon, 29 Mar 2021 20:15:56 +0300 Subject: [PATCH 2/2] chore(arc): improvements --- components/gauge-arc/labels.md | 2 +- components/gauge-arc/overview.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/components/gauge-arc/labels.md b/components/gauge-arc/labels.md index bdeb5b6600..2a971ab342 100644 --- a/components/gauge-arc/labels.md +++ b/components/gauge-arc/labels.md @@ -28,7 +28,7 @@ You can customize the appearance of the labels rendered on the [scale]({%slug ar The `Format` (`string`) parameter allows you to customize the rendering of the labels by using the standard numeric format strings. You can set the values of the labels to showcase, for example, currency, percentage, and so on. ->caption Use the Format parameter to showcase percentagee. The result from the code snippet below. +>caption Use the Format parameter to showcase percentage. The result from the code snippet below. ![Format parameter example](images/format-parameter-labels.png) diff --git a/components/gauge-arc/overview.md b/components/gauge-arc/overview.md index 9873acb872..6c29e418c0 100644 --- a/components/gauge-arc/overview.md +++ b/components/gauge-arc/overview.md @@ -30,6 +30,8 @@ The Telerik Arc Gauge for Blazor represents [numerical values]({%slug arc-gauge- 1. Provide a `Value` for the ``. +1. Add a [Center Label Template]({%slug arc-gauge-labels%}#center-template) (optional) + >caption Basic Telerik Arc Gauge for Blazor. ![Basic Arc Gauge](images/basic-arc-gauge.png)