Creating a Legend Cell Column

Add a new cell column to a chart legend.

Implementation:

  1. Open a Chart question's Properties and click Configure to open the Chart Definition interface.
  2. Switch to the Legends panel.
  3. Click Add to open the Chart Legend dialog.
  4. Switch to the Cell Columns panel.
  5. Click Add to open the Legend Cell Column interface.
  6. Enter a unique Cell Column Name. This can be used to reference the series elsewhere, including with the WithChartItems function.
  7. Select the Cell Column Type to use. This can be set to Text if the column should contain a text string, or Series Symbol if it should display a symbol coloured to match the associated series or data point.
  8. (Text columns only) Use the Cell Column Text field to enter the text the column should contain. This can include both static text and dynamic keyword values.
  9. (Series Symbol columns only) Use the Series Symbol Width field to specify the width of the column in pixels. Using this option ensures the column always maintains the same size.
  10. (Optional) Use the Minimum Width and Maximum Width options to specify the lower and upper allowed size of the column in pixels.
  11. (Optional) Switch to the Appearance tab, where you can modify the cell column's visual settings.
  12. (Optional) Switch to the Interactivity tab.
  13. (Optional) Use the Tooltip field to enter text that will appear when hovering over the column. This can also include dynamic keyword values.
  14. (Optional) Switch to the Cell Column Header panel.
  15. (Optional) To add a header that will appear above the column, enter the text to use in the Header Text field. This can also include dynamic keyword values.
  16. (Optional) Switch to the Appearance tab to modify the formatting of the header text.
  17. Click Save to create the cell column.