pub fn parse_metric(s: Option<&str>) -> Metric
The chart metric from an optional string (unknown values fall back to tokens).