support more data layouts for error bars