Console.WriteLine("Hello World");
Hello World
display("Hello World");
Hello World
"Hello World"
Hello World
#r "nuget:XPlot.Plotly"
using XPlot.Plotly;
index | value |
---|---|
0 | error: Unable to load the service index for source https://api.nuget.org/v3/index.json. |
1 | error: No such host is known. |
var openSeries = new Graph.Scatter
{
name = "Open",
x = new[] {1, 2, 3, 4},
y = new[] {10, 15, 13, 17}
};
var closeSeries = new Graph.Scatter
{
name = "Close",
x = new[] { 2,3,4,5 },
y = new[] { 16, 5, 11, 9 }
};
var chart = Chart.Plot(new[] {openSeries, closeSeries});
chart.WithTitle("Open vs Close");
display(chart);
var chart = Chart.Plot(new List<Graph.Box>
{
new Graph.Box() { y = new int [] { -40, 24, 36, 52, 67, 99, 26, 28, 20 }, name = "Age" },
new Graph.Box() { y = new int [] { 12, 42, 70, 100, 46, 20, 24, 24, 20 }, name = "Annual Income" },
new Graph.Box() { y = new int [] { 0, 30, 100, 50, 60, 80, 75, 75, 20 }, name = "Spending Score" }
});
var layout = new Layout.Layout()
{
title="Shopping Mall Customers Data Distribution",
showlegend = false
};
chart.WithLayout(layout);
display(chart);
var pocketViewTagMethods = typeof(PocketViewTags)
.GetProperties()
.Select(m => m.Name);
display(pocketViewTagMethods);
index | value |
---|---|
0 | _ |
1 | a |
2 | area |
3 | aside |
4 | b |
5 | body |
6 | br |
7 | button |
8 | caption |
9 | center |
10 | code |
11 | colgroup |
12 | dd |
13 | details |
14 | div |
15 | dl |
16 | dt |
17 | em |
18 | figure |
19 | font |
20 | form |
21 | h1 |
22 | h2 |
23 | h3 |
24 | h4 |
25 | h5 |
26 | h6 |
27 | head |
28 | header |
29 | hgroup |
30 | hr |
31 | html |
32 | i |
33 | iframe |
34 | img |
35 | input |
36 | label |
37 | li |
38 | link |
39 | main |
40 | menu |
41 | menuitem |
42 | meta |
43 | meter |
44 | nav |
45 | ol |
46 | optgroup |
47 | option |
48 | p |
49 | pre |
50 | progress |
51 | q |
52 | script |
53 | section |
54 | select |
55 | small |
56 | source |
57 | span |
58 | strike |
59 | style |
60 | strong |
61 | sub |
62 | sup |
63 | svg |
64 | table |
65 | tbody |
66 | td |
67 | textarea |
68 | tfoot |
69 | th |
70 | thead |
71 | title |
72 | tr |
73 | u |
74 | ul |
75 | video |
var pocketView = table[style: "width: 100%"](tr(td[style:"border: 1px solid black"]("Hello!")));
display(pocketView);
Hello! |