Skip to content

Implement #467: smooth curved lines for CategoryChart#947

Merged
timmolter merged 2 commits into
developfrom
timmolter/feature-467-smooth-category-lines
May 25, 2026
Merged

Implement #467: smooth curved lines for CategoryChart#947
timmolter merged 2 commits into
developfrom
timmolter/feature-467-smooth-category-lines

Conversation

@timmolter
Copy link
Copy Markdown
Member

Feature

Adds setSmooth(true) support to CategorySeries, enabling smooth cubic Bezier curves for Line and Area render styles in CategoryChart — the same behaviour already available in XYChart.

Changes

  • CategorySeries: added smooth field with isSmooth() / setSmooth()
  • PlotContent_Category_Bar: Line and Area paths use curveTo when isSmooth() is true, falling back to straight lines otherwise
  • TestForIssue467: demo with two series — one smooth, one normal — over string X-axis labels

Closes #467

timmolter and others added 2 commits May 25, 2026 16:51
Add isSmooth()/setSmooth(boolean) to CategorySeries and use cubic
Bezier curves in PlotContent_Category_Bar for both Line and Area
render styles, matching the existing smooth behaviour in XYChart.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@timmolter timmolter merged commit 0c74b89 into develop May 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Smooth curved lines in CategoryChart

1 participant