Skip to content

Commit 433a99c

Browse files
authored
Merge pull request #24 from macias/main
cleanup
2 parents e28142e + bf5ba20 commit 433a99c

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

ChartjsDemo/Pages/CrosshairPage.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
on the graph to identify better where a point is. See the example below.
88
</p>
99

10-
<h4>Horizontal crosshair</h4>
10+
<h4>Vertical crosshair</h4>
1111

1212
<Chart Config="_config1" @ref="_chart1" Height="400px"></Chart>
1313

@@ -51,7 +51,7 @@ protected override async Task OnInitializedAsync()
5151

5252
<hr/>
5353

54-
<h4>Vertical crosshair</h4>
54+
<h4>Horizontal crosshair</h4>
5555

5656
<Chart Config="_config2" @ref="_chart1" Height="400px"></Chart>
5757

src/wwwroot/Chart.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ window.setup = (id, dotnetConfig, jsonConfig) => {
5050
document.getElementById("chartcontainer" + id).innerHTML = '<canvas id="' + id + '"></canvas>';
5151
document.getElementById("chartcontainer" + id).style.display = '';
5252

53-
console.log(jsonConfig);
54-
5553
var context2d = document.getElementById(id).getContext('2d');
5654
let config = eval(jsonConfig);
5755
if (config?.options?.plugins?.tooltip?.callbacks?.hasLabel) {

0 commit comments

Comments
 (0)