Commit 94d08c13 authored by Hongli Lai (Phusion)'s avatar Hongli Lai (Phusion)

Conver API to markdown format for better readability.

parent 328c2be2
Flot Reference
--------------
==============
Consider a call to the plot function:
......@@ -1168,7 +1168,7 @@ hooks in the plugins bundled with Flot.
- drawOverlay [phase 7]
function (plot, canvascontext)
function(plot, canvascontext)
The drawOverlay hook is used for interactive things that need a
canvas to draw on. The model currently used by Flot works the way
......@@ -1185,7 +1185,7 @@ hooks in the plugins bundled with Flot.
- shutdown [phase 8]
function (plot, eventHolder)
function(plot, eventHolder)
Run when plot.shutdown() is called, which usually only happens in
case a plot is overwritten by a new plot. If you're writing a
......
......@@ -67,7 +67,7 @@ ready, run the plot function:
Here, data is an array of data series and options is an object with
settings if you want to customize the plot. Take a look at the
examples for some ideas of what to put in or look at the reference
in the file "API.txt". Here's a quick example that'll draw a line from
in the file "API.txt.md". Here's a quick example that'll draw a line from
(0, 0) to (1, 1):
$.plot($("#placeholder"), [ [[0, 0], [1, 1]] ], { yaxis: { max: 1 } });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment