(insight: SandDance.specs.Insight, columns: SandDance.types.Column[])
| 1591 | } |
| 1592 | |
| 1593 | function colorMapping(insight: SandDance.specs.Insight, columns: SandDance.types.Column[]) { |
| 1594 | if (columns && insight.columns && insight.columns.color) { |
| 1595 | return columns.filter(c => c.name === insight.columns.color)[0]; |
| 1596 | } |
| 1597 | } |