fixed issue with creating new charts

This commit is contained in:
Spencer Alger 2014-05-16 10:41:11 -07:00
parent b8052cb392
commit f90fe100cb

View file

@ -21,7 +21,7 @@ define(function (require) {
}
var agg = columns[iX].agg && aggs.byName[columns[iX].agg];
if (agg.ordinal) {
if (agg && agg.ordinal) {
// TODO: add interval, min, max data here for the chart
chart.ordinal = {};
}