Added support for error bars and multiple data series