File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
docs/BlazorApexCharts.Docs/Components/Features/Tooltips Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 6
6
<ApexPointTooltip >
7
7
<div class =" p-1" >
8
8
@{
9
- var dataPoint = (DataPoint <Order >)context .DataPoint ;
10
9
<h3 >@context.DataPoint.X </h3 >
11
-
12
10
<Row class =" mb-2" >
13
11
<RowCol Auto >
14
12
<Badge style =" background-color :#FF0000 " >Gross Value </Badge >
15
13
</RowCol >
16
14
<RowCol Auto >
17
15
<span class =" @(context.SeriesIndex == 0 ? " strong " : " " )" >
18
- @dataPoint .Items.Sum(e => e .GrossValue ).ToString (" n0" )
16
+ @context.DataPoint .Items.Sum(e => e .GrossValue ).ToString (" n0" )
19
17
</span >
20
18
</RowCol >
21
19
</Row >
26
24
</RowCol >
27
25
<RowCol Auto >
28
26
<span class =" @(context.SeriesIndex == 1 ? " strong " : " " )" >
29
- @dataPoint .Items.Sum(e => e .NetValue ).ToString (" n0" )
27
+ @context.DataPoint .Items.Sum(e => e .NetValue ).ToString (" n0" )
30
28
</span >
31
29
</RowCol >
32
30
</Row >
You can’t perform that action at this time.
0 commit comments