UseValueFormatter(BarChart, Func<double, string>) Method
Sets the value formatter for the bar chart.
public static BarChart UseValueFormatter(this BarChart chart, Func<double, string> func)
- Namespace
- Spectre
.Console - Containing Type
- BarChartExtensions
Parameters
- BarChart chart
- The bar chart.
-
Func
<double, string> func - The value formatter to use.