Plotters demo

This page demonstrates how to build custom plotters with dygraphs. The plotter option allows you to write your own drawing logic. This can be used to achieve powerful customization. View source to see how the examples work.

## Bar Chart

Here a specialized plotter is used to draw a bar plot rather than a line plot:

## Candle Chart

Here a specialized plotter is used to combined four series into a unified "Candle" plot:

## Bar & Line Chart

The plotter option may be set on a per-series basis to create mixed charts:

## Multi-column Bar Chart

## Mixed Error Bars and Lines

You can tweak the standard plotters list to achieve effects which would be difficult otherwise, e.g. drawing series with only confidence intervals and showing error bars only for some series.

## Smooth Lines

See the smooth-plots demo for an example of a custom plotter which connects points using bezier curves instead of straight lines.