Urgent.News

What's breaking now, across hundreds of outlets.

Tech

A Chart Is Four Systems in a Trench Coat

A Chart Is Four Systems in a Trench Coat go-pptx Tech Blog · Part 5: The Chart Subsystem — From Restricted Types to Combo Charts and Embedded Workbooks Series: go-pptx Tech Blog (10 parts) Baseline: v2.4.4 Keywords: ChartML, embedded workbook, combo charts, secondary axis, series labels, canonical validation, client compatibility 1. Why charts are much harder than "drawing a bar" A PPT chart…

A chart in PowerPoint involves four layers: the Chart XML (c:chartSpace), which contains details about the chart type, series, axes, legend, labels, and styles; the embedded workbook (xlsx Part), which serves as the chart's data source; cached data (c:strCache / c:numCache), which enables the chart to display without opening the workbook; and relationships and content types, which establish the connection between the slide, chart, and workbook.

These four layers must remain consistent; altering only one layer can lead to inconsistencies when opening the chart in PowerPoint. The go-pptx implementation treats a chart as a restricted subsystem with an explicit contract: an Input of ChartSpec (including type, categories, series, position, axis options, labels, and styles) and an Output of chart Part + embedded xlsx + slide relationships + content types.

The system validates the chart against a canonical set of structures and checks compatibility with various clients like PowerPoint, WPS, and LibreOffice.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

More from Dev.to on urgent.news

Get the news by email. Yesterday's most-covered stories, every morning.

See today's edition · More options

More in Tech

Auto-Narration Without FFmpeg

Auto-Narration Without FFmpeg go-pptx Tech Blog · Part 6: Media, Playback Timing, and Auto-Narration — A Pure Go Approach Without FFmpeg Series: go-pptx Tech Blog (10 parts) Baseline: v2.4.4 Keywords…

  • Auto-narration achieved via pure Go without FFmpeg
  • WAV files analyzed by reading fmt block details
  • MP4 and WebM durations marked as DurationUnknown

The booking was saved, but the customer saw an error: email after commit in Next.js

This bug made it into the released versions of my Next.js 15 templates (two booking sites, a barbershop and a dental clinic, and two small online stores). All the tests were green.

  • Duplicate bookings occurred due to email failure after form submission in Next.js 15 templates.
  • Email sending function sendMail modified to return false instead of throwing exception.
  • UI updated to display correct email status, informing users of confirmation email delivery.

More from Sunday, 6 December 2026 →