made graph generating functions take in params xIndices, yIndex, colorIndex.  color is ignored in bar charts.  in scatter, use -1 for colorIndex to indicate no color mapping.  will also generate multiple graphs with multiple x indices