A Pen by Nepal Bitcoin

Developer
Size
2,568 Kb
Views
8,096

How do I make an a pen by nepal bitcoin?

What is a a pen by nepal bitcoin? How do you make a a pen by nepal bitcoin? This script and codes were developed by Nepal Bitcoin on 08 December 2022, Thursday.

A Pen by Nepal Bitcoin Previews

A Pen by Nepal Bitcoin - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>A Pen by Nepal Bitcoin</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <html> <body> <h1>Crypto Radar</h1> <div class="myChartDiv"> <canvas id="myChart" width="900px" height="600px"></canvas> </div> </body>
</html> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script>
<script src='https://npmcdn.com/chart.js@latest/dist/Chart.bundle.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.5.1/socket.io.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

A Pen by Nepal Bitcoin - Script Codes CSS Codes

.myChartDiv { max-width: 900px; max-height: 600px;
}

A Pen by Nepal Bitcoin - Script Codes JS Codes

function convertHex(hex, alpha) { hex = hex.replace('#', ''); r = parseInt(hex.substring(0, 2), 16); g = parseInt(hex.substring(2, 4), 16); b = parseInt(hex.substring(4, 6), 16); result = 'rgba(' + r + ',' + g + ',' + b + ',' + alpha / 100 + ')'; return result;
}
$(document).ready(function() { var ctx = document.getElementById("myChart"); var color = ["#ff0000", "#ff9d00", "#c3ff00", "#15ff00", "#00bbff", "#d800ff", "#ff0090"]; var crypto = ["Bitoin", "Ethereum", "Litecoin", "xyz", "xyz", "xyz"] var labels = ["Volume\(24h\)", "MarketCap", "Price", "Supply", "Change"]; var datasets = []; var USDNPR = 106.33; var socket = io.connect('https://coincap.io'); //var X = document.getElementById("Crypto"); socket.on('trades', function(tradeMsg) { var msg = tradeMsg.message.msg; //var Y = document.getElementById("TR_" + tradeMsg.message.coin); var Price = msg.price * USDNPR; if (Y === null) {} }); for (var i = 0; i <= 5; i++) { datasets[i] = { label: crypto[i], backgroundColor: convertHex(color[i], 20), borderColor: convertHex(color[i], 50), pointBackgroundColor: convertHex(color[i], 100), pointBorderColor: "#fff", pointHoverBackgroundColor: "#fff", pointHoverBorderColor: convertHex(color[i], 100), data: [Math.floor(Math.random() * 100), Math.floor(Math.random() * 100), Math.floor(Math.random() * 100), Math.floor(Math.random() * 100)] }; } var data = { labels: labels, datasets: datasets }; var myChart = new Chart(ctx, { type: 'radar', data: data, options: { } });
});
/*
var USDNPR = 106.33;
var socket = io.connect('https://coincap.io');
var X = document.getElementById("Crypto");
socket.on('trades', function(tradeMsg) { var msgx = tradeMsg.message.msg; var Y = document.getElementById("TR_" + tradeMsg.message.coin); var Price = msgx.price * USDNPR; if (Y === null) { X.innerHTML += '<tr id="TR_' + tradeMsg.message.coin + '"><td>' + msgx.position24 + '</td><td>' + msgx.long + ' \(' + msgx.short + '\)</td><td>' + Price.toFixed(Price < 1 ? 8 : 2) + '</td><td>' + (msgx.volume * USDNPR).toFixed(0) + '</td><td>' + (msgx.mktcap * USDNPR).toFixed(0) + '</td><td>' + msgx.supply + ' ' + msgx.short + '</td><td>' + msgx.cap24hrChange + '</td><td>' + (1 / Price).toFixed((1 / Price) < 1 ? 8 : 2) + ' ' + msgx.short + '</td></tr>'; } else { Y.innerHTML = '<td>' + msgx.position24 + '</td><td>' + msgx.long + ' \(' + msgx.short + '\)</td><td>' + Price.toFixed(Price < 1 ? 8 : 2) + '</td><td>' + (msgx.volume * USDNPR).toFixed(0) + '</td><td>' + (msgx.mktcap * USDNPR).toFixed(0) + '</td><td>' + msgx.supply + ' ' + msgx.short + '</td><td>' + msgx.cap24hrChange + '</td><td>' + (1 / Price).toFixed((1 / Price) < 1 ? 8 : 2) + ' ' + msgx.short + '</td>'; }
});
//////////
**/
A Pen by Nepal Bitcoin - Script Codes
A Pen by Nepal Bitcoin - Script Codes
Home Page Home
Developer Nepal Bitcoin
Username nepalbitcoin
Uploaded December 08, 2022
Rating 3
Size 2,568 Kb
Views 8,096
Do you need developer help for A Pen by Nepal Bitcoin?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Nepal Bitcoin (nepalbitcoin) Script Codes
Create amazing captions with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!