Skip to content
This repository has been archived by the owner on Aug 2, 2019. It is now read-only.

Commit

Permalink
Merge pull request #129 from jaredly/master
Browse files Browse the repository at this point in the history
add a Line() example showing explicit x values
  • Loading branch information
wrobstory committed Jan 26, 2015
2 parents 3245adc + 859cfd9 commit 9704cb5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Binary file added doc/build/html/_images/line3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions doc/source/charts_library.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ Multiple lines can also be plotted easily::

.. image:: /images/line2.png

You can also specify the x-coordinates explicitly::

vincent.Line({i: math.sin(i/15.0) for i in range(10, 100, 2)})

.. image:: /images/line3.png

.. _chart_lib_scatter:

Scatter
Expand Down

0 comments on commit 9704cb5

Please sign in to comment.