How to :: add meta information in code mode


This is only available from the code mode

Meta Information

When you have a legend pane you could want to add some meta information for a given selection.

The meta configuration key will help you achieve that. Just specify the column names that have to be displayed.

meta: [
  "column 1"
  "column 2"

Meta Series

For charts with groups like the horizontal barchart or vertical barchart you have the key metaSerie, which allows you to enter different meta according to the serie. Simply list the columns you want to use as a meta, and they will appear next to the label / serie for which you’ve entered a number.

metaSerie: [
  "meta 1"
  "meta 2"

In the mapchart, meta is located in the zones configuration block (see mapchart doc for further detail).