How to optimally use colors in bar charts

Learn how to color your bars in a Datylon Bar chart

Color can be used in bar chart on two levels:

  • 1. Coloring of bars grouped by series.
    This option is relevant for simple bar charts or stacked bar charts. To apply color to all bars in series go to Styling > Bars > Color. You can learn more about using palettes here.

help-color-in-bar-chart-series

  • 2. Coloring of separate bars within series.
    • A. Coloring by category.
      Every bar will be colored depending on category it is representing. To apply this type of coloring bind column/row that contain categories to Color field. Then choose a categorical color palette:
      Styling > Series > New series N > Bars > Color. 

help-color-in-bar-chart-category

    • B. Coloring by numerical value.
      Every bar will be colored depending on value it is representing. To apply this type of coloring you should bind column/row that contain numerical values to Color field. Then go to Formatting > (Column with values) > Number. After that choose a sequential or diverging color palette: Styling > Series > New series N > Bars > Color. Learn more about data-driven coloring here.

help-color-in-bar-chart-numerical

    • C. Coloring by color codes that are presented in a separate row/column.
      To apply this type of coloring bind column/row that contain color codes to Color filed. Learn more about defining colors by data here

help-color-in-bar-chart-color-codes


One more specific feature of bar chart is the ability to link Y axis label colors with the color of the bars of the first series. To use this feature go to Styling > Y Axis > Labels > Character > Typeface > Color > Link > First Series. 


helpecenter-how-to-optimally-use-colors -in-bar-chart


To learn more about colors in Datylon check out the related articles: 

Using color in Datylon charts

Direct coloring of Datylon charts

Color modes in Datylon for Illustrator

Spot & global colors in Datylon for Illustrator