(key: SandDance.specs.Chart)
| 77 | ]; |
| 78 | |
| 79 | export function chartLabel(key: SandDance.specs.Chart) { |
| 80 | for (let i = 0; i < chartLabelMap.length; i++) { |
| 81 | if (key === chartLabelMap[i].key) { |
| 82 | return chartLabelMap[i].text; |
| 83 | } |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | function _Chart(_props: Props) { |
| 88 | class __Chart extends base.react.Component<Props, State> { |