Browse Source

Update documentation for new Shaded option.

Removed some old incorrect texts.
newShading
Ludo Stellingwerff 9 years ago
parent
commit
7c5ca074bb
1 changed files with 2 additions and 13 deletions
  1. +2
    -13
      docs/graph2d/index.html

+ 2
- 13
docs/graph2d/index.html View File

@ -246,8 +246,6 @@
<p> <p>
Graph2d can load data from an <code>Array</code>, a <code>DataSet</code> (offering 2 way data binding), or a <code>DataView</code> (offering one way data binding). Graph2d can load data from an <code>Array</code>, a <code>DataSet</code> (offering 2 way data binding), or a <code>DataView</code> (offering one way data binding).
Objects are added to this DataSet by using the <code>add()</code> function. Objects are added to this DataSet by using the <code>add()</code> function.
Data points must have properties <code>x</code>, <code>y</code>, and <code>z</code>,
and can optionally have a property <code>style</code> and <code>filter</code>.
<p> <p>
Graph2d can be provided with two types of data: Graph2d can be provided with two types of data:
</p> </p>
@ -760,8 +758,8 @@ onRender: function(item, group, graph2d) {
<tr parent="shaded" class="hidden"> <tr parent="shaded" class="hidden">
<td class="greenField indent">shaded.orientation</td> <td class="greenField indent">shaded.orientation</td>
<td>String</td> <td>String</td>
<td>'bottom'</td>
<td>This determines if the shaded area is at the bottom or at the top of the curve. The options are 'bottom' or 'top'.</td>
<td>'zero'</td>
<td>This determines if the shaded area is at the bottom or at the top of the curve, or always towards the zero-axis of the graph. The options are 'zero', 'bottom' or 'top'.</td>
</tr> </tr>
<tr parent="shaded" class="hidden"> <tr parent="shaded" class="hidden">
<td class="greenField indent">shaded.style</td> <td class="greenField indent">shaded.style</td>
@ -1308,15 +1306,6 @@ Graph2d.off('rangechanged', onChange);
</td> </td>
</tr> </tr>
<tr>
<td>finishedRedraw</td>
<td>
none.
</td>
<td>Fired after a redraw is complete. When moving the Graph2d around, this could be fired frequently.
</td>
</tr>
<tr> <tr>
<td>rangechange</td> <td>rangechange</td>
<td> <td>

Loading…
Cancel
Save