Files
superset2/superset-frontend/plugins/plugin-chart-echarts/test
Amin Ghadersohi 12e1917957 fix(plugin-chart-echarts): prevent trendline stroke clipping at chart edges
The BigNumber with Trendline chart was clipping the line stroke at the
edges (especially X=0) because the ECharts grid had zero padding when
axes were hidden. The stroke extends beyond the data point by half its
width, so pixels at the boundary were truncated by the viewport.

Add half-strokeWidth padding to the grid on all sides when axes are
hidden, and explicitly set lineStyle.width so the padding stays in sync
with the actual stroke size.

Fixes #33454

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-12 15:18:09 +00:00
..