[Chart] Trying to understand architecture of chart library

Vimo Riquet vimorq at gmail.com
Wed Apr 16 00:27:25 BST 2014


Hello all,

For the past week, I've been reading through a lot of the chart library
source code as I am trying to understand the inner workings of how charts
are generated and what the key concepts are. I've concentrated on the
Layout style of charts, but I am finding that I am not getting clarity on
how things work.

For example, some questions I have are:

* What is a pick function and why is it used everywhere?
* What exactly is a Renderable? And the render function inside? Is it a
composed rendering function?
* How are the different pieces of the chart put together, e.g. the axes,
the grid, the labels, the plots themselves (vertical and horizontal
layouts?)
* How are the axes major ticks determined?

In general, I'm trying to get a feel for the structure of the library. Can
anyone offer any suggestions on how I could approach this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://projects.haskell.org/pipermail/chart/attachments/20140415/cc559528/attachment.htm>


More information about the Chart mailing list