Expand description
Chart types for OOXML-based chart support.
Charts in HWPX use the OOXML chart XML format (xmlns:c).
This module defines the chart type enum (18 variants covering all 16
OOXML chart types, with Bar/Column direction split) and the data model
for category-based and XY-based chart data.
§Examples
use hwpforge_core::chart::{ChartType, ChartData, ChartGrouping, LegendPosition};
let data = ChartData::category(
&["Q1", "Q2", "Q3"],
&[("Sales", &[100.0, 150.0, 200.0])],
);
assert!(matches!(data, ChartData::Category { .. }));Structs§
- Chart
Series - A named data series with values aligned to categories.
- XySeries
- A named XY data series (for scatter/bubble charts).
Enums§
- BarShape
- Bar/column 3D shape variant.
- Chart
Data - Chart data — either category-based or XY-based.
- Chart
Grouping - Chart data grouping mode.
- Chart
Type - OOXML chart types supported by 한글 (16 OOXML types → 18 variants).
- Legend
Position - Legend position relative to the chart area.
- OfPie
Type - Pie-of-pie or bar-of-pie sub-type.
- Radar
Style - Radar chart rendering style.
- Scatter
Style - Scatter chart line/marker style.
- Stock
Variant - Stock chart sub-variant determining series composition.