restore chart marks

This commit is contained in:
Фролов 2021-10-27 16:06:40 +05:00
parent d4a8c7b1f1
commit 3f1de774fc
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@
"react_test": "react-scripts test", "react_test": "react-scripts test",
"eject": "react-scripts eject" "eject": "react-scripts eject"
}, },
"proxy": "http://192.168.1.58:5000", "proxy": "http://192.168.1.70:5000",
"eslintConfig": { "eslintConfig": {
"extends": [ "extends": [
"react-app", "react-app",

View File

@ -14,7 +14,7 @@ const chartPluginsOptions = {
display: context => (context.dataset.label === 'wellDepth') && 'auto', display: context => (context.dataset.label === 'wellDepth') && 'auto',
formatter: value => `${value.y.toLocaleTimeString()} ${value.label.toPrecision(4)}`, formatter: value => `${value.y.toLocaleTimeString()} ${value.label.toPrecision(4)}`,
padding: 6, padding: 6,
align: 'right', align: 'left',
anchor: 'center', anchor: 'center',
clip: true clip: true
}, },