Podium.Chart.XmlWriter (Podium v0.3.0)

Copy Markdown View Source

Chart XML generation for the chart part (ppt/charts/chartN.xml).

Renders the complete chart XML including plot area, series, axes, title, legend, and data labels for all supported chart types.

Summary

Functions

Generates the chart XML. Accepts either a %Chart{} struct or (chart_type, chart_data) for backwards compatibility.

Functions

to_xml(chart)

@spec to_xml(Podium.Chart.t()) :: String.t()

Generates the chart XML. Accepts either a %Chart{} struct or (chart_type, chart_data) for backwards compatibility.

to_xml(chart_type, chart_data)

@spec to_xml(
  atom(),
  struct()
) :: String.t()