Commit ccfb0b49 authored by olau@iola.dk's avatar olau@iola.dk

Add note about axis visibility under API changes, problem reported by

Dragos Tihauan (issue 471)


git-svn-id: https://flot.googlecode.com/svn/trunk@313 1e0a6537-2640-0410-bfb7-f154510ff394
parent 9dcd530b
...@@ -22,8 +22,11 @@ becomes ...@@ -22,8 +22,11 @@ becomes
Note that if you're just using one axis, continue to use the Note that if you're just using one axis, continue to use the
xaxis/yaxis directly (it now sets the default settings for the xaxis/yaxis directly (it now sets the default settings for the
arrays). Plugins touching the axes must be ported to take the extra arrays). Plugins touching the axes must be ported to take the extra
axes into account, a couple of helper functions have been added for axes into account, check the source to see some examples.
that purpose, check the source.
A related change is that the visibility of axes is now auto-detected.
So if you were relying on an axis to show up even without any data in
the chart, you now need to set the axis "show" option explicitly.
"tickColor" on the grid options is now deprecated in favour of a "tickColor" on the grid options is now deprecated in favour of a
corresponding option on the axes, so { grid: { tickColor: "#000" }} corresponding option on the axes, so { grid: { tickColor: "#000" }}
......
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