Skip to content

FS2-4532: Support series-specific line type and markers in editable PPT export#91

Open
chschan wants to merge 3 commits into
masterfrom
FS2-4532
Open

FS2-4532: Support series-specific line type and markers in editable PPT export#91
chschan wants to merge 3 commits into
masterfrom
FS2-4532

Conversation

@chschan

@chschan chschan commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Part of FS2-4532 — series-specific chart controls for Line chart.

Changes

  • getPPTSettings() now emits per-series OutlineStyle (line type), Marker$Size, and Marker$Style (marker symbol) for the editable-PowerPoint export, mirroring the existing per-series line.thickness / data.label.font.color recipe (ConvertCommaSeparatedStringToVector + rep(..., length=n) + [i]).
  • New markerSymbolToPPTStyle() maps plotly symbol names to PPT marker styles (circle→Circle, square→Square, diamond→Diamond, *-open→closest solid).
  • The interactive path (CChart passthrough to flipStandardCharts) is unchanged.

Back-compat

Accepts both a single scalar (old Plugins) and a comma-separated string (new Plugins) for all three params.

Known limitation (accepted for this ticket)

Marker$Style is added for chart.type == "Line" only. Radar charts not supported in PPT.

Tests

469/469 (chartsettings|cchart) + 81/81 scatter suites green. New tests assert per-series values and scalar-broadcast back-compat.

Cross-repo

Companion PRs: Displayr/flipStandardCharts#132, Displayr/Plugins#FS2-4532. Manual end-to-end verification in live Displayr still pending.

🤖 Generated with Claude Code

chschan and others added 3 commits July 16, 2026 14:05
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The comma-separated split of tmp.line.style ran for every chart type. Only Line
supports per-series line type (Radar has no line.type parameter; other charts use
a single style), and Radar/Time Series reach the per-series OutlineStyle loop - so
a stray comma-separated line.type could wrongly apply per-series to them. Split
only when chart.type == "Line"; still rep() to n series for all types. Mirrors how
line.thickness's split is already scoped to its chart-type branch.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@chschan chschan requested a review from JustinCCYap July 16, 2026 06:09
@chschan chschan changed the title FS2-4532: Per-series line type / marker symbol / size in editable PPT export FS2-4532: Support series-specific line type and markers in editable PPT export Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant