You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am very curious to try night-vision chart.
In any case I do not intend to install anything locally.
Do you provide some cnd to implement it directly in a page and see how it goes? 🐸🤵♂️🍸
I tried this way, but nothing.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/night-vision.min.js"></script>
</head>
<body>
<div style="min-height: 500px">
<div id="nightvision"></div>
</div>
<script>
let chart = new NightVision('nightvision')
// Generate some random data
function data() {
return Array(30).fill(1).map((x, i) => [
new Date(`${i+1} Nov 2022 GMT+0000`).getTime(),
i * Math.random()
])
}
// Set the dataset
chart.data = {
panes: [{
overlays: [{
name: 'APE Stock',
type: 'Spline',
data: data(),
settings: {
precision: 2
}
}]
}]
}
</script>
</body>
</html>
Congratulations because it looks really beautiful.
Good work.
The text was updated successfully, but these errors were encountered:
NOT A BUG!!
I am very curious to try night-vision chart.
In any case I do not intend to install anything locally.
Do you provide some cnd to implement it directly in a page and see how it goes? 🐸🤵♂️🍸
I tried this way, but nothing.
Congratulations because it looks really beautiful.
Good work.
The text was updated successfully, but these errors were encountered: