Example of setting graph bounds

Does anyone have a good example of how to use the makeBounds method? What is the right syntax for setting a bounds “strategy” for the graph?

Here’s an example:

# left, right, bottom, top
bounds: makeBounds(0, 10, 0, 10).setStrategy(bottom())

The strategy can be one of the following:

stretch()
left()
bottom()
right()
top()
centeredVertical()
centeredHorizontal()

stretch will make the graph paper match the bounds exactly, and is the default strategy. The others are best understood by what they preserve. For example, bottom will preserve the bottom edge (the xmin, xmax and ymin of the bound), while letting ymax vary to make the axes square. centeredHorizontal will preserve the vertical center line (ymin, ymax, and the center x-coordinate), while letting both xmin and xmax vary.