Skip to content

Commit 2b06b1c

Browse files
committed
docs, images
1 parent bc6b53d commit 2b06b1c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+3819
-4
lines changed

README.md

+24-4
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,11 @@ There are currently two chart types available: a raster chart for displaying neu
222222

223223
The chart below shows the raster chart with the bar magnifier enabled. The controls at the top of the chart are part of the example. These controls allow filtering time-series by their assigned names in real-time, displaying a tooltip when the mouse pointer is on top of a datum, displaying a tracker that show a vertical line and the current time of the mouse, and a bar magnifier, as shown in the image.
224224

225-
![raster-chart](./docs/images/raster-magnifier.png?raw=true)
225+
![raster-chart](images/raster-magnifier.png?raw=true)
226226

227227
The scatter plot shown below has 30 time-series of test data, with two time axes, in which the data are updated every 25 milliseconds. A tooltip shows the times and values that came just before and just after the mouse cursor and, as well as the time and value changes.
228228

229-
![scatter-chart-tooltip](./docs/images/scatter-tooltip.png?raw=true)
229+
![scatter-chart-tooltip](images/scatter-tooltip.png?raw=true)
230230

231231
## usage
232232

@@ -536,6 +536,26 @@ Please note that the font style of the tracker text is controlled by the axis-la
536536

537537
### time-series
538538

539-
## built with
539+
## building
540540

541-
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
541+
Building
542+
```shell
543+
npm install
544+
npm run build
545+
```
546+
547+
Packaging
548+
```shell
549+
npm pack
550+
```
551+
552+
Testing
553+
```shell
554+
npm run test
555+
```
556+
557+
Creating docs
558+
```shell
559+
npm install typedoc
560+
npx typedoc src/app/charts/*
561+
```

docs/.nojekyll

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.

docs/assets/highlight.css

+92
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
:root {
2+
--light-hl-0: #000000;
3+
--dark-hl-0: #D4D4D4;
4+
--light-hl-1: #AF00DB;
5+
--dark-hl-1: #C586C0;
6+
--light-hl-2: #001080;
7+
--dark-hl-2: #9CDCFE;
8+
--light-hl-3: #A31515;
9+
--dark-hl-3: #CE9178;
10+
--light-hl-4: #008000;
11+
--dark-hl-4: #6A9955;
12+
--light-hl-5: #795E26;
13+
--dark-hl-5: #DCDCAA;
14+
--light-hl-6: #098658;
15+
--dark-hl-6: #B5CEA8;
16+
--light-hl-7: #0000FF;
17+
--dark-hl-7: #569CD6;
18+
--light-hl-8: #267F99;
19+
--dark-hl-8: #4EC9B0;
20+
--light-hl-9: #000000;
21+
--dark-hl-9: #C8C8C8;
22+
--light-code-background: #FFFFFF;
23+
--dark-code-background: #1E1E1E;
24+
}
25+
26+
@media (prefers-color-scheme: light) { :root {
27+
--hl-0: var(--light-hl-0);
28+
--hl-1: var(--light-hl-1);
29+
--hl-2: var(--light-hl-2);
30+
--hl-3: var(--light-hl-3);
31+
--hl-4: var(--light-hl-4);
32+
--hl-5: var(--light-hl-5);
33+
--hl-6: var(--light-hl-6);
34+
--hl-7: var(--light-hl-7);
35+
--hl-8: var(--light-hl-8);
36+
--hl-9: var(--light-hl-9);
37+
--code-background: var(--light-code-background);
38+
} }
39+
40+
@media (prefers-color-scheme: dark) { :root {
41+
--hl-0: var(--dark-hl-0);
42+
--hl-1: var(--dark-hl-1);
43+
--hl-2: var(--dark-hl-2);
44+
--hl-3: var(--dark-hl-3);
45+
--hl-4: var(--dark-hl-4);
46+
--hl-5: var(--dark-hl-5);
47+
--hl-6: var(--dark-hl-6);
48+
--hl-7: var(--dark-hl-7);
49+
--hl-8: var(--dark-hl-8);
50+
--hl-9: var(--dark-hl-9);
51+
--code-background: var(--dark-code-background);
52+
} }
53+
54+
body.light {
55+
--hl-0: var(--light-hl-0);
56+
--hl-1: var(--light-hl-1);
57+
--hl-2: var(--light-hl-2);
58+
--hl-3: var(--light-hl-3);
59+
--hl-4: var(--light-hl-4);
60+
--hl-5: var(--light-hl-5);
61+
--hl-6: var(--light-hl-6);
62+
--hl-7: var(--light-hl-7);
63+
--hl-8: var(--light-hl-8);
64+
--hl-9: var(--light-hl-9);
65+
--code-background: var(--light-code-background);
66+
}
67+
68+
body.dark {
69+
--hl-0: var(--dark-hl-0);
70+
--hl-1: var(--dark-hl-1);
71+
--hl-2: var(--dark-hl-2);
72+
--hl-3: var(--dark-hl-3);
73+
--hl-4: var(--dark-hl-4);
74+
--hl-5: var(--dark-hl-5);
75+
--hl-6: var(--dark-hl-6);
76+
--hl-7: var(--dark-hl-7);
77+
--hl-8: var(--dark-hl-8);
78+
--hl-9: var(--dark-hl-9);
79+
--code-background: var(--dark-code-background);
80+
}
81+
82+
.hl-0 { color: var(--hl-0); }
83+
.hl-1 { color: var(--hl-1); }
84+
.hl-2 { color: var(--hl-2); }
85+
.hl-3 { color: var(--hl-3); }
86+
.hl-4 { color: var(--hl-4); }
87+
.hl-5 { color: var(--hl-5); }
88+
.hl-6 { color: var(--hl-6); }
89+
.hl-7 { color: var(--hl-7); }
90+
.hl-8 { color: var(--hl-8); }
91+
.hl-9 { color: var(--hl-9); }
92+
pre, code { background: var(--code-background); }

0 commit comments

Comments
 (0)