morrisjs/morris.js — pull request #410 by chavdaamit1 (2014-05-14 11:41:11+00:00)
Title: Added Animation to Bar & Line Chart.

Animation depends on Raphael JS.

For Line chart the the smooth attribute should be true.

e.g:

Line.prototype.defaults = {
lineWidth: 3,
pointSize: 4,
lineColors: ['#0b62a4', '#7A92A3', '#4da74d', '#afd8f8', '#edc240', '#cb4b4b', '#9440ed'],
pointWidths: [1],
pointStrokeColors: ['#ffffff'],
pointFillColors: [],
smooth: true,
xLabels: 'auto',
xLabelFormat: null,
xLabelMargin: 24,
continuousLine: true,
hideHover: false
};