イメージ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@page "/" | |
@using System.Collections.Generic | |
@using MathNet.Numerics.Random; | |
@using MathNet.Numerics.Distributions; | |
@using System.Linq; | |
@inject IJSRuntime JsRuntime; | |
<h1>sparklines bar</h1> | |
@if (records == null) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@page "/" | |
@using System.Collections.Generic | |
@using MathNet.Numerics.Random; | |
@using MathNet.Numerics.Distributions; | |
@using System.Linq; | |
@inject IJSRuntime JsRuntime; | |
<h1>sparklines bar</h1> | |
@if (records == null) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@page "/" | |
@inject IJSRuntime JsRuntime; | |
<h1>sigma click</h1> | |
<div id='container' style="width:300px;height:300px;margin: auto;"></div> | |
@code { | |
protected override async Task OnAfterRenderAsync() { | |
await JsRuntime.InvokeAsync<Object> ("myHelper.setup", ""); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@page "/" | |
@inject IJSRuntime JsRuntime; | |
<h1>Hello, sigma.js</h1> | |
<div id='container' style="width:100px;height:100px"></div> | |
@code { | |
protected override async Task OnAfterRenderAsync() { | |
await JsRuntime.InvokeAsync<Object> ("myHelper.setup", ""); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@page "/" | |
@inject HttpClient Http; | |
@inject IJSRuntime JsRuntime; | |
<h1>Vega bar chart</h1> | |
<div id="view"></div> | |
@functions { | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@page "/" | |
@using System.Collections.Generic; | |
@inject IJSRuntime JsRuntime; | |
<h1>D3 scatter plot</h1> | |
<div id="my_data"></div> | |
@functions { | |
struct MyData { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@page "/" | |
@using System.Collections.Generic; | |
@inject IJSRuntime JsRuntime; | |
<h1>D3 heatmap</h1> | |
<div id="my_dataviz"></div> | |
@functions{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@page "/" | |
@using System.Collections.Generic | |
@inject IJSRuntime JsRuntime; | |
<h1>c3js sparklines</h1> | |
@if (records == null) | |
{ | |
<p><em>Loading...</em></p> | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@page "/" | |
@using System.Collections.Generic | |
@inject IJSRuntime JsRuntime; | |
<h1>c3js sparklines</h1> | |
@if (records == null) | |
{ | |
<p><em>Loading...</em></p> | |
} |