This commit is contained in:
Will Charczuk 2017-01-10 13:54:57 -08:00
parent 13cd06ec0d
commit 7163f89845
1 changed files with 4 additions and 1 deletions

View File

@ -10,7 +10,10 @@ func drawChart(res http.ResponseWriter, req *http.Request) {
/*
The below will draw the same chart as the `basic` example, except with both the x and y axes turned on.
In this case, both the x and y axis ticks are generated automatically, the x and y ranges are established automatically, the canvas "box" is adjusted to fit the space the axes occupy so as not to clip.
In this case, both the x and y axis ticks are generated automatically, the x and y ranges are established automatically,
the canvas "box" is adjusted to fit the space the axes occupy so as not to clip.
Additionally, it shows how you can use the "Descending" property of continuous ranges to change the ordering of
how values (including ticks) are drawn.
*/
graph := chart.Chart{