MCPcopy Create free account
hub / github.com/microsoft/SandDance / chartLabel

Function chartLabel

packages/sanddance-explorer/src/dialogs/chart.tsx:79–85  ·  view source on GitHub ↗
(key: SandDance.specs.Chart)

Source from the content-addressed store, hash-verified

77];
78
79export 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
87function _Chart(_props: Props) {
88 class __Chart extends base.react.Component<Props, State> {

Callers 1

changeChartTypeMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected