Draw Graphs with JSON Data

Previous post dealt with sending JSON data around. Now, I need to be able to draw it. After looking for graphing libraries, I’ve settled on Chart.js and on CanvasJS. Common steps All graphs need a canvas element to function: First thing I wanted, was to get the data with AJAX. This way, my page would […]

Send JSON Graph Data from Django

I’m trying to write a Django application to deal with my finances. I’ve got a nice page listing various transactions, but I thought it’d be nice to have a graph too, to see where I actually am on the spot. To do this, I’ll need two components: A JSON sender from Django A receiver and […]

Initialize a Typescript Interface with JSON

TL;DR: You can initialise a typescript interface using JSON objects. On my quest to load and save objects as JSON, I found that you can convert a JSON object to an interface via something called type assertion. Basically, if you have an interface:

you can load a JSON object via JSON.parse(json) straight to an […]

Debug Javascript – Object Inspection

Many times, you have objects where you may or may not know their content. If you’re running in the browser, life is easy as you can pause the code and inspect the object. at command line is a bit more annoying. In this case, at least for the first run, you can execute something like: […]

Multipool.us APIs

Multipool is a multi-coin mining pool, capable of dynamically switching between currencies, to maximise the profitability. They offer an API which allows nice access to their data. Unfortunately, I’ve found that it’s quite difficult to find what’s what, so I’ve decided to document it. Below you’ll find some extra info on URLs and structure of […]

Scroll to top