Skip to content

Commit 2998238

Browse files
985588: Resolved the font matter error in the PR.
1 parent acb8f1e commit 2998238

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

blazor-toc.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4286,6 +4286,7 @@
42864286
<li> <a href="/blazor/sparkline/user-interaction">User Interaction</a></li>
42874287
<li> <a href="/blazor/sparkline/appearance">Appearance</a></li>
42884288
<li> <a href="/blazor/sparkline/globalization">Globalization</a></li>
4289+
<li> <a href="/blazor/sparkline/localization">Localization</a></li>
42894290
<li> <a href="/blazor/sparkline/accessibility">Accessibility</a></li>
42904291
<li> <a href="/blazor/sparkline/events">Events</a></li>
42914292
<li> <a href="/blazor/sparkline/methods">Methods</a></li>

blazor/sparkline/localization.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@ The Sparkline Charts tooltip supports localization. The following example shows
2626
UseGroupingSeparator= "true"
2727
Height="200px" Width="350px"
2828
Format = "c0">
29-
<SparklineContainerArea>
30-
<SparklineContainerAreaBorder Color="#033e96" Width="2"></SparklineContainerAreaBorder>
31-
</SparklineContainerArea>
32-
<SparklinePadding Left='20' Right='20' Bottom='20' Top='20'></SparklinePadding>
33-
<SparklineTooltipSettings Visible='true'></SparklineTooltipSettings>
29+
<SparklineContainerArea>
30+
<SparklineContainerAreaBorder Color="#033e96" Width="2"></SparklineContainerAreaBorder>
31+
</SparklineContainerArea>
32+
<SparklinePadding Left='20' Right='20' Bottom='20' Top='20'></SparklinePadding>
33+
<SparklineTooltipSettings Visible='true'></SparklineTooltipSettings>
3434
</SfSparkline>
3535
3636
@code {
3737
[Inject]
3838
protected IJSRuntime JsRuntime { get; set; }
3939
40-
int[] Numbers={30000, 60000, 40000, 10000, 30000, 20000, 50000};
40+
int[] Numbers = { 30000, 60000, 40000, 10000, 30000, 20000, 50000 };
4141
4242
protected override void OnAfterRender() {
4343
this.JsRuntime.Ejs().LoadCldrData(new string[]{"ca-gregorian.json",
@@ -47,8 +47,6 @@ The Sparkline Charts tooltip supports localization. The following example shows
4747
4848
```
4949

50-
![Sparkline Charts with localization](./images/localization/blazor-sparkline-localization.png)
51-
5250
## Rtl
5351

5452
If the `EnableRtl` property is set to true, the Sparkline Charts will render from right-to-left.
@@ -68,7 +66,7 @@ The following example shows the Sparkline Charts rendered in right-to-left mode.
6866
[Inject]
6967
protected IJSRuntime JsRuntime { get; set; }
7068
71-
int[] Numbers={0, 6, 4, 1, 3, 2, 5};
69+
int[] Numbers = { 0, 6, 4, 1, 3, 2, 5 };
7270
7371
protected override void OnAfterRender() {
7472
this.JsRuntime.Ejs().EnableRtl(true);

0 commit comments

Comments
 (0)