The following code shows how to create a Graph2d and provide it with data.
The following code shows how to create a Graph2d and provide it with data.
More examples can be found in the <ahref="../examples">examples</a> directory.
More examples can be found in the <ahref="../../examples">examples</a> directory.
</p>
</p>
<preclass="prettyprint lang-html">
<preclass="prettyprint lang-html">
@ -275,7 +275,7 @@ The options colored in green can also be used as options for the groups. All opt
<tdclass="greenField">yAxisOrientation</td>
<tdclass="greenField">yAxisOrientation</td>
<td>String</td>
<td>String</td>
<td>'left'</td>
<td>'left'</td>
<td>This defines with which axis, left or right, the graph is coupled. <ahref="../examples/graph2d/05_bothAxis.html">Example 5</a> shows groups with different Y axis. If no groups are coupled
<td>This defines with which axis, left or right, the graph is coupled. <ahref="../../examples/graph2d/05_bothAxis.html">Example 5</a> shows groups with different Y axis. If no groups are coupled
with an axis, it will not be shown.</td>
with an axis, it will not be shown.</td>
</tr>
</tr>
<tr>
<tr>
@ -354,8 +354,8 @@ The options colored in green can also be used as options for the groups. All opt
<td>'overlap'</td>
<td>'overlap'</td>
<td>You can choose how graph2d handles the case where barcharts are occupying the same datapoint. The possible options are:
<td>You can choose how graph2d handles the case where barcharts are occupying the same datapoint. The possible options are:
<code>overlap, sideBySide, stack</code>.
<code>overlap, sideBySide, stack</code>.
See <ahref="../examples/graph2d/10_barsSideBySide.html">example 10</a> for more information.
When using groups, see <ahref="../examples/graph2d/11_barsSideBySideGroups.html">example 11</a>.
See <ahref="../../examples/graph2d/10_barsSideBySide.html">example 10</a> for more information.
When using groups, see <ahref="../../examples/graph2d/11_barsSideBySideGroups.html">example 11</a>.
</td>
</td>
</tr>
</tr>
<tr>
<tr>
@ -374,7 +374,7 @@ The options colored in green can also be used as options for the groups. All opt
<td>Define the type of parametrizaion. <ahref="../examples/graph2d/07_scrollingAndSorting.html">Example 7</a> shows the different methods. The options are 'centripetal' (best results), 'chordal' and 'uniform'. Uniform is the computationally cheapest variant.
<td>Define the type of parametrizaion. <ahref="../../examples/graph2d/07_scrollingAndSorting.html">Example 7</a> shows the different methods. The options are 'centripetal' (best results), 'chordal' and 'uniform'. Uniform is the computationally cheapest variant.
If catmullRom is disabled, linear interpolation is used.</td>
If catmullRom is disabled, linear interpolation is used.</td>
</tr>
</tr>
<tr>
<tr>
@ -507,7 +507,7 @@ The options colored in green can also be used as options for the groups. All opt
<td>Object</td>
<td>Object</td>
<td></td>
<td></td>
<td>You can use this to toggle the visibility of groups per graph2D instance. This is different from setting the visibility flag of the groups since
<td>You can use this to toggle the visibility of groups per graph2D instance. This is different from setting the visibility flag of the groups since
this is not communicated across instances of graph2d. Take a look at <ahref="../examples/graph2d/14_toggleGroups.html">Example 14</a>
this is not communicated across instances of graph2d. Take a look at <ahref="../../examples/graph2d/14_toggleGroups.html">Example 14</a>
for more explanation.
for more explanation.
</td>
</td>
</tr>
</tr>
@ -1150,8 +1150,8 @@ Graph2d comes with support for the following locales:
</p>
</p>
<p>
<p>
Additionally, Graph2d has 10 preset styles for graphs, which are cycled through when loading groups. These styles can be overwritten
Additionally, Graph2d has 10 preset styles for graphs, which are cycled through when loading groups. These styles can be overwritten
as well, along with defining your own classes to style the graphs! <ahref="../examples/graph2d/04_rightAxis.html">Example 4</a> and
<ahref="../examples/graph2d/05_bothAxis.html">example 5</a> show the usage of custom styles.
as well, along with defining your own classes to style the graphs! <ahref="../../examples/graph2d/04_rightAxis.html">Example 4</a> and
<ahref="../../examples/graph2d/05_bothAxis.html">example 5</a> show the usage of custom styles.