Added support for categorical plot data.