dbuenzli / vg

Declarative 2D vector graphics for OCaml
http://erratique.ch/software/vg
ISC License
86 stars 12 forks source link

Example request: #11

Closed fxfactorial closed 8 years ago

fxfactorial commented 8 years ago

I'm considering using this along with postgresl to create some simple graphs.

I'm wondering if you could provide some examples that could show off a bar graph or maybe like a line graph, ideally both.

Or maybe vg wouldn't be the best choice for this?

dbuenzli commented 8 years ago

I'm wondering if you could provide some examples that could show off a bar graph or maybe like a line graph, ideally both.

See for example http://erratique.ch/software/vg/demos/rhtmlc#pie-ambiguity

Or maybe vg wouldn't be the best choice for this?

Depends a bit. You may find the thing too low-level for label placement, see https://github.com/dbuenzli/vg/issues/6