Defining bar, pie slice, and line segment colors You can select which color to use for bars, pie slices, and line segments in a chart. For non-array elements, you can select a specific color for each chart item. For array elements, you can define a color interval that will be applied to the chart items.