Tag Archives: graph project

Turning the Graph Function Into an Object in JavaScript, Part 3

Today I’ll describe the sizing of characters so the graph object knows exactly how to place them. I hacked together a tool that prints out letters in a specified font and then draws horizontal lines at various offsets from the … Continue reading

Posted in Software | Tagged , , | Leave a comment

Turning the Graph Function Into an Object in JavaScript, Part 2

In drawing a graph I’ve created variables for all sorts of coordinates (where do the axes begin and end?) and characteristics (how many tickmarks per interval, how long are they, and what color?). However, rather than define the locations directly … Continue reading

Posted in Software | Tagged , , | Leave a comment

Reverse Engineering Or… What Was It I Was Trying To Do There?

While continuing the process of turning the JavaScript graph widget into an object I found I needed to create labels of various kinds, which you see added in the examples below. I also wanted to test out some more of … Continue reading

Posted in Tools and methods | Tagged , , , , | Leave a comment

Turning the Graph Function Into an Object in JavaScript, Part 1

Sometimes it is simple enough to build an object from the ground up in a slow, methodical, organized fashion. By contrast, one may also choose to hack something together to get it to work, play with it, and then refine … Continue reading

Posted in Software | Tagged , , | Leave a comment