views

Views are an abstraction that allow us to have different implementations for visualizing our barchart, linechart, etc. sinks depending on the current need. Currently supported views:

write your own

You can quite easily write your own view implementation by extending from the flume.sinks.views.base.base class and then implementing the following methods:

For an example checkout the source of the gnuplot or pygal views.

The render method may be called many times with intermediate results that contain the data up to this point and the view implementation must deal with this how it sees fit such as re-rendering the whole output or simply redrawing the data that changed.