Fix type error due to newly typed field in chart component

This commit is contained in:
Matthias 2024-02-21 07:06:16 +01:00
parent 7c61011608
commit d73fa800bc

View File

@ -167,7 +167,7 @@ export function generateTradeSeries(
},
itemStyle: {
// color: tradeSellColor,
color: (v) => v.data[4],
color: (v) => (v.data ? v.data[4] : '#000'),
opacity: 0.9,
},
symbol: (v) => v[2],