mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
use label props directly instead of labelLayout
This commit is contained in:
parent
f5725ca2c6
commit
919a736fb2
|
@ -144,8 +144,10 @@ export function generateTradeSeries(
|
||||||
backgroundColor: theme !== 'dark' ? '#fff' : '#000',
|
backgroundColor: theme !== 'dark' ? '#fff' : '#000',
|
||||||
padding: 2,
|
padding: 2,
|
||||||
color: theme === 'dark' ? '#fff' : '#000',
|
color: theme === 'dark' ? '#fff' : '#000',
|
||||||
|
rotate: 75,
|
||||||
|
offset: [10, 0],
|
||||||
|
align: 'left',
|
||||||
},
|
},
|
||||||
labelLayout: { rotate: 75, align: 'left', dx: 10 },
|
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
// color: tradeSellColor,
|
// color: tradeSellColor,
|
||||||
color: (v) => v.data[4],
|
color: (v) => v.data[4],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user