mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 10:07:08 +00:00
Do show a legend for shots with final data.
Fixup for commit e4607a095b.
This commit is contained in:
@@ -106,7 +106,7 @@ export default {
|
||||
...base,
|
||||
showlegend: true,
|
||||
title: {
|
||||
text: this.data.x?.length
|
||||
text: this.data[0]?.x?.length
|
||||
? `Final vs raw <span style="font-size:smaller;">(x̅: %{data[0].meta.avg_x} ±%{data[0].meta.std_x} m; y̅: %{data[0].meta.avg_y} ±%{data[0].meta.std_y} m)</span>`
|
||||
: `Final vs raw: no data`
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user