diff --git a/packages/app/src/components/time-series-chart/components/line-trend.tsx b/packages/app/src/components/time-series-chart/components/line-trend.tsx index dc94694697..820e396853 100644 --- a/packages/app/src/components/time-series-chart/components/line-trend.tsx +++ b/packages/app/src/components/time-series-chart/components/line-trend.tsx @@ -63,12 +63,13 @@ export function LineTrend({ series, style = DEFAULT_STYLE, strokeWidth = DEFAULT interface LineTrendIconProps { color: string; style?: 'solid' | 'dashed'; + opacity?: number; strokeWidth?: number; width?: number; height?: number; } -export function LineTrendIcon({ color, strokeWidth = DEFAULT_STROKE_WIDTH, style = DEFAULT_STYLE, width = 15, height = 15 }: LineTrendIconProps) { +export function LineTrendIcon({ color, strokeWidth = DEFAULT_STROKE_WIDTH, style = DEFAULT_STYLE, opacity, width = 15, height = 15 }: LineTrendIconProps) { return ( ({ config, value }: Series switch (config.type) { case 'line': case 'gapped-line': - return ; + return ; case 'scatter-plot': return ; case 'range':