Monthly Archives: March 2016

Context for the Graph Project

A friend asked me what my recent series of posts is trying to communicate, so here is a brief rundown. When not writing here about my previous experience or reactions to things I’ve seen or read, the goal is to … Continue reading

Posted in Software | Tagged , | Leave a comment

JavaScript Graph Object, Part 12

Today I think I’m just going to list all of the TO DO items for the project while taking a moment to see if anything in the basic structure of the existing code might be reworked. Rather than continuously banging … Continue reading

Posted in Software | Tagged , , | Leave a comment

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

Today I continued to dive into smaller and smaller details of how the tick value labels get placed when they are rotated. When it seemed like I was done I set the graph up to continually modify the angle of … Continue reading

Posted in Software | Tagged , , | Leave a comment

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

Today the X-axis tick value labels can be rotated, though I may need to rethink what the angles actually mean. Also, a bit of spacing has been added to let the presentation breathe and some gentler colors were chosen for … Continue reading

Posted in Software | Tagged , , | Leave a comment

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

Today I reorganized things so that the location of the graph axes are calculated automatically. The first image just shows the typical arrangement of items in their normal sizes. The graph and axis labels are larger in this image. In … Continue reading

Posted in Software | Tagged , , | Leave a comment

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

The screenshots below show the graph object with different amounts of text rotation on the y-axis labels and the buffer spaces (shown as green bars) that indicate how the spacing of elements is to be determined from the outside edge … Continue reading

Posted in Software | Tagged , , | Leave a comment

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

Today I implemented the ability to rotate the tick labels on the graph axes. There are a few little tweaks left to implement and describe, but the figures below show how the various offsets work to position each label relative … Continue reading

Posted in Software | Tagged , , | Leave a comment

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

Here is a diagram of all the measurements needed to place items in the graphing area. Given the width and height of the canvas element in pixels you can see how every element is placed building in from the outer … Continue reading

Posted in Software | Tagged , , | Leave a comment

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

Today’s goal was to come up with a reasonably automated way to specify formatting for the numeric values associated with the major tickmarks on each axis. I chose to implement settings for decimal places, overall precision width, and whether or … Continue reading

Posted in Software | Tagged , , | Leave a comment