Creating a Legend Cell Column
Add a new cell column to a chart legend.
Implementation:
- Open a Chart question's Properties and click Configure to open the Chart Definition interface.
- Switch to the Legends panel.
- Click Add to open the Chart Legend dialog.
- Switch to the Cell Columns panel.
- Click Add to open the Legend Cell Column interface.
- Enter a unique Cell Column Name. This can be used to reference the series elsewhere, including with the WithChartItems function.
- 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.
- (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.
- (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.
- (Optional) Use the Minimum Width and Maximum Width options to specify the lower and upper allowed size of the column in pixels.
- (Optional) Switch to the Appearance tab, where you can modify the cell column's visual settings.
- (Optional) Switch to the Interactivity tab.
- (Optional) Use the Tooltip field to enter text that will appear when hovering over the column. This can also include dynamic keyword values.
- (Optional) Switch to the Cell Column Header panel.
- (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.
- (Optional) Switch to the Appearance tab to modify the formatting of the header text.
- Click Save to create the cell column.