Skip to content

Commit 3691374

Browse files
996529: Resolved spelling error for the property values.
1 parent 099bb32 commit 3691374

File tree

3 files changed

+39
-28
lines changed

3 files changed

+39
-28
lines changed

blazor/accumulation-chart/gradient.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ Gradients add depth and modern styling to charts by smoothly blending multiple c
1919
A linear gradient blends colors along a straight path from a defined start point to an end point. In accumulation charts, a linear gradient can be applied either to the whole series or to each point via the `OnPointRender` event. An `AccumulationChartLinearGradient` is configured with one or more color stops.
2020

2121
Properties:
22-
- `X1` - Horizontal start position of the gradient (0 to 1).
23-
- `Y1` - Vertical start position of the gradient (0 to 1).
24-
- `X2` - Horizontal end position of the gradient (0 to 1).
25-
- `Y2` - Vertical end position of the gradient (0 to 1).
22+
```cshtml
23+
X1 - Horizontal start position of the gradient (0 to 1).
24+
Y1 - Vertical start position of the gradient (0 to 1).
25+
X2 - Horizontal end position of the gradient (0 to 1).
26+
Y2 - Vertical end position of the gradient (0 to 1).
27+
```
2628

2729
Each color stop (`AccumulationChartGradientColorStop`) supports:
2830
- Offset - Position along the gradient (0 to 100).
@@ -165,12 +167,13 @@ A diagonal linear gradient can be applied per data point using the `OnPointRende
165167
## Radial gradient
166168

167169
Configure a radial gradient by assigning an `AccumulationChartRadialGradient` with one or more color stops inside the `OnPointRender` event. The following properties control the gradient appearance:
168-
169-
- `Cx` - Normalized horizontal center of the gradient (0 to 1).
170-
- `Cy` - Normalized vertical center of the gradient (0 to 1).
171-
- `Fx` - Normalized horizontal focal point from which the gradient appears to originate (0 to 1).
172-
- `Fy` - Normalized vertical focal point (0 to 1).
173-
- `R` - Normalized radius of the gradient circle (0 to 1).
170+
```cshtml
171+
Cx - Normalized horizontal center of the gradient (0 to 1).
172+
Cy - Normalized vertical center of the gradient (0 to 1).
173+
Fx - Normalized horizontal focal point from which the gradient appears to originate (0 to 1).
174+
Fy - Normalized vertical focal point (0 to 1).
175+
R - Normalized radius of the gradient circle (0 to 1).
176+
```
174177

175178
Each color stop (`AccumulationChartGradientColorStop`) supports:
176179
- Offset - Position of the stop along the gradient (0 to 100).

blazor/chart/gradient.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ Gradients can be applied to:
2525
A linear gradient blends colors along a straight path from a defined start point to an end point. Configure it by adding `ChartLinearGradient` inside the target element (Series, Trendline, or Indicator) and define one or more color stops that control how colors transition across the gradient. Set the start and end positions of the gradient using `X1`, `Y1`, `X2`, and `Y2` properties. The color stop values such as `Offset`, `Color`, `Opacity`, `Lighten`, and `Brighten` are set using the `ChartGradientColorStop` property.
2626

2727
In the `ChartLinearGradient`:
28-
- `X1` - Sets the horizontal start position of the gradient (0 to 1).
29-
- `Y1` - Sets the vertical start position of the gradient (0 to 1).
30-
- `X2` - Sets the horizontal end position of the gradient (0 to 1).
31-
- `Y2` - Sets the vertical end position of the gradient (0 to 1).
28+
```cshtml
29+
X1 - Sets the horizontal start position of the gradient (0 to 1).
30+
Y1 - Sets the vertical start position of the gradient (0 to 1).
31+
X2 - Sets the horizontal end position of the gradient (0 to 1).
32+
Y2 - Sets the vertical end position of the gradient (0 to 1).
33+
```
3234

3335
In the `ChartGradientColorStop`:
3436
- Offset - Specifies the position of the color stop along the gradient (0 to 100).
@@ -232,11 +234,13 @@ Apply a linear gradient to a technical indicator by adding `ChartLinearGradient`
232234
A radial gradient blends colors outward from a central point, creating a circular or elliptical color progression. Configure it by adding `ChartRadialGradient` inside the target element (Series, Trendline, or Indicator) and define one or more color stops to control how colors transition from the center to the outer edge. Set the gradient’s center, optional focal point, and radius using `Cx`, `Cy`, `Fx`, `Fy`, and `R` properties. The color stop values such as `Offset`, `Color`, `Opacity`, `Lighten`, and `Brighten` are set using the `ChartGradientColorStop` property.
233235

234236
In the `ChartRadialGradient`:
235-
- `Cx` - Sets the normalized horizontal center of the gradient (0 to 1).
236-
- `Cy` - Sets the normalized vertical center of the gradient (0 to 1).
237-
- `Fx` - Sets the normalized horizontal focal point from which the gradient appears to originate (0 to 1).
238-
- `Fy` - Sets the normalized vertical focal point (0 to 1).
239-
- `R` - Sets the normalized radius of the gradient circle (0 to 1).
237+
```cshtml
238+
Cx - Sets the normalized horizontal center of the gradient (0 to 1).
239+
Cy - Sets the normalized vertical center of the gradient (0 to 1).
240+
Fx - Sets the normalized horizontal focal point from which the gradient appears to originate (0 to 1).
241+
Fy - Sets the normalized vertical focal point (0 to 1).
242+
R - Sets the normalized radius of the gradient circle (0 to 1).
243+
```
240244

241245
In the `ChartGradientColorStop`:
242246
- Offset - Specifies the position of the color stop along the gradient (0 to 100).

blazor/stock-chart/gradient.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ Gradients can be applied to:
2525
A linear gradient blends colors along a straight path from a defined start point to an end point. Configure it by adding `StockChartLinearGradient` inside the target element (Series, Trendline, or Indicator) and define one or more color stops that control how colors transition across the gradient. Set the start and end positions of the gradient using `X1`, `Y1`, `X2`, and `Y2` properties. The color stop values such as `Offset`, `Color`, `Opacity`, `Lighten`, and `Brighten` are set using `StockChartGradientColorStop`.
2626

2727
In the `StockChartLinearGradient`:
28-
- `X1` - Sets the horizontal start position of the gradient (0 to 1).
29-
- `Y1` - Sets the vertical start position of the gradient (0 to 1).
30-
- `X2` - Sets the horizontal end position of the gradient (0 to 1).
31-
- `Y2` - Sets the vertical end position of the gradient (0 to 1).
28+
```cshtml
29+
X1 - Sets the horizontal start position of the gradient (0 to 1).
30+
Y1 - Sets the vertical start position of the gradient (0 to 1).
31+
X2 - Sets the horizontal end position of the gradient (0 to 1).
32+
Y2 - Sets the vertical end position of the gradient (0 to 1).
33+
```
3234

3335
In the `StockChartGradientColorStop`:
3436
- Offset - Specifies the position of the color stop along the gradient (0 to 100).
@@ -209,11 +211,13 @@ Apply a linear gradient to a technical indicator by adding `StockChartLinearGrad
209211
A radial gradient blends colors outward from a central point. Configure it by adding `StockChartRadialGradient` inside the target element (Series, Trendline, or Indicator) and define one or more color stops to control how colors transition from the center to the outer edge. Set the gradient’s center, optional focal point, and radius using `Cx`, `Cy`, `Fx`, `Fy`, and `R` properties. The color stop values such as `Offset`, `Color`, `Opacity`, `Lighten`, and `Brighten` are set using `StockChartGradientColorStop`.
210212

211213
In the `StockChartRadialGradient`:
212-
- `Cx` - Sets the normalized horizontal center of the gradient (0 to 1).
213-
- `Cy` - Sets the normalized vertical center of the gradient (0 to 1).
214-
- `Fx` - Sets the normalized horizontal focal point from which the gradient appears to originate (0 to 1).
215-
- `Fy` - Sets the normalized vertical focal point (0 to 1).
216-
- `R` - Sets the normalized radius of the gradient circle (0 to 1).
214+
```cshtml
215+
Cx - Sets the normalized horizontal center of the gradient (0 to 1).
216+
Cy - Sets the normalized vertical center of the gradient (0 to 1).
217+
Fx - Sets the normalized horizontal focal point from which the gradient appears to originate (0 to 1).
218+
Fy - Sets the normalized vertical focal point (0 to 1).
219+
R - Sets the normalized radius of the gradient circle (0 to 1).
220+
```
217221

218222
In the `StockChartGradientColorStop`:
219223
- Offset - Specifies the position of the color stop along the gradient (0 to 100).

0 commit comments

Comments
 (0)