# Follow the selected metric in the cost sparkline summary · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/701f1e7113d27ce249ad18ee44546fecf0be6a79)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: 701f1e7113d27ce249ad18ee44546fecf0be6a79

Requested commit: 701f1e7113d27ce249ad18ee44546fecf0be6a79

Commit: 701f1e7113d27ce249ad18ee44546fecf0be6a79

Tree: 32271142f9ffcabfeb73c3e574edfcf46312dd5f

Author: Simone

Committer: Simone

## Message

```
Follow the selected metric in the cost sparkline summary

The provider-detail chart plots tokens when the cost history metric is set to
tokens, but its "Latest" summary label always printed the cost amount. Mirror
the metric selection in the summary so the annotation matches the bars.

```

## Parents

- [d5bd6172c2013a95ed7cecd710b0970c038672a8](https://git.cafe/lucenx/codexbar-plasma/commit/d5bd6172c2013a95ed7cecd710b0970c038672a8?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/701f1e7113d27ce249ad18ee44546fecf0be6a79?format=markdown)
