ui: show dot in timeline if there's only one entry
This commit is contained in:
parent
6ea7ca6aa2
commit
66b3708cce
1 changed files with 18 additions and 18 deletions
|
|
@ -290,7 +290,7 @@ export function createSeries(
|
|||
datasetId,
|
||||
encode: { x: 'idx', y: fullName },
|
||||
lineStyle: dashed ? { type: 'dashed' } : undefined,
|
||||
showSymbol: false,
|
||||
showSymbol: data.chart.length === 1,
|
||||
// custom flag to hide prev data from legend
|
||||
_hideInLegend: hideFromLegend,
|
||||
itemStyle: { opacity: 1 },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue