Podium.Chart.ChartType (Podium v0.3.0)

Copy Markdown View Source

Chart type to OOXML configuration mapping.

Maps chart type atoms to their XML element names, grouping modes, axis configuration, and other type-specific settings.

Supported chart types

  • Column: :column_clustered, :column_stacked, :column_stacked_100
  • Bar: :bar_clustered, :bar_stacked, :bar_stacked_100
  • Line: :line, :line_markers, :line_stacked, :line_markers_stacked, :line_stacked_100, :line_markers_stacked_100
  • Pie: :pie, :pie_exploded
  • Area: :area, :area_stacked, :area_stacked_100
  • Doughnut: :doughnut, :doughnut_exploded
  • Radar: :radar, :radar_filled, :radar_markers
  • Scatter: :scatter, :scatter_lines, :scatter_lines_no_markers, :scatter_smooth, :scatter_smooth_no_markers
  • Bubble: :bubble, :bubble_3d

Summary

Functions

Returns axis positions based on chart type.

Returns the XML configuration for a chart type.

Functions

cat_ax_pos(arg1)

@spec cat_ax_pos(atom()) :: String.t()

Returns axis positions based on chart type.

config(atom)

@spec config(Podium.chart_type()) :: map()

Returns the XML configuration for a chart type.

val_ax_pos(arg1)

@spec val_ax_pos(atom()) :: String.t()