vmui: changed function (#2451)

* vmui: fixed yaxis labels

* vmui: changed function
This commit is contained in:
Dmytro Kozlov 2022-04-12 15:17:13 +03:00 committed by Aliaksandr Valialkin
parent 46a1e28ed7
commit 19538b727e
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -29,7 +29,7 @@ export const defaultOptions = {
};
export const formatTicks = (u: uPlot, ticks: number[], unit = ""): string[] => {
return ticks.map(v => `${v.toLocaleString()} ${unit}`);
return ticks.map(v => `${v.toString()} ${unit}`);
};
interface AxisExtend extends Axis {