Commit 8739357d by OuiAtichat

update tooltip

parent b62843df
......@@ -70,6 +70,9 @@ const DataCard = props => {
contentStyle={{ backgroundColor: 'rgba(0,0,0,0.8)', borderRadius: 5 }}
labelStyle={{ fontWeight: 'bold' }}
itemStyle={{ fontSize: '12px' }}
formatter={(value, name, props) => {
return [value, data.title.split(' ')[0]];
}}
/>
<XAxis
stroke="white"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment