SUPPORT-8717: changing formatter name
This commit is contained in:
parent
81dca4037a
commit
effe17f492
10 changed files with 23 additions and 36 deletions
|
|
@ -1,13 +0,0 @@
|
|||
import {
|
||||
ChartLabelModel
|
||||
} from "../../../../../generated/ervu_business_metrics/model/chart/round/label/ChartLabelModel";
|
||||
import {NumberToLocalStringFormatter} from "../../../../formatter/NumberToLocalStringFormatter";
|
||||
import {ChartLabelFormatter} from "./ChartLabelFormatter";
|
||||
|
||||
export class LabelNumberToLocalStringFormatter implements ChartLabelFormatter {
|
||||
private readonly textFormatter = new NumberToLocalStringFormatter();
|
||||
|
||||
format(label: ChartLabelModel, labels?: ChartLabelModel[], index?: number): void {
|
||||
label.text = this.textFormatter.format(label.text);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue