Fix Plotly namelength type cast
This commit is contained in:
parent
dbcc15661d
commit
d97bfdab90
1 changed files with 1 additions and 1 deletions
|
|
@ -1250,7 +1250,7 @@ const RateHistoryModalComponent: React.FC<{ modal: RateHistoryModal; onClose: ()
|
||||||
layout={{
|
layout={{
|
||||||
margin: { t: 10, r: 10, b: 65, l: 55 },
|
margin: { t: 10, r: 10, b: 65, l: 55 },
|
||||||
height: 300,
|
height: 300,
|
||||||
legend: { orientation: 'h', y: -0.3, namelength: -1 },
|
legend: { orientation: 'h', y: -0.3, namelength: -1 } as any,
|
||||||
xaxis: { title: { text: '' }, tickformat: '%d %b %H:%M', type: 'date' },
|
xaxis: { title: { text: '' }, tickformat: '%d %b %H:%M', type: 'date' },
|
||||||
yaxis: { title: { text: 'Rate (£)' }, tickprefix: '£', tickformat: ',.0f' },
|
yaxis: { title: { text: 'Rate (£)' }, tickprefix: '£', tickformat: ',.0f' },
|
||||||
plot_bgcolor: 'var(--body-bg)',
|
plot_bgcolor: 'var(--body-bg)',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue