Represents a chart in a WordprocessingML document: a column, bar, line, area, pie, doughnut or scatter chart, drawn
+by Word from its data in the document's theme, as a chart made with Word's Insert Chart is.
+
The chart is a part of its own (word/charts/chart1.xml), with its data in an embedded workbook, so Word's "Edit
+Data" opens it in Excel. It sits inline with text unless floating is set, and goes in a paragraph, including in a
+table, header, footer or footnote.
If there are no series or categories, a value isn't a finite number or null, a series has more values
+than there are categories, a pie chart has more than one series or a pie or doughnut chart a negative value, a
+scatter point isn't two finite numbers, or an option is out of its range
The components written in this one's place, one after another, when it can't be written as a single element,
+such as a run with another run in its children. Undefined when it is written as itself.
Prepares this component and its children for XML serialization.
+
This method is called by the Formatter to convert the component tree into
+an object structure compatible with the xml library (https://www.npmjs.com/package/xml).
+It recursively processes all children and handles special cases like
+attribute-only elements and empty elements.
+
The method can be overridden by subclasses to customize XML representation
+or execute side effects during serialization (e.g., creating relationships).
+
diff --git a/api/classes/index.AbstractNumbering.html b/api/classes/index.AbstractNumbering.html
index ab61ba056f..21b0543082 100644
--- a/api/classes/index.AbstractNumbering.html
+++ b/api/classes/index.AbstractNumbering.html
@@ -28,14 +28,14 @@ Each abstract definition can contain up to 9 levels.
diff --git a/api/classes/index.Body.html b/api/classes/index.Body.html
index 3325644c19..a90109c656 100644
--- a/api/classes/index.Body.html
+++ b/api/classes/index.Body.html
@@ -30,14 +30,14 @@ section. The last section's properties are stored as a direct child of the body
diff --git a/api/classes/index.Bookmark.html b/api/classes/index.Bookmark.html
index c92a0a4654..413b39adb1 100644
--- a/api/classes/index.Bookmark.html
+++ b/api/classes/index.Bookmark.html
@@ -31,7 +31,7 @@ of a start marker, content, and an end marker.
diff --git a/api/classes/index.BookmarkEnd.html b/api/classes/index.BookmarkEnd.html
index aaf14602d3..95258d8fda 100644
--- a/api/classes/index.BookmarkEnd.html
+++ b/api/classes/index.BookmarkEnd.html
@@ -27,14 +27,14 @@ It must be paired with a corresponding BookmarkStart element with the same id.
diff --git a/api/classes/index.BookmarkStart.html b/api/classes/index.BookmarkStart.html
index b32d9dede0..c6a8d56a01 100644
--- a/api/classes/index.BookmarkStart.html
+++ b/api/classes/index.BookmarkStart.html
@@ -27,14 +27,14 @@ It must be paired with a corresponding BookmarkEnd element with the same id.
diff --git a/api/classes/index.CellMerge.html b/api/classes/index.CellMerge.html
index 1744faf014..c3bd8ae496 100644
--- a/api/classes/index.CellMerge.html
+++ b/api/classes/index.CellMerge.html
@@ -24,14 +24,14 @@ the intermediate object format used by the xml serialization library.
diff --git a/api/classes/index.CellMergeAttributes.html b/api/classes/index.CellMergeAttributes.html
index 08628d725c..5838de0de7 100644
--- a/api/classes/index.CellMergeAttributes.html
+++ b/api/classes/index.CellMergeAttributes.html
@@ -23,14 +23,14 @@ can define an xmlKeys map to specify the transformation.
diff --git a/api/classes/index.CheckBoxSymbolElement.html b/api/classes/index.CheckBoxSymbolElement.html
index 3f34b60154..22b243488e 100644
--- a/api/classes/index.CheckBoxSymbolElement.html
+++ b/api/classes/index.CheckBoxSymbolElement.html
@@ -26,14 +26,14 @@ specifying the Unicode character and font to render.
diff --git a/api/classes/index.CheckBoxUtil.html b/api/classes/index.CheckBoxUtil.html
index 9e4eca3fc7..7022072f47 100644
--- a/api/classes/index.CheckBoxUtil.html
+++ b/api/classes/index.CheckBoxUtil.html
@@ -26,14 +26,14 @@ including its checked state and the symbols used for checked and unchecked state
diff --git a/api/classes/index.CommentRangeEnd.html b/api/classes/index.CommentRangeEnd.html
index 71f0986781..8235f021ea 100644
--- a/api/classes/index.CommentRangeEnd.html
+++ b/api/classes/index.CommentRangeEnd.html
@@ -29,14 +29,14 @@ Must be paired with a CommentRangeStart with the same ID.
diff --git a/api/classes/index.CommentRangeStart.html b/api/classes/index.CommentRangeStart.html
index 90ffb81e04..5367970f32 100644
--- a/api/classes/index.CommentRangeStart.html
+++ b/api/classes/index.CommentRangeStart.html
@@ -29,14 +29,14 @@ Must be paired with a CommentRangeEnd with the same ID.
diff --git a/api/classes/index.CommentReference.html b/api/classes/index.CommentReference.html
index 7497c64239..210aec6024 100644
--- a/api/classes/index.CommentReference.html
+++ b/api/classes/index.CommentReference.html
@@ -29,14 +29,14 @@ It should be placed after the CommentRangeEnd element.
diff --git a/api/classes/index.Comments.html b/api/classes/index.Comments.html
index 8a4ea377ac..348fd6d9c2 100644
--- a/api/classes/index.Comments.html
+++ b/api/classes/index.Comments.html
@@ -28,14 +28,14 @@ threading is activated and thread data is generated for commentsExtended.xml.
diff --git a/api/classes/index.CommentsIds.html b/api/classes/index.CommentsIds.html
index 09e441d2c5..a8d8382601 100644
--- a/api/classes/index.CommentsIds.html
+++ b/api/classes/index.CommentsIds.html
@@ -20,14 +20,14 @@ to a stable w16cid:durableId preserved by Word across edits.
diff --git a/api/classes/index.ConcreteHyperlink.html b/api/classes/index.ConcreteHyperlink.html
index 7caefd41e8..fea9144989 100644
--- a/api/classes/index.ConcreteHyperlink.html
+++ b/api/classes/index.ConcreteHyperlink.html
@@ -21,7 +21,7 @@ Use InternalHyperlink or ExternalHyperlink for creating hyperlinks in documents.
diff --git a/api/classes/index.DeletedTableCell.html b/api/classes/index.DeletedTableCell.html
index a01e82fec1..ebbc0ebad5 100644
--- a/api/classes/index.DeletedTableCell.html
+++ b/api/classes/index.DeletedTableCell.html
@@ -24,14 +24,14 @@ the intermediate object format used by the xml serialization library.
diff --git a/api/classes/index.DeletedTableRow.html b/api/classes/index.DeletedTableRow.html
index ffb4d6d4e6..59faa8a047 100644
--- a/api/classes/index.DeletedTableRow.html
+++ b/api/classes/index.DeletedTableRow.html
@@ -24,14 +24,14 @@ the intermediate object format used by the xml serialization library.
diff --git a/api/classes/index.DocumentDefaults.html b/api/classes/index.DocumentDefaults.html
index 3a19eaad41..d0be4e1d96 100644
--- a/api/classes/index.DocumentDefaults.html
+++ b/api/classes/index.DocumentDefaults.html
@@ -27,14 +27,14 @@ paragraphs and runs in a document unless overridden by a style or direct formatt
diff --git a/api/classes/index.EndnoteIdReference.html b/api/classes/index.EndnoteIdReference.html
index 7139fc15e0..f8f03159f8 100644
--- a/api/classes/index.EndnoteIdReference.html
+++ b/api/classes/index.EndnoteIdReference.html
@@ -24,14 +24,14 @@ the intermediate object format used by the xml serialization library.
diff --git a/api/classes/index.EndnoteReferenceRunAttributes.html b/api/classes/index.EndnoteReferenceRunAttributes.html
index 84c2df110f..701409989b 100644
--- a/api/classes/index.EndnoteReferenceRunAttributes.html
+++ b/api/classes/index.EndnoteReferenceRunAttributes.html
@@ -23,14 +23,14 @@ can define an xmlKeys map to specify the transformation.
diff --git a/api/classes/index.Endnotes.html b/api/classes/index.Endnotes.html
index 6c5c7e3614..40defc14b8 100644
--- a/api/classes/index.Endnotes.html
+++ b/api/classes/index.Endnotes.html
@@ -24,14 +24,14 @@ the intermediate object format used by the xml serialization library.
diff --git a/api/classes/index.ExternalHyperlink.html b/api/classes/index.ExternalHyperlink.html
index f2dcd48cd5..adcfd46a6b 100644
--- a/api/classes/index.ExternalHyperlink.html
+++ b/api/classes/index.ExternalHyperlink.html
@@ -30,14 +30,14 @@ is converted to a ConcreteHyperlink with the relationship ID.
diff --git a/api/classes/index.FootNotes.html b/api/classes/index.FootNotes.html
index 16efe75382..5d9b1c79f5 100644
--- a/api/classes/index.FootNotes.html
+++ b/api/classes/index.FootNotes.html
@@ -29,14 +29,14 @@ line used when footnotes continue across pages.
diff --git a/api/classes/index.FooterWrapper.html b/api/classes/index.FooterWrapper.html
index 2d6e78a33d..b0e0abe8d9 100644
--- a/api/classes/index.FooterWrapper.html
+++ b/api/classes/index.FooterWrapper.html
@@ -29,7 +29,7 @@ Each section can have multiple footers for different page types.
diff --git a/api/classes/index.FootnoteReference.html b/api/classes/index.FootnoteReference.html
index 45c68e4463..443d852d07 100644
--- a/api/classes/index.FootnoteReference.html
+++ b/api/classes/index.FootnoteReference.html
@@ -20,14 +20,14 @@ and the footnote content by using a unique identifier.
diff --git a/api/classes/index.GridSpan.html b/api/classes/index.GridSpan.html
index fef90be1f0..3cf69ebdb1 100644
--- a/api/classes/index.GridSpan.html
+++ b/api/classes/index.GridSpan.html
@@ -27,14 +27,14 @@ in the table grid. This is used to merge cells horizontally (column span).
diff --git a/api/classes/index.HeaderWrapper.html b/api/classes/index.HeaderWrapper.html
index c6bf142616..83cb9b3ba6 100644
--- a/api/classes/index.HeaderWrapper.html
+++ b/api/classes/index.HeaderWrapper.html
@@ -29,7 +29,7 @@ Each section can have multiple headers for different page types.
diff --git a/api/classes/index.HpsMeasureElement.html b/api/classes/index.HpsMeasureElement.html
index 6de5681723..bf7673a8ec 100644
--- a/api/classes/index.HpsMeasureElement.html
+++ b/api/classes/index.HpsMeasureElement.html
@@ -26,14 +26,14 @@ Values can be specified as numbers (interpreted as half-points) or with explicit
diff --git a/api/classes/index.IgnoreIfEmptyXmlComponent.html b/api/classes/index.IgnoreIfEmptyXmlComponent.html
index a5a9b67c8c..b09245d3ed 100644
--- a/api/classes/index.IgnoreIfEmptyXmlComponent.html
+++ b/api/classes/index.IgnoreIfEmptyXmlComponent.html
@@ -24,7 +24,7 @@ to be excluded from the output.
diff --git a/api/classes/index.ImageRun.html b/api/classes/index.ImageRun.html
index 40654a756b..5f3796b4b4 100644
--- a/api/classes/index.ImageRun.html
+++ b/api/classes/index.ImageRun.html
@@ -26,14 +26,14 @@ including JPG, PNG, GIF, BMP, and SVG. Optionally wraps the run in
diff --git a/api/classes/index.ImportedXmlComponent.html b/api/classes/index.ImportedXmlComponent.html
index 1d6d4aca35..4a20979254 100644
--- a/api/classes/index.ImportedXmlComponent.html
+++ b/api/classes/index.ImportedXmlComponent.html
@@ -23,14 +23,14 @@ templates or when you need to include pre-existing XML fragments.
diff --git a/api/classes/index.InitializableXmlComponent.html b/api/classes/index.InitializableXmlComponent.html
index 407fd195d2..f404660d20 100644
--- a/api/classes/index.InitializableXmlComponent.html
+++ b/api/classes/index.InitializableXmlComponent.html
@@ -23,14 +23,14 @@ create a new component that shares or extends the children of an existing compon
diff --git a/api/classes/index.InsertedTableCell.html b/api/classes/index.InsertedTableCell.html
index 599ebaffa1..622ba2b570 100644
--- a/api/classes/index.InsertedTableCell.html
+++ b/api/classes/index.InsertedTableCell.html
@@ -24,14 +24,14 @@ the intermediate object format used by the xml serialization library.
diff --git a/api/classes/index.InsertedTableRow.html b/api/classes/index.InsertedTableRow.html
index 599d309676..b56db5f390 100644
--- a/api/classes/index.InsertedTableRow.html
+++ b/api/classes/index.InsertedTableRow.html
@@ -24,14 +24,14 @@ the intermediate object format used by the xml serialization library.
diff --git a/api/classes/index.InsertedTextRun.html b/api/classes/index.InsertedTextRun.html
index 86899b10a5..fb7b3481e5 100644
--- a/api/classes/index.InsertedTextRun.html
+++ b/api/classes/index.InsertedTextRun.html
@@ -30,14 +30,14 @@ made the insertion and when.
diff --git a/api/classes/index.InternalHyperlink.html b/api/classes/index.InternalHyperlink.html
index b44d6c1231..11d50613b1 100644
--- a/api/classes/index.InternalHyperlink.html
+++ b/api/classes/index.InternalHyperlink.html
@@ -29,14 +29,14 @@ The bookmark must exist in the document for the hyperlink to function.
diff --git a/api/classes/index.MathDegree.html b/api/classes/index.MathDegree.html
index 38ad38cbf8..7fea293b41 100644
--- a/api/classes/index.MathDegree.html
+++ b/api/classes/index.MathDegree.html
@@ -21,14 +21,14 @@ For square roots, this element is typically hidden.
diff --git a/api/classes/index.MathFunctionName.html b/api/classes/index.MathFunctionName.html
index 78c12eab3e..97fec43c93 100644
--- a/api/classes/index.MathFunctionName.html
+++ b/api/classes/index.MathFunctionName.html
@@ -21,14 +21,14 @@ that appears before the function argument.
diff --git a/api/classes/index.MathFunctionProperties.html b/api/classes/index.MathFunctionProperties.html
index ab2d782f1f..e5d13ba472 100644
--- a/api/classes/index.MathFunctionProperties.html
+++ b/api/classes/index.MathFunctionProperties.html
@@ -21,14 +21,14 @@ such as function name alignment and spacing.
diff --git a/api/classes/index.MathLimitUpper.html b/api/classes/index.MathLimitUpper.html
index 95182d3ed5..e6e75f67fd 100644
--- a/api/classes/index.MathLimitUpper.html
+++ b/api/classes/index.MathLimitUpper.html
@@ -29,14 +29,14 @@ commonly used for mathematical notation like lim with conditions above.
diff --git a/api/classes/index.MathPreSubSuperScript.html b/api/classes/index.MathPreSubSuperScript.html
index 0d04ac34a4..7eaac38335 100644
--- a/api/classes/index.MathPreSubSuperScript.html
+++ b/api/classes/index.MathPreSubSuperScript.html
@@ -29,14 +29,14 @@ positioned before (to the left of) the base, commonly used in tensor notation.
diff --git a/api/classes/index.MathRadicalProperties.html b/api/classes/index.MathRadicalProperties.html
index 708b4dd47a..174b8e0f73 100644
--- a/api/classes/index.MathRadicalProperties.html
+++ b/api/classes/index.MathRadicalProperties.html
@@ -21,14 +21,14 @@ such as whether to hide the degree (for square roots).
diff --git a/api/classes/index.MathRun.html b/api/classes/index.MathRun.html
index db6b890160..4deb885d57 100644
--- a/api/classes/index.MathRun.html
+++ b/api/classes/index.MathRun.html
@@ -29,14 +29,14 @@ similar to how Run contains text in regular paragraphs.
diff --git a/api/classes/index.MathSubSuperScript.html b/api/classes/index.MathSubSuperScript.html
index 21ca6fb28a..a22112df4a 100644
--- a/api/classes/index.MathSubSuperScript.html
+++ b/api/classes/index.MathSubSuperScript.html
@@ -29,14 +29,14 @@ commonly used for tensor notation or indexed variables with exponents.
diff --git a/api/classes/index.Media.html b/api/classes/index.Media.html
index 69f08a96e7..e698caa777 100644
--- a/api/classes/index.Media.html
+++ b/api/classes/index.Media.html
@@ -24,7 +24,7 @@ is stored with a unique key for retrieval.
diff --git a/api/classes/index.NextAttributeComponent.html b/api/classes/index.NextAttributeComponent.html
index 844023d2c1..6a004fcec6 100644
--- a/api/classes/index.NextAttributeComponent.html
+++ b/api/classes/index.NextAttributeComponent.html
@@ -27,14 +27,14 @@ This gives more control but is more verbose than XmlAttributeComponent.
diff --git a/api/classes/index.OnOffElement.html b/api/classes/index.OnOffElement.html
index bcb339dde9..d73ecb3558 100644
--- a/api/classes/index.OnOffElement.html
+++ b/api/classes/index.OnOffElement.html
@@ -27,14 +27,14 @@ it is explicitly disabled. When the value is true, the attribute is often omitte
A part that something in a document adds to the package when it is written, such as a chart, with the relationship to
+it from the part it is used in: the document, a header, a footer, the footnotes, the endnotes or the comments.
+
The part is added once, however many times it is written, and parts are numbered in the order they are added, such
+as word/charts/chart1.xml and word/charts/chart2.xml. The XML that refers to the part uses relationshipId, and
+calls addTo from its prepForXml.
+
diff --git a/api/classes/index.Packer.html b/api/classes/index.Packer.html
index 90649a5b57..06d08be221 100644
--- a/api/classes/index.Packer.html
+++ b/api/classes/index.Packer.html
@@ -26,7 +26,7 @@ of the document structure into OOXML format and compression into a .docx ZIP arc
diff --git a/api/classes/index.PageBorders.html b/api/classes/index.PageBorders.html
index a51a1d8776..26e1d55a00 100644
--- a/api/classes/index.PageBorders.html
+++ b/api/classes/index.PageBorders.html
@@ -27,14 +27,14 @@ including which pages display the borders and how they are positioned.
diff --git a/api/classes/index.PageReference.html b/api/classes/index.PageReference.html
index 26b1fb04e7..eeba77036b 100644
--- a/api/classes/index.PageReference.html
+++ b/api/classes/index.PageReference.html
@@ -24,14 +24,14 @@ the specified bookmark, useful for cross-references like "see page 5".
diff --git a/api/classes/index.PageTextDirection.html b/api/classes/index.PageTextDirection.html
index a4f03447ae..f5fbd37054 100644
--- a/api/classes/index.PageTextDirection.html
+++ b/api/classes/index.PageTextDirection.html
@@ -23,14 +23,14 @@ for all pages in a section.
diff --git a/api/classes/index.Paragraph.html b/api/classes/index.Paragraph.html
index f56dd67855..0c4359ebea 100644
--- a/api/classes/index.Paragraph.html
+++ b/api/classes/index.Paragraph.html
@@ -29,14 +29,14 @@ various inline elements such as text runs, images, hyperlinks, and bookmarks.
diff --git a/api/classes/index.ParagraphPropertiesChange.html b/api/classes/index.ParagraphPropertiesChange.html
index 4033f5d286..5f86340ddd 100644
--- a/api/classes/index.ParagraphPropertiesChange.html
+++ b/api/classes/index.ParagraphPropertiesChange.html
@@ -24,14 +24,14 @@ the intermediate object format used by the xml serialization library.
diff --git a/api/classes/index.ParagraphPropertiesDefaults.html b/api/classes/index.ParagraphPropertiesDefaults.html
index e958dc8be9..72371f8946 100644
--- a/api/classes/index.ParagraphPropertiesDefaults.html
+++ b/api/classes/index.ParagraphPropertiesDefaults.html
@@ -27,14 +27,14 @@ to all paragraphs in the document unless overridden.
diff --git a/api/classes/index.PositionalTab.html b/api/classes/index.PositionalTab.html
index 44cd7992a3..f0232fde81 100644
--- a/api/classes/index.PositionalTab.html
+++ b/api/classes/index.PositionalTab.html
@@ -30,14 +30,14 @@ an exact alignment and position within the paragraph.
diff --git a/api/classes/index.RunPropertiesDefaults.html b/api/classes/index.RunPropertiesDefaults.html
index 2ad29dc3f2..1320ccec66 100644
--- a/api/classes/index.RunPropertiesDefaults.html
+++ b/api/classes/index.RunPropertiesDefaults.html
@@ -27,14 +27,14 @@ to all text runs in the document unless overridden by styles or direct formattin
diff --git a/api/classes/index.SectionProperties.html b/api/classes/index.SectionProperties.html
index 884a71c151..f9c5eb57ab 100644
--- a/api/classes/index.SectionProperties.html
+++ b/api/classes/index.SectionProperties.html
@@ -28,14 +28,14 @@ A document can contain multiple sections with different properties.
diff --git a/api/classes/index.SectionPropertiesChange.html b/api/classes/index.SectionPropertiesChange.html
index cff125d472..8947db0335 100644
--- a/api/classes/index.SectionPropertiesChange.html
+++ b/api/classes/index.SectionPropertiesChange.html
@@ -24,14 +24,14 @@ the intermediate object format used by the xml serialization library.
diff --git a/api/classes/index.SimpleField.html b/api/classes/index.SimpleField.html
index cd8e476755..9bf00447c5 100644
--- a/api/classes/index.SimpleField.html
+++ b/api/classes/index.SimpleField.html
@@ -30,7 +30,7 @@ Simple fields are typically used for fields that don't require complex nesting.<
diff --git a/api/classes/index.SimpleMailMergeField.html b/api/classes/index.SimpleMailMergeField.html
index 6c4ffeacd5..6dacd0313d 100644
--- a/api/classes/index.SimpleMailMergeField.html
+++ b/api/classes/index.SimpleMailMergeField.html
@@ -23,14 +23,14 @@ It creates a MERGEFIELD that will be populated with data during mail merge.
diff --git a/api/classes/index.StringContainer.html b/api/classes/index.StringContainer.html
index a7b602123c..59f7323e4a 100644
--- a/api/classes/index.StringContainer.html
+++ b/api/classes/index.StringContainer.html
@@ -23,14 +23,14 @@ rather than an attribute.
diff --git a/api/classes/index.StringEnumValueElement.html b/api/classes/index.StringEnumValueElement.html
index 7c35bc3b18..73223d57fa 100644
--- a/api/classes/index.StringEnumValueElement.html
+++ b/api/classes/index.StringEnumValueElement.html
@@ -26,14 +26,14 @@ type parameter to enforce type safety for enum values.
diff --git a/api/classes/index.StyleForParagraph.html b/api/classes/index.StyleForParagraph.html
index cde3f0474b..6f43e58085 100644
--- a/api/classes/index.StyleForParagraph.html
+++ b/api/classes/index.StyleForParagraph.html
@@ -28,14 +28,14 @@ run-level properties (font, size, color) for text within the paragraph.
diff --git a/api/classes/index.StyleLevel.html b/api/classes/index.StyleLevel.html
index f5c6f4a683..fc368d2dce 100644
--- a/api/classes/index.StyleLevel.html
+++ b/api/classes/index.StyleLevel.html
@@ -20,7 +20,7 @@ custom styles to be included in the table of contents at specific levels.
diff --git a/api/classes/index.Styles.html b/api/classes/index.Styles.html
index fcefc108fc..1da71a550a 100644
--- a/api/classes/index.Styles.html
+++ b/api/classes/index.Styles.html
@@ -28,14 +28,14 @@ a way to define consistent formatting across a document.
diff --git a/api/classes/index.TDirection.html b/api/classes/index.TDirection.html
index 68ed0a4365..74d8857d6c 100644
--- a/api/classes/index.TDirection.html
+++ b/api/classes/index.TDirection.html
@@ -27,14 +27,14 @@ useful for creating rotated text or supporting different writing systems.
diff --git a/api/classes/index.Table.html b/api/classes/index.Table.html
index a5596eb82b..bac675804d 100644
--- a/api/classes/index.Table.html
+++ b/api/classes/index.Table.html
@@ -29,14 +29,14 @@ Tables are used to organize content into a grid structure.
diff --git a/api/classes/index.TableCellBorders.html b/api/classes/index.TableCellBorders.html
index 43db92043b..19f5933e03 100644
--- a/api/classes/index.TableCellBorders.html
+++ b/api/classes/index.TableCellBorders.html
@@ -27,14 +27,14 @@ can be configured independently with different styles, colors, and widths.
diff --git a/api/classes/index.TableOfContents.html b/api/classes/index.TableOfContents.html
index a097268e9e..e8ac8be161 100644
--- a/api/classes/index.TableOfContents.html
+++ b/api/classes/index.TableOfContents.html
@@ -29,14 +29,14 @@ with page numbers. It uses a TOC field code to generate entries.
diff --git a/api/classes/index.TableRow.html b/api/classes/index.TableRow.html
index 1b5e4703f9..7fc158742a 100644
--- a/api/classes/index.TableRow.html
+++ b/api/classes/index.TableRow.html
@@ -29,14 +29,14 @@ one or more table cells that hold the actual content.
diff --git a/api/classes/index.TableRowProperties.html b/api/classes/index.TableRowProperties.html
index 4a03ea5a57..4040d1d4da 100644
--- a/api/classes/index.TableRowProperties.html
+++ b/api/classes/index.TableRowProperties.html
@@ -23,14 +23,14 @@ whether it can split across pages, and whether it's a header row.
diff --git a/api/classes/index.TableRowPropertiesChange.html b/api/classes/index.TableRowPropertiesChange.html
index 1abf8b3a9a..3dae5f4d28 100644
--- a/api/classes/index.TableRowPropertiesChange.html
+++ b/api/classes/index.TableRowPropertiesChange.html
@@ -24,14 +24,14 @@ the intermediate object format used by the xml serialization library.
diff --git a/api/classes/index.VerticalMerge.html b/api/classes/index.VerticalMerge.html
index 7f25670081..4e1fdf7efe 100644
--- a/api/classes/index.VerticalMerge.html
+++ b/api/classes/index.VerticalMerge.html
@@ -28,14 +28,14 @@ This is used to create row spans in tables.
Use ShapeRun from docx/shapes, with type: "rectangle" and children for a text box. It has plain
options for fills, lines, effects and text layout, and can be any of the preset shapes.
diff --git a/api/classes/index.XmlAttributeComponent.html b/api/classes/index.XmlAttributeComponent.html
index f179117979..5f0407b12d 100644
--- a/api/classes/index.XmlAttributeComponent.html
+++ b/api/classes/index.XmlAttributeComponent.html
@@ -27,7 +27,7 @@ can define an xmlKeys map to specify the transformation.
diff --git a/api/classes/index.XmlComponent.html b/api/classes/index.XmlComponent.html
index c427a4045e..568cfa7298 100644
--- a/api/classes/index.XmlComponent.html
+++ b/api/classes/index.XmlComponent.html
@@ -24,7 +24,7 @@ the intermediate object format used by the xml serialization library.
diff --git a/api/classes/shapes.ShapeCanvasRun.html b/api/classes/shapes.ShapeCanvasRun.html
index ad442b5b68..c97c07d9b7 100644
--- a/api/classes/shapes.ShapeCanvasRun.html
+++ b/api/classes/shapes.ShapeCanvasRun.html
@@ -28,14 +28,14 @@ written in mc:AlternateContent, with the group as its fallback, unl
diff --git a/api/classes/shapes.ShapeGroupRun.html b/api/classes/shapes.ShapeGroupRun.html
index 3592c1c3ac..53096d95f5 100644
--- a/api/classes/shapes.ShapeGroupRun.html
+++ b/api/classes/shapes.ShapeGroupRun.html
@@ -28,14 +28,14 @@ when shapes are moved on a Copy
diff --git a/api/classes/shapes.ShapeRun.html b/api/classes/shapes.ShapeRun.html
index 42676fc117..ac3aaa9db3 100644
--- a/api/classes/shapes.ShapeRun.html
+++ b/api/classes/shapes.ShapeRun.html
@@ -26,14 +26,14 @@ and arrowheads, and text inside it. It sits inline with text unless floati
diff --git a/api/classes/watermarks.ImageWatermark.html b/api/classes/watermarks.ImageWatermark.html
index 1c886f722d..8f32ddd334 100644
--- a/api/classes/watermarks.ImageWatermark.html
+++ b/api/classes/watermarks.ImageWatermark.html
@@ -39,14 +39,14 @@ way as an ImageRun.
diff --git a/api/classes/watermarks.TextWatermark.html b/api/classes/watermarks.TextWatermark.html
index 3df083cbbb..3c6123a771 100644
--- a/api/classes/watermarks.TextWatermark.html
+++ b/api/classes/watermarks.TextWatermark.html
@@ -37,14 +37,14 @@ recognizes it and can remove or replace it through that command.
\n option - causes the field result to be the paragraph number without trailing periods. No information about prior numbered levels is displayed unless it is included as part of the current level.
diff --git a/api/functions/index.convertToXmlComponent.html b/api/functions/index.convertToXmlComponent.html
index af43837edf..b3ae22a241 100644
--- a/api/functions/index.convertToXmlComponent.html
+++ b/api/functions/index.convertToXmlComponent.html
@@ -36,7 +36,7 @@ of the original XML.
diff --git a/api/functions/index.createEmphasisMark.html b/api/functions/index.createEmphasisMark.html
index a5d8620e8c..1956aa8889 100644
--- a/api/functions/index.createEmphasisMark.html
+++ b/api/functions/index.createEmphasisMark.html
@@ -37,7 +37,7 @@ text to emphasize it. This is commonly used in East Asian typography.
diff --git a/api/functions/index.createFrameProperties.html b/api/functions/index.createFrameProperties.html
index 1f23deee6c..a7329dfcc0 100644
--- a/api/functions/index.createFrameProperties.html
+++ b/api/functions/index.createFrameProperties.html
@@ -41,7 +41,7 @@ drop cap effects and various text wrapping options.
diff --git a/api/functions/index.createHorizontalPosition.html b/api/functions/index.createHorizontalPosition.html
index cb47763c89..1bd4524958 100644
--- a/api/functions/index.createHorizontalPosition.html
+++ b/api/functions/index.createHorizontalPosition.html
@@ -40,7 +40,7 @@ object relative to a base element (page, margin, column, etc.).
diff --git a/api/functions/index.createMathAccentCharacter.html b/api/functions/index.createMathAccentCharacter.html
index ce6420d4b7..60a3fca149 100644
--- a/api/functions/index.createMathAccentCharacter.html
+++ b/api/functions/index.createMathAccentCharacter.html
@@ -31,7 +31,7 @@ such as summation (∑), integral (∫), or product (∏) symbols.
diff --git a/api/functions/index.createMathNAryProperties.html b/api/functions/index.createMathNAryProperties.html
index 79e3eab682..0519e2b7c6 100644
--- a/api/functions/index.createMathNAryProperties.html
+++ b/api/functions/index.createMathNAryProperties.html
@@ -31,7 +31,7 @@ and integrals, including the operator character and limit positioning.
diff --git a/api/functions/index.createMathSubScriptElement.html b/api/functions/index.createMathSubScriptElement.html
index 02eb55197f..d16396977f 100644
--- a/api/functions/index.createMathSubScriptElement.html
+++ b/api/functions/index.createMathSubScriptElement.html
@@ -31,7 +31,7 @@ script objects, and other structures that support subscripts.
diff --git a/api/functions/index.createMathSuperScriptElement.html b/api/functions/index.createMathSuperScriptElement.html
index ac214d8f16..8bb20e8803 100644
--- a/api/functions/index.createMathSuperScriptElement.html
+++ b/api/functions/index.createMathSuperScriptElement.html
@@ -31,7 +31,7 @@ script objects, and other structures that support superscripts.
diff --git a/api/functions/index.createPageNumberType.html b/api/functions/index.createPageNumberType.html
index 8ec1d046be..63840b365e 100644
--- a/api/functions/index.createPageNumberType.html
+++ b/api/functions/index.createPageNumberType.html
@@ -37,7 +37,7 @@ for all pages in a section.
diff --git a/api/functions/index.createSectionType.html b/api/functions/index.createSectionType.html
index abf85fa982..89c1ae8c2a 100644
--- a/api/functions/index.createSectionType.html
+++ b/api/functions/index.createSectionType.html
@@ -37,7 +37,7 @@ where the new section begins relative to the previous section.
diff --git a/api/functions/index.createTableFloatProperties.html b/api/functions/index.createTableFloatProperties.html
index f005acf66f..974597dbde 100644
--- a/api/functions/index.createTableFloatProperties.html
+++ b/api/functions/index.createTableFloatProperties.html
@@ -38,7 +38,7 @@ The overlap option isn't part of it: the table properties write it as w:tblOverl
diff --git a/api/functions/index.createTableLook.html b/api/functions/index.createTableLook.html
index 6dc0e865fe..e3444ae57d 100644
--- a/api/functions/index.createTableLook.html
+++ b/api/functions/index.createTableLook.html
@@ -34,7 +34,7 @@ styles to apply special formatting to specific regions of the table.
diff --git a/api/functions/index.createTableRowHeight.html b/api/functions/index.createTableRowHeight.html
index eb2d42ffd4..4dc221bdee 100644
--- a/api/functions/index.createTableRowHeight.html
+++ b/api/functions/index.createTableRowHeight.html
@@ -38,7 +38,7 @@ determining how the height should be applied.
diff --git a/api/functions/index.createWrapNone.html b/api/functions/index.createWrapNone.html
index b7b54551b5..721f56d7ad 100644
--- a/api/functions/index.createWrapNone.html
+++ b/api/functions/index.createWrapNone.html
@@ -23,7 +23,7 @@ without wrapping around it.
diff --git a/api/functions/index.createWrapSquare.html b/api/functions/index.createWrapSquare.html
index cd9bae05da..3ea5cddaf1 100644
--- a/api/functions/index.createWrapSquare.html
+++ b/api/functions/index.createWrapSquare.html
@@ -32,7 +32,7 @@ of the drawing on the specified side(s).
diff --git a/api/functions/index.createWrapThrough.html b/api/functions/index.createWrapThrough.html
index a0a90e8e90..d6f0d03ef8 100644
--- a/api/functions/index.createWrapThrough.html
+++ b/api/functions/index.createWrapThrough.html
@@ -36,7 +36,7 @@ fills any open space inside the drawing, such as the middle of a ring.
diff --git a/api/functions/index.createWrapTight.html b/api/functions/index.createWrapTight.html
index b3bd40aa5f..490d91a807 100644
--- a/api/functions/index.createWrapTight.html
+++ b/api/functions/index.createWrapTight.html
@@ -36,7 +36,7 @@ of the drawing rather than its rectangular bounding box.
diff --git a/api/functions/index.dateTimeValue.html b/api/functions/index.dateTimeValue.html
index 8012c3d029..8232c7981a 100644
--- a/api/functions/index.dateTimeValue.html
+++ b/api/functions/index.dateTimeValue.html
@@ -36,7 +36,7 @@ This matches the xsd:dateTime format required by OOXML.
diff --git a/api/functions/index.hpsMeasureValue.html b/api/functions/index.hpsMeasureValue.html
index 981a728b1c..e275a6f967 100644
--- a/api/functions/index.hpsMeasureValue.html
+++ b/api/functions/index.hpsMeasureValue.html
@@ -36,7 +36,7 @@ HPS (half-points) are commonly used for font sizes.
diff --git a/api/functions/index.patchDocument.html b/api/functions/index.patchDocument.html
index ca94163419..ac70577fc3 100644
--- a/api/functions/index.patchDocument.html
+++ b/api/functions/index.patchDocument.html
@@ -42,7 +42,7 @@ the original document structure and optionally the original formatting.
diff --git a/api/functions/index.universalMeasureToTwips.html b/api/functions/index.universalMeasureToTwips.html
index c67b9dbe3b..7ae18948a2 100644
--- a/api/functions/index.universalMeasureToTwips.html
+++ b/api/functions/index.universalMeasureToTwips.html
@@ -35,7 +35,7 @@ Strings are converted according to their unit suffix.
Shapes, groups of shapes and diagrams with connectors come with docx, from docx/shapes, and watermarks from docx/watermarks. They are left out of docx itself, so documents that don't use them don't carry their code:
Shapes, groups of shapes and diagrams with connectors come with docx, from docx/shapes, watermarks from docx/watermarks, and native Word charts from docx/charts. They are left out of docx itself, so documents that don't use them don't carry their code:
In a page without a bundler, load dist/shapes.umd.cjs or dist/watermarks.umd.cjs after dist/index.umd.cjs. They add the docxShapes and docxWatermarks globals. See the shapes and watermarks documentation.
+
In a page without a bundler, load dist/shapes.umd.cjs, dist/watermarks.umd.cjs or dist/charts.umd.cjs after dist/index.umd.cjs. They add the docxShapes, docxWatermarks and docxCharts globals. See the shapes, watermarks and charts documentation.
Playground
Experience docx in action through Docx.js Editor, an interactive playground where you can code and preview the results in real-time.
diff --git a/api/types/index.AttributePayload.html b/api/types/index.AttributePayload.html
index b64b9ea23b..21b4c26a1e 100644
--- a/api/types/index.AttributePayload.html
+++ b/api/types/index.AttributePayload.html
@@ -21,7 +21,7 @@ control over attribute name mapping.
Specifies the additional length, in EMUs, which shall be added to the bottom edge of the DrawingML object to determine its actual bottom edge including effects.
Specifies the additional length, in EMUs, which shall be added to the left edge of the DrawingML object to determine its actual left edge including effects.
Specifies the additional length, in EMUs, which shall be added to the right edge of the DrawingML object to determine its actual right edge including effects.
Specifies the additional length, in EMUs, which shall be added to the top edge of the DrawingML object to determine its actual top edge including effects.
+
diff --git a/api/types/index.GraphicMediaData.html b/api/types/index.GraphicMediaData.html
index c9b7dcf2e8..acc22e5d46 100644
--- a/api/types/index.GraphicMediaData.html
+++ b/api/types/index.GraphicMediaData.html
@@ -23,9 +23,9 @@ graphic it is. This is how docx/shapes writes its shapes.
Whether Word keeps the graphic's aspect ratio when it is resized (noChangeAspect). Default is true. Charts are
+written with false, as Word writes them
diff --git a/api/types/index.IContext.html b/api/types/index.IContext.html
index ec5fe94aad..78a8b4b139 100644
--- a/api/types/index.IContext.html
+++ b/api/types/index.IContext.html
@@ -18,7 +18,7 @@ during the conversion of components to XML.
diff --git a/api/types/index.ICropOptions.html b/api/types/index.ICropOptions.html
index ffc74c1c42..3d6ffaaf82 100644
--- a/api/types/index.ICropOptions.html
+++ b/api/types/index.ICropOptions.html
@@ -19,7 +19,7 @@ side of the image.
The grid can define a grid which snaps all East Asian characters to grid positions, but leaves Latin text with its default spacing; a grid which adds the specified character pitch to each character on each row; or a grid which affects only the line pitch for the current section.
Specifies that the paragraph (or at least part of it) should be rendered on the same page as the next paragraph when possible. If multiple paragraphs are to be kept together but they exceed a page, then the set of paragraphs begin on a new page and page breaks are used thereafter as needed.
diff --git a/api/types/index.IRunOptions.html b/api/types/index.IRunOptions.html
index 8d78cdb969..0c4582265e 100644
--- a/api/types/index.IRunOptions.html
+++ b/api/types/index.IRunOptions.html
@@ -21,7 +21,7 @@ The children property can contain various inline content elements.
diff --git a/api/types/index.IRunStylePropertiesOptions.html b/api/types/index.IRunStylePropertiesOptions.html
index 4b0f96c3b9..edb11e0328 100644
--- a/api/types/index.IRunStylePropertiesOptions.html
+++ b/api/types/index.IRunStylePropertiesOptions.html
@@ -19,7 +19,7 @@ including font, size, bold, italic, underline, color, and other character format
@@ -140,117 +140,117 @@ including font, size, bold, italic, underline, color, and other character format
highlights all the run's text. docx used to write it as w:highlightCs, which is in no schema.
diff --git a/api/types/index.ITableCellBorders.html b/api/types/index.ITableCellBorders.html
index 58e79bbcf8..0bcbae6b20 100644
--- a/api/types/index.ITableCellBorders.html
+++ b/api/types/index.ITableCellBorders.html
@@ -22,7 +22,7 @@ can be specified for top, bottom, left, right, start, and end edges.
@@ -46,7 +46,7 @@ If relativeHorizontalPosition is also specified, then the absoluteHorizontalPosi
If the attribute is omitted, the value is assumed to be zero.
@@ -57,7 +57,7 @@ If relativeVerticalPosition is also specified, then the absoluteVerticalPosition
If the attribute is omitted, the value is assumed to be zero.
@@ -65,7 +65,7 @@ If the attribute is omitted, the value is assumed to be zero.
below the table. The value is in twentieths of a point. If omitted, the value is assumed to be zero.
+
@@ -85,7 +85,7 @@ If omitted, the value is assumed to be page.
to the left of the table. The value is in twentieths of a point. If omitted, the value is assumed to be zero.
+
@@ -121,7 +121,7 @@ inline - the table should be vertically aligned in line with the surrounding tex
top - the table should be vertically aligned to the top edge of the anchor
+
@@ -129,7 +129,7 @@ top - the table should be vertically aligned to the top edge of the anchor
to the right of the table. The value is in twentieths of a point. If omitted, the value is assumed to be zero.
+
@@ -137,7 +137,7 @@ to the right of the table. The value is in twentieths of a point. If omitted, th
above the table. The value is in twentieths of a point. If omitted, the value is assumed to be zero.
+
@@ -88,7 +88,7 @@ When true, horizontal banding (alternating row colors) is disabled.
When false or undefined, horizontal banding is enabled if defined in the table style.
+
@@ -97,7 +97,7 @@ When true, vertical banding (alternating column colors) is disabled.
When false or undefined, vertical banding is enabled if defined in the table style.
+
diff --git a/api/types/index.ITableOfContentsOptions.html b/api/types/index.ITableOfContentsOptions.html
index a44c22de16..c7df877984 100644
--- a/api/types/index.ITableOfContentsOptions.html
+++ b/api/types/index.ITableOfContentsOptions.html
@@ -23,7 +23,7 @@ Options correspond to field switches in the TOC field code.
@@ -59,7 +59,7 @@ The identifier designated by text in this switch's field-argument corresponds to
Use captionLabelIncludingNumbers (\c) to build a table of captions with labels and numbers.
@@ -85,7 +85,7 @@ the bookmark named by text in this switch's field-argument.
that separate an entry and its page number. The default is a tab with leader dots.
+
@@ -96,21 +96,21 @@ to the style with a style ID of HeadingX (e.g. 1 corresponds to Heading1).
If no heading range is specified, all heading levels used in the document are listed.
+
@@ -119,21 +119,21 @@ Page numbers are omitted from all levels unless a range of entry levels is speci
text in this switch's field-argument. A range is specified as for \l.
+
@@ -168,7 +168,7 @@ with each doublet being a comma-separated set of style name and table of content
text in this switch's field-argument (which is typically a letter).
+
@@ -178,14 +178,14 @@ where startLevel and endLevel are integers, and startLevel has a value equal-to
TC fields that assign entries to lower levels are skipped.
+
@@ -74,64 +74,64 @@ parent cell) when the document is packed, so the table renders the same in every
consumer. Supply explicit values to take full control of the grid.
diff --git a/api/types/index.IThemeColorsOptions.html b/api/types/index.IThemeColorsOptions.html
index 20e8a20dee..ade6f72947 100644
--- a/api/types/index.IThemeColorsOptions.html
+++ b/api/types/index.IThemeColorsOptions.html
@@ -21,7 +21,7 @@ when the theme's colors change. The colors not given are Office's.
diff --git a/api/types/index.IXmlAttribute.html b/api/types/index.IXmlAttribute.html
index 4614dad48b..d4b128bc9d 100644
--- a/api/types/index.IXmlAttribute.html
+++ b/api/types/index.IXmlAttribute.html
@@ -17,7 +17,7 @@
numbers, or booleans, which will be converted to strings in the final XML.
diff --git a/api/types/index.OutputByType.html b/api/types/index.OutputByType.html
index 09a8720c05..1b7addceda 100644
--- a/api/types/index.OutputByType.html
+++ b/api/types/index.OutputByType.html
@@ -24,7 +24,7 @@ format determines the return type. Based on JSZip's output types.
The part's content: XML, formatted as the document's parts are, its bytes, or the files of a package, such as an
+embedded workbook, which are zipped. XML can refer to other parts by calling their PackagePart.addTo when
+it is formatted, as a document does
+
+
+
ReadonlycontentType
+
contentType:string
+
The part's content type, such as "application/vnd.openxmlformats-officedocument.drawingml.chart+xml"
+
+
+
Readonlyextension
+
extension:string
+
The extension of the part's file name, such as "xml"
+
+
+
Readonlyfolder
+
folder:string
+
The folder under word/ the part is written in, such as "charts"
+
+
+
Readonlyname
+
name:string
+
The start of the part's file name, which is numbered in the order parts are added: "chart" for word/charts/chart1.xml
+
diff --git a/api/types/index.ParagraphChild.html b/api/types/index.ParagraphChild.html
index eae60b4838..11a322427c 100644
--- a/api/types/index.ParagraphChild.html
+++ b/api/types/index.ParagraphChild.html
@@ -17,7 +17,7 @@ This union type represents all valid inline content elements that can appear
within a paragraph in WordprocessingML.
These URIs define the type of relationship between parts in an OPC package.
+Each type corresponds to a specific kind of document component or resource.
Specifies the height of the containing block of the shape. Default is 0. It is specified in CSS units or, for elements in a group, in the coordinate system of the parent element.
Specifies the position of the left of the containing block of the shape relative to the element left of it in the flow of the page. Default is 0. It is specified in CSS units or, for elements in a group, in the coordinate system of the parent element. This property shall not be used for shapes anchored inline.
Specifies the position of the bottom of the containing block of the shape relative to the shape anchor. Default is 0. It is specified in CSS units or, for elements in a group, in the coordinate system of the parent element.
Specifies the position of the left of the containing block of the shape relative to the shape anchor. Default is 0. It is specified in CSS units or, for elements in a group, in the coordinate system of the parent element.
Specifies the position of the right of the containing block of the shape relative to the shape anchor. Default is 0. It is specified in CSS units or, for elements in a group, in the coordinate system of the parent element.
Specifies the position of the top of the containing block of the shape relative to the shape anchor. Default is 0. It is specified in CSS units or, for elements in a group, in the coordinate system of the parent element.
Specifies the type of positioning used to place an element. Default is static. When the element is contained inside a group, this property must be absolute.
Specifies relative horizontal position data for objects in WordprocessingML documents. This modifies the mso-position-horizontal property. Default is text.
Specifies relative vertical position data for objects in WordprocessingML documents. This modifies the mso-position-vertical property. Default is text.
Specifies the position of the top of the containing block of the shape relative to the element above it in the flow of the page. Default is 0. It is specified in CSS units or, for elements in a group, in the coordinate system of the parent element. This property shall not be used for shapes anchored inline.
Specifies the width of the containing block of the shape. Default is 0. It is specified in CSS units or, for elements in a group, in the coordinate system of the parent element.
Specifies the distance from the bottom of the shape to the text that wraps around it. Default is 0 pt. Note that this property is different from the CSS margin property, which changes the origin of the shape to include the margin areas. This property does not change the origin.
Specifies the distance from the left side of the shape to the text that wraps around it. Default is 0 pt. Note that this property is different from the CSS margin property, which changes the origin of the shape to include the margin areas. This property does not change the origin.
Specifies the distance from the right side of the shape to the text that wraps around it. Default is 0 pt. Note that this property is different from the CSS margin property, which changes the origin of the shape to include the margin areas. This property does not change the origin.
Specifies the distance from the top of the shape to the text that wraps around it. Default is 0 pt. Note that this property is different from the CSS margin property, which changes the origin of the shape to include the margin areas. This property does not change the origin.
Specifies whether the wrap coordinates were customized by the user. If the wrap coordinates are generated by an editor, this property is true; otherwise they were customized by a user. Default is false.
diff --git a/api/types/shapes.ConnectorEnd.html b/api/types/shapes.ConnectorEnd.html
index 488ff8ded9..e5320ef544 100644
--- a/api/types/shapes.ConnectorEnd.html
+++ b/api/types/shapes.ConnectorEnd.html
@@ -38,7 +38,7 @@ bottom-left corner. On a shape without connection points, the connector ends at
diff --git a/api/types/shapes.CustomShapeGeometry.html b/api/types/shapes.CustomShapeGeometry.html
index b1f0a509e8..7395c19960 100644
--- a/api/types/shapes.CustomShapeGeometry.html
+++ b/api/types/shapes.CustomShapeGeometry.html
@@ -50,7 +50,7 @@ fill the shape. Later paths are drawn over earlier ones
diff --git a/api/types/shapes.CustomShapePath.html b/api/types/shapes.CustomShapePath.html
index 1765c7c76d..e265a21840 100644
--- a/api/types/shapes.CustomShapePath.html
+++ b/api/types/shapes.CustomShapePath.html
@@ -20,7 +20,7 @@ own, so paths can overlap without cutting holes in each other.
diff --git a/api/types/shapes.CustomShapePathFill.html b/api/types/shapes.CustomShapePathFill.html
index d8cfbf2a42..647a0252ae 100644
--- a/api/types/shapes.CustomShapePathFill.html
+++ b/api/types/shapes.CustomShapePathFill.html
@@ -19,7 +19,7 @@ fill made lighter or darker, as Word's preset shapes shade the top of a cube or
diff --git a/api/types/shapes.IShapeCanvasOptions.html b/api/types/shapes.IShapeCanvasOptions.html
index e595fcbf84..4de503268a 100644
--- a/api/types/shapes.IShapeCanvasOptions.html
+++ b/api/types/shapes.IShapeCanvasOptions.html
@@ -60,7 +60,7 @@ The shapes are not scaled.
diff --git a/api/types/shapes.IShapeConnectorOptions.html b/api/types/shapes.IShapeConnectorOptions.html
index f6ed5f8f9f..e1f6c7092d 100644
--- a/api/types/shapes.IShapeConnectorOptions.html
+++ b/api/types/shapes.IShapeConnectorOptions.html
@@ -23,7 +23,7 @@ or several connectors join the same two shapes, their ends are spread out along
@@ -64,21 +64,21 @@ or several connectors join the same two shapes, their ends are spread out along
shape, so Word doesn't move it when the connector moves
diff --git a/api/types/shapes.IShapeGroupChildOptions.html b/api/types/shapes.IShapeGroupChildOptions.html
index f83746608d..978aa94bb0 100644
--- a/api/types/shapes.IShapeGroupChildOptions.html
+++ b/api/types/shapes.IShapeGroupChildOptions.html
@@ -20,7 +20,7 @@ in pixels, unless a layout places it, and id names it
diff --git a/api/types/shapes.IShapeGroupOptions.html b/api/types/shapes.IShapeGroupOptions.html
index 76da7ef60a..77ebf5e8c5 100644
--- a/api/types/shapes.IShapeGroupOptions.html
+++ b/api/types/shapes.IShapeGroupOptions.html
@@ -46,7 +46,7 @@ the box around the children. A different size scales every shape in the group.
diff --git a/api/types/shapes.IShapeNestedGroupOptions.html b/api/types/shapes.IShapeNestedGroupOptions.html
index 34b8c536ac..9a157edd12 100644
--- a/api/types/shapes.IShapeNestedGroupOptions.html
+++ b/api/types/shapes.IShapeNestedGroupOptions.html
@@ -47,7 +47,7 @@ box around the children, and a different size scales every child
diff --git a/api/types/shapes.IShapeOptions.html b/api/types/shapes.IShapeOptions.html
index 6074c8f3ee..496e3ab748 100644
--- a/api/types/shapes.IShapeOptions.html
+++ b/api/types/shapes.IShapeOptions.html
@@ -23,7 +23,7 @@ or startAngle and endAngle for a "pie"
diff --git a/api/types/shapes.PresetShapeAdjustments.html b/api/types/shapes.PresetShapeAdjustments.html
index 447b3cfc05..597537a04e 100644
--- a/api/types/shapes.PresetShapeAdjustments.html
+++ b/api/types/shapes.PresetShapeAdjustments.html
@@ -21,7 +21,7 @@ allows, so a value that is too large acts like the largest allowed value.
diff --git a/api/types/shapes.ShapeAdjustments.html b/api/types/shapes.ShapeAdjustments.html
index bb524686ce..61c2909627 100644
--- a/api/types/shapes.ShapeAdjustments.html
+++ b/api/types/shapes.ShapeAdjustments.html
@@ -23,7 +23,7 @@ It is never for shapes without handles, which take no adjustments.<
diff --git a/api/types/shapes.ShapeFlowLayout.html b/api/types/shapes.ShapeFlowLayout.html
index d38a1e7b5f..5090518dd6 100644
--- a/api/types/shapes.ShapeFlowLayout.html
+++ b/api/types/shapes.ShapeFlowLayout.html
@@ -20,7 +20,7 @@ that connect to it, and the shapes on each level are ordered so connectors cross
@@ -52,26 +52,26 @@ with a lane goes in the band of that name, and shapes without one g
across the direction the flow runs in, each with a header at the start of the flow
diff --git a/api/types/shapes.ShapeHorizontalPosition.html b/api/types/shapes.ShapeHorizontalPosition.html
index 3eb9466373..a1e1a0bc3a 100644
--- a/api/types/shapes.ShapeHorizontalPosition.html
+++ b/api/types/shapes.ShapeHorizontalPosition.html
@@ -26,7 +26,7 @@ a base of the page, the space between its margins, or one of its margins
diff --git a/api/types/shapes.ShapeLayout.html b/api/types/shapes.ShapeLayout.html
index 0ba3f3c527..c0a3b72a72 100644
--- a/api/types/shapes.ShapeLayout.html
+++ b/api/types/shapes.ShapeLayout.html
@@ -20,7 +20,7 @@ layout, which is placed around them. Connectors are routed after the shapes are
diff --git a/api/types/shapes.ShapeSize.html b/api/types/shapes.ShapeSize.html
index 5ad83f4be9..57bd9636ed 100644
--- a/api/types/shapes.ShapeSize.html
+++ b/api/types/shapes.ShapeSize.html
@@ -19,7 +19,7 @@ percentage of the space between the page's margins, or of what floating.si
diff --git a/api/types/shapes.ShapeTextWarp.html b/api/types/shapes.ShapeTextWarp.html
index f11774ef76..a41e8fbff8 100644
--- a/api/types/shapes.ShapeTextWarp.html
+++ b/api/types/shapes.ShapeTextWarp.html
@@ -19,7 +19,7 @@ The ...Filled arches, circle and button spread the text over the wh
diff --git a/api/types/shapes.ShapeThemeColor.html b/api/types/shapes.ShapeThemeColor.html
index 47fc34a25e..8a9a095412 100644
--- a/api/types/shapes.ShapeThemeColor.html
+++ b/api/types/shapes.ShapeThemeColor.html
@@ -20,7 +20,7 @@ same as docx's ThemeColor, which text, borders and sha
diff --git a/api/types/shapes.ShapeTransformation.html b/api/types/shapes.ShapeTransformation.html
index 5ee9989467..7cb6048498 100644
--- a/api/types/shapes.ShapeTransformation.html
+++ b/api/types/shapes.ShapeTransformation.html
@@ -30,7 +30,7 @@ between the margins for a floating shape, such as "100%"<
diff --git a/api/types/shapes.ShapeTreeLayout.html b/api/types/shapes.ShapeTreeLayout.html
index 8ba0cfe08c..d4471a467b 100644
--- a/api/types/shapes.ShapeTreeLayout.html
+++ b/api/types/shapes.ShapeTreeLayout.html
@@ -20,7 +20,7 @@ children are placed side by side below their parent, which is centred over them.
diff --git a/api/types/shapes.ShapeVerticalPosition.html b/api/types/shapes.ShapeVerticalPosition.html
index 65bd7f1f67..0b59484740 100644
--- a/api/types/shapes.ShapeVerticalPosition.html
+++ b/api/types/shapes.ShapeVerticalPosition.html
@@ -26,7 +26,7 @@ a base of the page, the space between its margins, or one of its margins
diff --git a/api/variables/index.CharacterSet.html b/api/variables/index.CharacterSet.html
index 95c3764ac6..321ccd3c7f 100644
--- a/api/variables/index.CharacterSet.html
+++ b/api/variables/index.CharacterSet.html
@@ -60,7 +60,7 @@ Maps character set names to their hexadecimal identifiers.
diff --git a/api/variables/index.DocumentAttributeNamespaces.html b/api/variables/index.DocumentAttributeNamespaces.html
index 5c575509b8..a795c3a7d9 100644
--- a/api/variables/index.DocumentAttributeNamespaces.html
+++ b/api/variables/index.DocumentAttributeNamespaces.html
@@ -94,7 +94,7 @@ in a document, including WordprocessingML, DrawingML, VML, and others.
When this value is set, the input specified via the user interface may be restricted to the number of lines per page and characters per line, with the consumer or producer translating this information based on the current font data to get the resulting line and character pitch values
diff --git a/api/variables/index.DropCapType.html b/api/variables/index.DropCapType.html
index 0c70876b62..a94d0e8b1a 100644
--- a/api/variables/index.DropCapType.html
+++ b/api/variables/index.DropCapType.html
@@ -32,7 +32,7 @@ beginning of a paragraph. This enum defines how the drop cap should be positione
diff --git a/api/variables/index.EMPTY_OBJECT.html b/api/variables/index.EMPTY_OBJECT.html
index 4da3902cac..3ae55b9160 100644
--- a/api/variables/index.EMPTY_OBJECT.html
+++ b/api/variables/index.EMPTY_OBJECT.html
@@ -20,7 +20,7 @@ has no children or attributes.
diff --git a/api/variables/index.EmphasisMarkType.html b/api/variables/index.EmphasisMarkType.html
index 0da5165265..c905344471 100644
--- a/api/variables/index.EmphasisMarkType.html
+++ b/api/variables/index.EmphasisMarkType.html
@@ -31,7 +31,7 @@ Emphasis marks are commonly used in East Asian typography.
Specifies that this header or footer shall appear on the first page in this section. The appearance of this header or footer is contingent on the setting of the titlePg element (§2.10.6).
diff --git a/api/variables/index.LevelFormat.html b/api/variables/index.LevelFormat.html
index 2b57336346..35e945fc8c 100644
--- a/api/variables/index.LevelFormat.html
+++ b/api/variables/index.LevelFormat.html
@@ -281,7 +281,7 @@ decimal, roman numerals, letters, and various international formats.
diff --git a/api/variables/index.PageTextDirectionType.html b/api/variables/index.PageTextDirectionType.html
index 8a49bdf53c..29c73688b5 100644
--- a/api/variables/index.PageTextDirectionType.html
+++ b/api/variables/index.PageTextDirectionType.html
@@ -28,7 +28,7 @@ vertically (top-to-bottom), commonly used for East Asian languages.
Top-to-bottom, right-to-left (vertical East Asian text flow)
diff --git a/api/variables/index.ShadingType.html b/api/variables/index.ShadingType.html
index d96c2d01c2..e435df5e30 100644
--- a/api/variables/index.ShadingType.html
+++ b/api/variables/index.ShadingType.html
@@ -103,7 +103,7 @@ color and the pattern color.
diff --git a/api/variables/index.TextEffect.html b/api/variables/index.TextEffect.html
index 9d307d26e3..a8b107776b 100644
--- a/api/variables/index.TextEffect.html
+++ b/api/variables/index.TextEffect.html
@@ -56,7 +56,7 @@ these effects are deprecated and may not be supported by all applications.
diff --git a/api/variables/index.VerticalAlign.html b/api/variables/index.VerticalAlign.html
index a8a216edef..9b4ee21691 100644
--- a/api/variables/index.VerticalAlign.html
+++ b/api/variables/index.VerticalAlign.html
@@ -32,7 +32,7 @@ backward-compatibility and will be removed in the next major release.
diff --git a/api/variables/index.VerticalAlignTable.html b/api/variables/index.VerticalAlignTable.html
index 8ffda4faa0..5fbd31f429 100644
--- a/api/variables/index.VerticalAlignTable.html
+++ b/api/variables/index.VerticalAlignTable.html
@@ -28,7 +28,7 @@ are valid according to ECMA-376 (§17.18.87 ST_VerticalJc within <w:tcP
diff --git a/api/variables/index.VerticalMergeType.html b/api/variables/index.VerticalMergeType.html
index f412b2054e..908d4667bc 100644
--- a/api/variables/index.VerticalMergeType.html
+++ b/api/variables/index.VerticalMergeType.html
@@ -29,7 +29,7 @@ This cell continues a vertical merge started by a cell above it.
This cell begins a new vertical merge region.
diff --git a/api/variables/index.bookmarkUniqueNumericId.html b/api/variables/index.bookmarkUniqueNumericId.html
index 3a0e441af1..1c75a53914 100644
--- a/api/variables/index.bookmarkUniqueNumericId.html
+++ b/api/variables/index.bookmarkUniqueNumericId.html
@@ -27,7 +27,7 @@ than a generator per instance.
diff --git a/api/variables/index.docPropertiesUniqueNumericId.html b/api/variables/index.docPropertiesUniqueNumericId.html
index efcac7555a..8cf294987d 100644
--- a/api/variables/index.docPropertiesUniqueNumericId.html
+++ b/api/variables/index.docPropertiesUniqueNumericId.html
@@ -28,7 +28,7 @@ one counter rather than a generator per instance.
diff --git a/usage/chart-axes.md b/usage/chart-axes.md
new file mode 100644
index 0000000000..a35c2e9268
--- /dev/null
+++ b/usage/chart-axes.md
@@ -0,0 +1,96 @@
+# Chart Axes
+
+The axes are the lines along the sides of a chart, with the labels that say what each position means.
+
+## Which Axes a Chart Has
+
+| Chart | Axes |
+| --------------------- | --------------------------------------------------------------------------- |
+| Column, line and area | `categoryAxis` along the bottom, and `valueAxis` up the left side |
+| Bar | `categoryAxis` up the left side, and `valueAxis` along the bottom |
+| Scatter | `xAxis` along the bottom, and `yAxis` up the left side. Both are value axes |
+| Pie and doughnut | None |
+
+A category axis shows the categories. A value axis shows numbers, and takes a range and a number format too.
+
+## Titles
+
+`title` names an axis. Axes have no titles by default.
+
+```ts
+new ChartRun({
+ type: "column",
+ categories: ["Q1", "Q2", "Q3", "Q4"],
+ series: [{ name: "Sales", values: [120, 135, 150, 170] }],
+ categoryAxis: { title: "Quarter" },
+ valueAxis: { title: "Units" },
+});
+```
+
+The title of an axis up the left side reads from bottom to top.
+
+## Range and Interval
+
+By default, the application chooses a value axis' range from the values. To choose it yourself:
+
+- `minimum` is the lowest value on the axis;
+- `maximum` is the highest;
+- `interval` is the step between its labels and gridlines.
+
+```ts
+valueAxis: { minimum: 0, maximum: 200, interval: 50 },
+```
+
+This labels the axis 0, 50, 100, 150 and 200. Give any of the three, and the application chooses the others. The `minimum` has to be less than the `maximum`, and the `interval` more than 0.
+
+## Number Format
+
+`numberFormat` is how a value axis' labels are written, as an Excel number format:
+
+| `numberFormat` | Value | Label |
+| -------------- | ------ | -------- |
+| `"#,##0"` | 1234.5 | 1,235 |
+| `"#,##0.00"` | 1234.5 | 1,234.50 |
+| `"$#,##0"` | 1234.5 | $1,235 |
+| `"0%"` | 0.25 | 25% |
+| `"0.0%"` | 0.125 | 12.5% |
+
+A percentage format multiplies by 100, as in Excel, so it suits values such as `0.25` for 25%. By default, labels are written as the values are.
+
+## Gridlines
+
+Gridlines are the lines across the chart at each label of an axis. A value axis has them by default, and a category axis doesn't. `gridlines` turns them on or off:
+
+```ts
+categoryAxis: { gridlines: true },
+valueAxis: { gridlines: false },
+```
+
+## Hiding an Axis
+
+`visible: false` hides an axis and its labels. Its gridlines stay unless you turn them off too:
+
+```ts
+categoryAxis: { visible: false },
+valueAxis: { visible: false, gridlines: false },
+```
+
+A chart with no axes, legend or title can be as small as a word. See [Small Charts](usage/chart-size-and-position.md#small-charts).
+
+## Charts Stacked to 100%
+
+On a chart with `stacking: "percent"`, the value axis is labelled as percentages, from 0% to 100%. Its `minimum`, `maximum` and `interval` are percentages too, so `valueAxis: { maximum: 50, interval: 25 }` labels it 0%, 25% and 50%.
+
+## Options
+
+`categoryAxis` takes a `ChartAxis`, and `valueAxis`, `xAxis` and `yAxis` take a `ChartValueAxis`.
+
+| Property | Type | Axes | Description |
+| -------------- | --------- | ---------- | ---------------------------------------------------------------------------------------------- |
+| `title` | `string` | All | The axis' title. Default none |
+| `visible` | `boolean` | All | Whether the axis and its labels are shown. Default `true` |
+| `gridlines` | `boolean` | All | Lines across the chart at each label. Default `true` for value axes, `false` for category axes |
+| `minimum` | `number` | Value axes | The lowest value on the axis. Default is chosen from the values |
+| `maximum` | `number` | Value axes | The highest value on the axis. Default is chosen from the values |
+| `interval` | `number` | Value axes | The step between labels and gridlines. Default is chosen from the values |
+| `numberFormat` | `string` | Value axes | An Excel number format, such as `"#,##0"`. Default is the values as they are |
diff --git a/usage/chart-colors.md b/usage/chart-colors.md
new file mode 100644
index 0000000000..a45bc39cc3
--- /dev/null
+++ b/usage/chart-colors.md
@@ -0,0 +1,52 @@
+# Chart Colours
+
+Charts are drawn in the colours of the document's [theme](usage/themes.md), as in Word. This page shows the colours a chart takes, and how to choose your own.
+
+## The Theme's Colours
+
+Each series takes the next of the theme's six accent colours. In the theme `docx` writes, Office's, they are:
+
+| Series | Theme colour | Colour |
+| ------ | ------------ | ------ |
+| 1 | `accent1` | Blue |
+| 2 | `accent2` | Orange |
+| 3 | `accent3` | Grey |
+| 4 | `accent4` | Gold |
+| 5 | `accent5` | Blue |
+| 6 | `accent6` | Green |
+
+After the sixth series, the six colours come round again in darker and lighter shades, as in Word.
+
+The slices of a pie or doughnut chart take the accent colours in the same way, one for each category.
+
+Colours from the theme change when the document's theme does, as they do in Word. Give the document a theme of its own to change every chart's colours at once. See [Themes](usage/themes.md).
+
+## A Colour of Your Own
+
+Give a series a `color` of its own:
+
+- a 6-digit hex colour, such as `"1F4E79"`;
+- or one of the theme's colours, lighter or darker if you like, as Word's colour menus offer them: `{ theme: "accent2", lighter: 40 }` is "Orange, Accent 2, Lighter 40%".
+
+```ts
+series: [
+ { name: "Planned", values: [30, 80, 40], color: "1F4E79" },
+ { name: "Extra", values: [5, 20, 15], color: { theme: "accent2", lighter: 40 } },
+],
+```
+
+The colour is the colour of the series' bars, line, area or points.
+
+## Slice Colours
+
+A pie or doughnut series takes `colors`, with a colour for each slice, in the order of the categories:
+
+```ts
+series: [{ name: "Share", values: [40, 25, 20, 15], colors: ["1F4E79", "2E75B6", undefined, { theme: "accent6" }] }],
+```
+
+A slice without a colour, or with `undefined`, keeps the theme's colour. See [Pie and Doughnut Charts](usage/chart-pie-and-doughnut.md#slice-colours).
+
+## The Rest of the Chart
+
+The chart's background, text, axes and gridlines are in the look Word gives a new chart: a white background, dark grey text and light grey lines, from the theme's `light1` and `dark1` colours.
diff --git a/usage/chart-column-and-bar.md b/usage/chart-column-and-bar.md
new file mode 100644
index 0000000000..16ad127148
--- /dev/null
+++ b/usage/chart-column-and-bar.md
@@ -0,0 +1,108 @@
+# Column and Bar Charts
+
+A column chart draws a vertical bar for each value, and a bar chart a horizontal one. Use them to compare values across categories. A bar chart suits long category names, which have room to the left of the bars.
+
+[Charts](usage/charts.md) shows how to import `ChartRun` and add a chart to a document.
+
+## A Column Chart
+
+```ts
+new ChartRun({
+ type: "column",
+ title: "Sales by quarter",
+ categories: ["Q1", "Q2", "Q3", "Q4"],
+ series: [
+ { name: "2024", values: [120, 135, 150, 170] },
+ { name: "2025", values: [140, 150, 165, null] },
+ ],
+});
+```
+
+Each category has a group of columns, one for each series, side by side. The first series is on the left of each group.
+
+## A Bar Chart
+
+A bar chart takes the same options, with `type: "bar"`:
+
+```ts
+new ChartRun({
+ type: "bar",
+ categories: ["Design", "Build", "Test"],
+ series: [{ name: "Hours", values: [30, 80, 40] }],
+});
+```
+
+The categories run up the left side, so the first category is at the bottom, as in Word. The values run along the bottom.
+
+## Stacking
+
+`stacking` puts each group's bars on top of each other, as Word's "Stacked" and "100% Stacked" charts do:
+
+| `stacking` | Draws |
+| ------------------ | -------------------------------------------------------------------------------------------- |
+| `"none"` (default) | The bars side by side |
+| `"stacked"` | The bars on top of each other, so each stack is as long as the category's total |
+| `"percent"` | The bars on top of each other, as percentages of the category's total, so each stack is 100% |
+
+```ts
+new ChartRun({
+ type: "bar",
+ title: "Hours by team",
+ categories: ["Design", "Build", "Test"],
+ series: [
+ { name: "Planned", values: [30, 80, 40] },
+ { name: "Extra", values: [5, 20, 15] },
+ ],
+ stacking: "stacked",
+});
+```
+
+On a 100% stacked chart, the value axis is labelled as percentages. See [Chart Axes](usage/chart-axes.md#charts-stacked-to-100).
+
+## Spacing
+
+`gapWidth` is the space between groups of bars, and `overlap` is how much the bars in a group overlap. Both are percentages of a bar's width.
+
+- `gapWidth` goes from `0` (no space between groups) to `500` (five bars' width). A smaller gap makes the bars wider.
+- `overlap` goes from `-100` (a bar's width apart) to `100` (each bar on top of the one before). `0` puts them side by side, touching.
+
+```ts
+new ChartRun({
+ type: "column",
+ categories: ["Q1", "Q2", "Q3", "Q4"],
+ series: [
+ { name: "2024", values: [120, 135, 150, 170] },
+ { name: "2025", values: [140, 150, 165, 180] },
+ ],
+ gapWidth: 50,
+ overlap: 0,
+});
+```
+
+The defaults are Office's:
+
+| | Column chart | Bar chart | Stacked |
+| ---------- | ------------ | --------- | ----------------------- |
+| `gapWidth` | `219` | `182` | `150` |
+| `overlap` | `-27` | `0` | `100`, and can't change |
+
+## Options
+
+These are all the options of a column or bar chart. Each links to the page that explains it.
+
+| Property | Type | Notes | Description |
+| ---------------- | -------------------------------------- | -------- | ----------------------------------------------------------------------------------------------------------- |
+| `type` | `"column"` \| `"bar"` | Required | Vertical or horizontal bars |
+| `categories` | `(string \| number)[]` | Required | The categories, in order. See [Chart Data](usage/chart-data.md) |
+| `series` | `ChartSeries[]` | Required | `{ name, values, color? }`, with a value or `null` for each category. See [Chart Data](usage/chart-data.md) |
+| `stacking` | `"none"` \| `"stacked"` \| `"percent"` | Optional | See [Stacking](#stacking). Default `"none"` |
+| `gapWidth` | `number` | Optional | The space between groups of bars, from 0 to 500. See [Spacing](#spacing) |
+| `overlap` | `number` | Optional | How much the bars in a group overlap, from -100 to 100. See [Spacing](#spacing) |
+| `title` | `string` | Optional | See [Chart Titles and Legends](usage/chart-titles-and-legends.md) |
+| `legend` | `false` \| `ChartLegend` | Optional | See [Chart Titles and Legends](usage/chart-titles-and-legends.md) |
+| `categoryAxis` | `ChartAxis` | Optional | The axis of categories. See [Chart Axes](usage/chart-axes.md) |
+| `valueAxis` | `ChartValueAxis` | Optional | The axis of values. See [Chart Axes](usage/chart-axes.md) |
+| `dataLabels` | `ChartDataLabels` | Optional | See [Chart Data Labels](usage/chart-data-labels.md) |
+| `transformation` | `{ width, height }` | Optional | See [Chart Size and Position](usage/chart-size-and-position.md) |
+| `floating` | `IFloating` | Optional | See [Chart Size and Position](usage/chart-size-and-position.md) |
+| `altText` | `DocPropertiesOptions` | Optional | See [Chart Size and Position](usage/chart-size-and-position.md) |
diff --git a/usage/chart-compatibility.md b/usage/chart-compatibility.md
new file mode 100644
index 0000000000..e5d0b13255
--- /dev/null
+++ b/usage/chart-compatibility.md
@@ -0,0 +1,35 @@
+# Chart Compatibility
+
+This page says how charts are saved in a document, and how each application draws them.
+
+## How Charts Are Saved
+
+Charts are saved as Word 2016 saves them: as DrawingML charts, in the look Office 2013 and later give a new chart.
+
+- Each chart is a part of its own in the document, such as `word/charts/chart1.xml`, with its data in it.
+- Each chart's data is also in an Excel workbook inside the document, such as `word/embeddings/Microsoft_Excel_Worksheet1.xlsx`, which Word's **Edit Data** opens. See [Editing the Data in Word](usage/chart-data.md#editing-the-data-in-word).
+
+Applications draw a chart from the data in the chart part, so they don't need to open the workbook.
+
+## Checks
+
+?> Word itself hasn't been checked yet. The charts and their workbooks pass the Open XML SDK validator, Microsoft's own check, for every version of Office since 2010, and are drawn as intended by LibreOffice and Apple Pages.
+
+## LibreOffice
+
+LibreOffice (checked with version 26.8) draws every chart as intended, and opens the workbooks in Calc.
+
+## Apple Pages
+
+Apple Pages (checked with version 15.1) draws the charts, but:
+
+- It doesn't draw a chart less than about half an inch tall: 48 pixels tall is drawn, 32 pixels isn't.
+- It draws only the first series of a doughnut chart, as one ring.
+- It draws stacked lines at their own values, not stacked.
+- It puts the last series in front in an area chart that isn't stacked, where LibreOffice puts the first.
+- It divides a value axis into four equal steps, such as 0, 43, 85, 128 and 170, unless it has an `interval`.
+- It narrows a pie or doughnut chart to the pie, so a floating one moves away from the right margin. Word does this with its own pie charts too.
+
+## Patching
+
+`patchDocument` can't add charts yet: a chart in a patch throws an error. Add charts to a new `Document`.
diff --git a/usage/chart-data-labels.md b/usage/chart-data-labels.md
new file mode 100644
index 0000000000..6a7cc69813
--- /dev/null
+++ b/usage/chart-data-labels.md
@@ -0,0 +1,52 @@
+# Chart Data Labels
+
+Data labels write the numbers on a chart: a label on each bar, point or slice. There are no labels by default.
+
+```ts
+new ChartRun({
+ type: "column",
+ categories: ["Q1", "Q2", "Q3", "Q4"],
+ series: [{ name: "Sales", values: [120, 135, 150, 170] }],
+ dataLabels: { value: true },
+});
+```
+
+This writes each column's value above it.
+
+## What a Label Shows
+
+Turn on what each label shows:
+
+| Option | Shows | Charts |
+| ------------ | ------------------------------------ | ---------------- |
+| `value` | The value | All |
+| `category` | The category, or a scatter point's x | All |
+| `seriesName` | The series' name | All |
+| `percentage` | The slice's percentage of the whole | Pie and doughnut |
+
+Turn on more than one to show them all in each label:
+
+```ts
+dataLabels: { category: true, percentage: true },
+```
+
+## Where the Labels Go
+
+The labels go where Office puts them:
+
+| Chart | Labels |
+| ---------------- | ------------------------------------------------------------------- |
+| Column and bar | Just past the end of each bar, or in its middle when stacked |
+| Line and scatter | To the right of each point |
+| Area | Where the application puts them |
+| Pie | Where they fit best, with a line to a slice they're moved away from |
+| Doughnut | On each slice of each ring |
+
+## Options
+
+| Property | Type | Notes | Description |
+| ------------ | --------- | -------- | ---------------------------------------------------------------- |
+| `value` | `boolean` | Optional | The value. Default `false` |
+| `category` | `boolean` | Optional | The category, or a scatter point's x. Default `false` |
+| `seriesName` | `boolean` | Optional | The series' name. Default `false` |
+| `percentage` | `boolean` | Optional | Pie and doughnut charts: the slice's percentage. Default `false` |
diff --git a/usage/chart-data.md b/usage/chart-data.md
new file mode 100644
index 0000000000..5dd00a045b
--- /dev/null
+++ b/usage/chart-data.md
@@ -0,0 +1,75 @@
+# Chart Data
+
+A chart's data is its categories and its series, or for a scatter chart, its points. This page shows how to give it, and how it is saved in the document.
+
+## Categories and Series
+
+Column, bar, line, area, pie and doughnut charts take their data as a table: a row for each category, and a column for each series.
+
+```ts
+new ChartRun({
+ type: "column",
+ categories: ["Q1", "Q2", "Q3", "Q4"],
+ series: [
+ { name: "2024", values: [120, 135, 150, 170] },
+ { name: "2025", values: [140, 150, 165, null] },
+ ],
+});
+```
+
+is this table:
+
+| | 2024 | 2025 |
+| ------ | ---- | ---- |
+| **Q1** | 120 | 140 |
+| **Q2** | 135 | 150 |
+| **Q3** | 150 | 165 |
+| **Q4** | 170 | |
+
+- `categories` are the labels along the category axis, or the slices of a pie. They are text, or numbers such as years.
+- Each series has a `name`, which the legend shows, and `values`: one value for each category, in the same order.
+- `null` is an empty cell, which leaves a gap: no bar, a break in a line, or no slice.
+- A series can have fewer values than there are categories. The categories after its last value are gaps.
+
+Each series can also have a `color`. See [Chart Colours](usage/chart-colors.md).
+
+## Points
+
+A [scatter chart](usage/chart-scatter.md) has no categories. Each of its series has `points`, and each point has its own `x` and `y`:
+
+```ts
+series: [
+ {
+ name: "Group A",
+ points: [
+ { x: 150, y: 50 },
+ { x: 165, y: 61 },
+ ],
+ },
+],
+```
+
+## Editing the Data in Word
+
+Each chart's data is saved twice: in the chart, which Word draws it from, and in an Excel workbook inside the document. **Edit Data** in Word opens the workbook in Excel, and Word redraws the chart when the data changes.
+
+The workbook has one sheet, laid out as Word lays out a new chart's data:
+
+- For a chart with categories, the sheet is the table above: the series' names in row 1 from column B, the categories in column A from row 2, and each series' values below its name.
+- For a scatter chart, each series has two columns: `X` above its x values, and its name above its y values.
+
+## Mistakes
+
+`new ChartRun(...)` throws an error when an option is wrong, so the mistake shows up where the chart is made. It throws when:
+
+- a chart has no series, or no categories;
+- a category isn't text or a finite number;
+- a value isn't a finite number or `null`;
+- a series has more values than there are categories;
+- a pie chart has more than one series;
+- a pie or doughnut chart has a negative value, or a series more `colors` than there are categories;
+- a scatter series has no points, or a point's `x` or `y` isn't a finite number;
+- an option is outside its range, such as `gapWidth: 600`, or a value axis' `minimum` isn't less than its `maximum`;
+- the chart's width or height isn't a positive number.
+
+The error says what is wrong, such as `Series "2025" has 5 values, but there are 4 categories`.
diff --git a/usage/chart-line-and-area.md b/usage/chart-line-and-area.md
new file mode 100644
index 0000000000..707c8efb6c
--- /dev/null
+++ b/usage/chart-line-and-area.md
@@ -0,0 +1,93 @@
+# Line and Area Charts
+
+A line chart draws a line through each series' values, and an area chart fills the space below each line. Use them to show a trend, such as a value over days, months or years. The categories are the points along the bottom.
+
+[Charts](usage/charts.md) shows how to import `ChartRun` and add a chart to a document.
+
+## A Line Chart
+
+```ts
+new ChartRun({
+ type: "line",
+ title: "Temperature",
+ categories: ["Mon", "Tue", "Wed", "Thu", "Fri"],
+ series: [
+ { name: "High", values: [21, 23, 25, 24, 22] },
+ { name: "Low", values: [12, 13, 15, 14, 13] },
+ ],
+});
+```
+
+A `null` value leaves a gap in its line.
+
+## Markers and Smooth Lines
+
+A line chart can mark each point, and draw its lines as curves:
+
+- `markers: true` draws a circle at each point, as Word's "Line with Markers" does.
+- `smooth: true` draws each line as a smooth curve through its points.
+
+Both are `false` by default.
+
+```ts
+new ChartRun({
+ type: "line",
+ categories: ["Mon", "Tue", "Wed", "Thu", "Fri"],
+ series: [{ name: "High", values: [21, 23, 25, 24, 22] }],
+ markers: true,
+ smooth: true,
+});
+```
+
+## An Area Chart
+
+An area chart takes the same options as a line chart, with `type: "area"` and without `markers` and `smooth`:
+
+```ts
+new ChartRun({
+ type: "area",
+ title: "Energy mix",
+ categories: [2021, 2022, 2023, 2024, 2025],
+ series: [
+ { name: "Wind", values: [20, 24, 28, 31, 35] },
+ { name: "Solar", values: [10, 13, 17, 21, 26] },
+ { name: "Gas", values: [45, 40, 35, 30, 25] },
+ ],
+ stacking: "stacked",
+});
+```
+
+Each area reaches both sides of the chart, as in Word's and Excel's area charts. Areas that aren't stacked can hide each other, so stacking often makes an area chart clearer.
+
+## Stacking
+
+`stacking` adds each series to the ones before it, as Word's "Stacked" and "100% Stacked" charts do:
+
+| `stacking` | Draws |
+| ------------------ | ----------------------------------------------------------------------------------------- |
+| `"none"` (default) | Each series at its own values |
+| `"stacked"` | Each series on top of the ones before it, so the top line is the total |
+| `"percent"` | Each series on top of the ones before it, as percentages of the total, so the top is 100% |
+
+On a 100% stacked chart, the value axis is labelled as percentages. See [Chart Axes](usage/chart-axes.md#charts-stacked-to-100).
+
+## Options
+
+These are all the options of a line or area chart. Each links to the page that explains it.
+
+| Property | Type | Notes | Description |
+| ---------------- | -------------------------------------- | -------- | ----------------------------------------------------------------------------------------------------------- |
+| `type` | `"line"` \| `"area"` | Required | Lines, or filled areas |
+| `categories` | `(string \| number)[]` | Required | The categories, in order. See [Chart Data](usage/chart-data.md) |
+| `series` | `ChartSeries[]` | Required | `{ name, values, color? }`, with a value or `null` for each category. See [Chart Data](usage/chart-data.md) |
+| `stacking` | `"none"` \| `"stacked"` \| `"percent"` | Optional | See [Stacking](#stacking). Default `"none"` |
+| `markers` | `boolean` | Optional | Line charts: a circle at each point. Default `false` |
+| `smooth` | `boolean` | Optional | Line charts: curved lines. Default `false` |
+| `title` | `string` | Optional | See [Chart Titles and Legends](usage/chart-titles-and-legends.md) |
+| `legend` | `false` \| `ChartLegend` | Optional | See [Chart Titles and Legends](usage/chart-titles-and-legends.md) |
+| `categoryAxis` | `ChartAxis` | Optional | The axis of categories. See [Chart Axes](usage/chart-axes.md) |
+| `valueAxis` | `ChartValueAxis` | Optional | The axis of values. See [Chart Axes](usage/chart-axes.md) |
+| `dataLabels` | `ChartDataLabels` | Optional | See [Chart Data Labels](usage/chart-data-labels.md) |
+| `transformation` | `{ width, height }` | Optional | See [Chart Size and Position](usage/chart-size-and-position.md) |
+| `floating` | `IFloating` | Optional | See [Chart Size and Position](usage/chart-size-and-position.md) |
+| `altText` | `DocPropertiesOptions` | Optional | See [Chart Size and Position](usage/chart-size-and-position.md) |
diff --git a/usage/chart-pie-and-doughnut.md b/usage/chart-pie-and-doughnut.md
new file mode 100644
index 0000000000..a681efa12e
--- /dev/null
+++ b/usage/chart-pie-and-doughnut.md
@@ -0,0 +1,85 @@
+# Pie and Doughnut Charts
+
+A pie chart shows the parts of one whole as slices of a circle. A doughnut chart shows the parts of several wholes as rings, one inside the other, so they can be compared.
+
+[Charts](usage/charts.md) shows how to import `ChartRun` and add a chart to a document.
+
+## A Pie Chart
+
+```ts
+new ChartRun({
+ type: "pie",
+ title: "Market share",
+ categories: ["North", "South", "East", "West"],
+ series: [{ name: "Share", values: [40, 25, 20, 15] }],
+});
+```
+
+- Each category is a slice, and the legend shows the categories.
+- A pie chart has one series. Its values are the slices' sizes, in the order of the categories.
+- Values can't be negative. `null` leaves a slice out.
+
+The values don't need to add up to 100: each slice is its value's share of the total.
+
+## A Doughnut Chart
+
+A doughnut chart has a ring for each series. The first series is the inside ring.
+
+```ts
+new ChartRun({
+ type: "doughnut",
+ title: "Budget and spend",
+ categories: ["Staff", "Rent", "Other"],
+ series: [
+ { name: "Budget", values: [60, 25, 15] },
+ { name: "Spend", values: [65, 25, 10] },
+ ],
+ holeSize: 40,
+});
+```
+
+`holeSize` is the size of the hole, as a percentage of the doughnut's width, from `10` to `90`. The default is `50`.
+
+## Slice Colours
+
+Each slice takes the next of the theme's accent colours. `colors` gives the slices colours of their own, in the order of the categories:
+
+```ts
+series: [{ name: "Share", values: [40, 25, 20, 15], colors: ["1F4E79", "2E75B6", "9DC3E6", "BDD7EE"] }],
+```
+
+A slice without a colour, or with `undefined`, keeps the theme's colour. A category has the same colour in each ring of a doughnut, so give each ring the same `colors`. [Chart Colours](usage/chart-colors.md) explains the colours a chart can take.
+
+## Percentages on the Slices
+
+`dataLabels` puts a label on each slice. On a pie or doughnut chart, a label can show the slice's percentage of the whole:
+
+```ts
+dataLabels: { percentage: true },
+```
+
+[Chart Data Labels](usage/chart-data-labels.md) shows what else a label can show.
+
+## The First Slice
+
+The first slice starts at 12 o'clock, and the slices go clockwise. `firstSliceAngle` turns the chart, so the first slice starts that many degrees clockwise from 12 o'clock, from `0` to `360`. `firstSliceAngle: 90` starts it at 3 o'clock.
+
+## Options
+
+These are all the options of a pie or doughnut chart. Each links to the page that explains it.
+
+| Property | Type | Notes | Description |
+| ----------------- | ------------------------ | -------- | ------------------------------------------------------------------------------------------------------ |
+| `type` | `"pie"` \| `"doughnut"` | Required | A pie, or rings |
+| `categories` | `(string \| number)[]` | Required | The slices, in order. See [Chart Data](usage/chart-data.md) |
+| `series` | `PieChartSeries[]` | Required | `{ name, values, colors? }`. A pie chart has one, and a doughnut chart a ring for each |
+| `holeSize` | `number` | Optional | Doughnut charts: the hole, as a percentage of the doughnut's width, from 10 to 90. Default `50` |
+| `firstSliceAngle` | `number` | Optional | Degrees clockwise from 12 o'clock, from 0 to 360. Default `0` |
+| `dataLabels` | `PieChartDataLabels` | Optional | `{ value?, category?, seriesName?, percentage? }`. See [Chart Data Labels](usage/chart-data-labels.md) |
+| `title` | `string` | Optional | See [Chart Titles and Legends](usage/chart-titles-and-legends.md) |
+| `legend` | `false` \| `ChartLegend` | Optional | See [Chart Titles and Legends](usage/chart-titles-and-legends.md) |
+| `transformation` | `{ width, height }` | Optional | See [Chart Size and Position](usage/chart-size-and-position.md) |
+| `floating` | `IFloating` | Optional | See [Chart Size and Position](usage/chart-size-and-position.md) |
+| `altText` | `DocPropertiesOptions` | Optional | See [Chart Size and Position](usage/chart-size-and-position.md) |
+
+Pie and doughnut charts have no axes.
diff --git a/usage/chart-scatter.md b/usage/chart-scatter.md
new file mode 100644
index 0000000000..5507183d15
--- /dev/null
+++ b/usage/chart-scatter.md
@@ -0,0 +1,76 @@
+# Scatter Charts
+
+A scatter chart plots points, each with its own x and y. Use it to show how two numbers relate, such as people's heights and weights.
+
+[Charts](usage/charts.md) shows how to import `ChartRun` and add a chart to a document.
+
+## A Scatter Chart
+
+```ts
+new ChartRun({
+ type: "scatter",
+ title: "Height and weight",
+ series: [
+ {
+ name: "Group A",
+ points: [
+ { x: 150, y: 50 },
+ { x: 165, y: 61 },
+ { x: 180, y: 75 },
+ ],
+ },
+ {
+ name: "Group B",
+ points: [
+ { x: 155, y: 58 },
+ { x: 170, y: 72 },
+ ],
+ },
+ ],
+ xAxis: { title: "Height (cm)" },
+ yAxis: { title: "Weight (kg)" },
+});
+```
+
+A scatter chart has no categories. Instead, each series has its own `points`, and each point is an `{ x, y }` pair. Series can have different numbers of points.
+
+## Markers and Lines
+
+A scatter chart draws a circle at each point, and doesn't join them:
+
+- `markers: false` leaves out the circles.
+- `lines` joins each series' points, in order: `"none"` (the default), `"straight"` or `"smooth"`.
+
+A smooth line without markers draws a curve, such as a graph of a formula:
+
+```ts
+new ChartRun({
+ type: "scatter",
+ series: [{ name: "y = x²", points: [-2, -1, 0, 1, 2].map((x) => ({ x, y: x * x })) }],
+ markers: false,
+ lines: "smooth",
+});
+```
+
+## Axes
+
+A scatter chart has two value axes: `xAxis` along the bottom and `yAxis` up the left side. Each takes a title, a range and a number format, as a value axis does. See [Chart Axes](usage/chart-axes.md).
+
+## Options
+
+These are all the options of a scatter chart. Each links to the page that explains it.
+
+| Property | Type | Notes | Description |
+| ---------------- | -------------------------------------- | -------- | ---------------------------------------------------------------------------------------------- |
+| `type` | `"scatter"` | Required | |
+| `series` | `ScatterChartSeries[]` | Required | `{ name, points, color? }`, where a point is `{ x, y }`. See [Chart Data](usage/chart-data.md) |
+| `markers` | `boolean` | Optional | A circle at each point. Default `true` |
+| `lines` | `"none"` \| `"straight"` \| `"smooth"` | Optional | How the points are joined. Default `"none"` |
+| `xAxis` | `ChartValueAxis` | Optional | The horizontal axis. See [Chart Axes](usage/chart-axes.md) |
+| `yAxis` | `ChartValueAxis` | Optional | The vertical axis. See [Chart Axes](usage/chart-axes.md) |
+| `dataLabels` | `ChartDataLabels` | Optional | See [Chart Data Labels](usage/chart-data-labels.md) |
+| `title` | `string` | Optional | See [Chart Titles and Legends](usage/chart-titles-and-legends.md) |
+| `legend` | `false` \| `ChartLegend` | Optional | See [Chart Titles and Legends](usage/chart-titles-and-legends.md) |
+| `transformation` | `{ width, height }` | Optional | See [Chart Size and Position](usage/chart-size-and-position.md) |
+| `floating` | `IFloating` | Optional | See [Chart Size and Position](usage/chart-size-and-position.md) |
+| `altText` | `DocPropertiesOptions` | Optional | See [Chart Size and Position](usage/chart-size-and-position.md) |
diff --git a/usage/chart-size-and-position.md b/usage/chart-size-and-position.md
new file mode 100644
index 0000000000..3dae6c041a
--- /dev/null
+++ b/usage/chart-size-and-position.md
@@ -0,0 +1,125 @@
+# Chart Size and Position
+
+A chart is a run in a paragraph, like an image. It sits in the line of text, where the paragraph puts it, unless you make it float.
+
+## Size
+
+`transformation` is the chart's size in pixels, at 96 pixels to an inch:
+
+```ts
+new ChartRun({
+ type: "column",
+ categories: ["Q1", "Q2", "Q3", "Q4"],
+ series: [{ name: "Sales", values: [120, 135, 150, 170] }],
+ transformation: { width: 400, height: 250 },
+});
+```
+
+The default is 576 by 336 pixels, 6 by 3.5 inches, the size Word inserts a chart at. The chart's title, legend and axes are drawn at the same size whatever the chart's size, so the plot gets the space that is left.
+
+As in Word, a chart can be made wider without being made taller: its aspect ratio isn't locked.
+
+## Small Charts
+
+A chart with no title, legend or axes can be as small as a word, such as a trend beside a heading:
+
+```ts
+new Paragraph({
+ children: [
+ new TextRun("Visitors this year "),
+ new ChartRun({
+ type: "line",
+ categories: ["Jan", "Feb", "Mar", "Apr", "May", "Jun"],
+ series: [{ name: "Visitors", values: [12, 15, 14, 18, 22, 21] }],
+ legend: false,
+ categoryAxis: { visible: false },
+ valueAxis: { visible: false, gridlines: false },
+ transformation: { width: 144, height: 48 },
+ }),
+ ],
+});
+```
+
+Apple Pages doesn't draw a chart less than about half an inch (48 pixels) tall.
+
+## Floating
+
+Add `floating` to position the chart on the page instead of in the line of text, with text wrapping around it. The options are the same as for [floating images](usage/images.md#floating), and the positions and wrapping types come from `docx`:
+
+```ts
+new Paragraph({
+ children: [
+ new ChartRun({
+ type: "column",
+ categories: ["Mon", "Tue", "Wed"],
+ series: [{ name: "Orders", values: [8, 12, 9] }],
+ transformation: { width: 260, height: 180 },
+ floating: {
+ horizontalPosition: { relative: HorizontalPositionRelativeFrom.MARGIN, align: HorizontalPositionAlign.RIGHT },
+ verticalPosition: { relative: VerticalPositionRelativeFrom.PARAGRAPH, offset: 0 },
+ wrap: { type: TextWrappingType.SQUARE, side: TextWrappingSide.LEFT },
+ },
+ }),
+ new TextRun("This text wraps around the chart, which is at the right margin."),
+ ],
+});
+```
+
+## Where Charts Can Go
+
+A chart can go in any paragraph: in the body, a table cell, a header, a footer or a footnote.
+
+To put two charts side by side, put each in a cell of a table, and make each narrower than its cell:
+
+```ts
+const cell = (chart: ChartRun): TableCell => new TableCell({ children: [new Paragraph({ children: [chart] })] });
+
+new Table({
+ width: { size: 100, type: WidthType.PERCENTAGE },
+ rows: [
+ new TableRow({
+ children: [
+ cell(
+ new ChartRun({
+ type: "pie",
+ categories: ["North", "South", "East"],
+ series: [{ name: "Share", values: [50, 30, 20] }],
+ transformation: { width: 290, height: 260 },
+ }),
+ ),
+ cell(
+ new ChartRun({
+ type: "column",
+ categories: ["North", "South", "East"],
+ series: [{ name: "Sales", values: [120, 70, 45] }],
+ transformation: { width: 290, height: 260 },
+ }),
+ ),
+ ],
+ }),
+ ],
+});
+```
+
+?> `patchDocument` can't add charts yet: a chart in a patch throws an error. Add charts to a new `Document`.
+
+## Alternative Text
+
+Give a chart `altText` so screen readers can describe it:
+
+```ts
+altText: {
+ name: "Sales by quarter",
+ description: "Sales rose each quarter, from 120 units in Q1 to 170 in Q4",
+},
+```
+
+`name` is required, and `description` and `title` are optional. The description is what a screen reader reads, so say what the chart shows.
+
+## Options
+
+| Property | Type | Notes | Description |
+| ---------------- | ---------------------- | -------- | ----------------------------------------------------------------- |
+| `transformation` | `{ width, height }` | Optional | Size in pixels. Default is 576 by 336 |
+| `floating` | `IFloating` | Optional | Floats the chart. See [floating images](usage/images.md#floating) |
+| `altText` | `DocPropertiesOptions` | Optional | `{ name, description?, title? }` for screen readers |
diff --git a/usage/chart-titles-and-legends.md b/usage/chart-titles-and-legends.md
new file mode 100644
index 0000000000..d07b1ca4dc
--- /dev/null
+++ b/usage/chart-titles-and-legends.md
@@ -0,0 +1,55 @@
+# Chart Titles and Legends
+
+A chart's title says what it shows, and its legend says which colour is which series.
+
+## Title
+
+`title` is written above the chart. There is no title by default.
+
+```ts
+new ChartRun({
+ type: "column",
+ title: "Sales by quarter",
+ categories: ["Q1", "Q2", "Q3", "Q4"],
+ series: [{ name: "Sales", values: [120, 135, 150, 170] }],
+});
+```
+
+Each line of the text is a line of the title, so `"Sales by quarter\n2024"` is a title of two lines.
+
+## Legend
+
+The legend is below the chart by default. It shows each series' name, or on a pie or doughnut chart, each category's.
+
+`legend` moves it, with a `position`:
+
+| `position` | Where the legend is |
+| -------------------- | -------------------------------- |
+| `"bottom"` (default) | Below the chart |
+| `"top"` | Above the chart, below its title |
+| `"left"` | To the left of the chart |
+| `"right"` | To the right of the chart |
+| `"topRight"` | In the top right corner |
+
+```ts
+legend: { position: "right" },
+```
+
+`legend: false` leaves out the legend. A chart with one series often doesn't need one, as its title can say what the series is:
+
+```ts
+new ChartRun({
+ type: "column",
+ title: "Orders",
+ categories: ["Mon", "Tue", "Wed"],
+ series: [{ name: "Orders", values: [8, 12, 9] }],
+ legend: false,
+});
+```
+
+## Options
+
+| Property | Type | Notes | Description |
+| -------- | ------------------------ | -------- | ------------------------------------------------------------------------------ |
+| `title` | `string` | Optional | The title, above the chart. Each line is a line of the title. Default none |
+| `legend` | `false` \| `ChartLegend` | Optional | `{ position? }`, or `false` for no legend. Default is a legend below the chart |
diff --git a/usage/charts.md b/usage/charts.md
new file mode 100644
index 0000000000..269e49d573
--- /dev/null
+++ b/usage/charts.md
@@ -0,0 +1,114 @@
+# Charts
+
+!> Charts require an understanding of [Paragraphs](usage/paragraph.md).
+
+Charts are native Word charts. Word draws each one from its data, in the document's theme, just as it draws a chart made with **Insert > Chart**. **Edit Data** in Word opens the chart's data in Excel.
+
+Like an image, a chart is a run inside a `Paragraph`.
+
+## Your First Chart
+
+```ts
+import * as fs from "fs";
+import { Document, Packer, Paragraph } from "docx";
+import { ChartRun } from "docx/charts";
+
+const doc = new Document({
+ sections: [
+ {
+ children: [
+ new Paragraph({
+ children: [
+ new ChartRun({
+ type: "column",
+ title: "Sales",
+ categories: ["Jan", "Feb", "Mar"],
+ series: [
+ { name: "2024", values: [10, 20, 30] },
+ { name: "2025", values: [15, 25, null] },
+ ],
+ }),
+ ],
+ }),
+ ],
+ },
+ ],
+});
+
+Packer.toBuffer(doc).then((buffer) => {
+ fs.writeFileSync("My Document.docx", buffer);
+});
+```
+
+This draws a column chart with a column for each year in each month, and a legend below it:
+
+- `type` is the kind of chart. See [Chart Types](#chart-types).
+- `categories` are the labels along the bottom: one group of columns for each.
+- `series` are the sets of values. Each has a `name`, which the legend shows, and one value for each category, in order.
+- `null` leaves a gap, so there is no 2025 column for March.
+
+Every chart needs a `type` and its `series`, and every type but a scatter chart needs `categories`. All the other options are optional.
+
+## Chart Types
+
+`type` is the name Word gives the chart in **Insert > Chart**. Each page shows a chart type's own options, such as stacking for column charts and markers for line charts.
+
+| Type | Draws | Use it to | Page |
+| ------------ | --------------------------------- | --------------------------------------- | ---------------------------------------------------------- |
+| `"column"` | Vertical bars | Compare values across categories | [Column and Bar Charts](usage/chart-column-and-bar.md) |
+| `"bar"` | Horizontal bars | Compare values with long category names | [Column and Bar Charts](usage/chart-column-and-bar.md) |
+| `"line"` | A line for each series | Show a trend over time | [Line and Area Charts](usage/chart-line-and-area.md) |
+| `"area"` | A filled area for each series | Show a trend, and how the parts add up | [Line and Area Charts](usage/chart-line-and-area.md) |
+| `"pie"` | Slices of a circle | Show the parts of one whole | [Pie and Doughnut Charts](usage/chart-pie-and-doughnut.md) |
+| `"doughnut"` | A ring of slices for each series | Compare the parts of several wholes | [Pie and Doughnut Charts](usage/chart-pie-and-doughnut.md) |
+| `"scatter"` | Points, each with its own x and y | Show how two numbers relate | [Scatter Charts](usage/chart-scatter.md) |
+
+## Common Use Cases
+
+| I want to... | Use | Page |
+| -------------------------------------------- | --------------------------------------------- | ------------------------------------------------------------- |
+| Give a chart its data | `categories` and `series` | [Chart Data](usage/chart-data.md) |
+| Change a series' colour | `color`, such as `"1F4E79"` or a theme colour | [Chart Colours](usage/chart-colors.md) |
+| Add a title, or move or hide the legend | `title` and `legend` | [Chart Titles and Legends](usage/chart-titles-and-legends.md) |
+| Name an axis, or set its range or its format | `categoryAxis` and `valueAxis` | [Chart Axes](usage/chart-axes.md) |
+| Show the numbers on the chart | `dataLabels` | [Chart Data Labels](usage/chart-data-labels.md) |
+| Make a chart bigger or smaller | `transformation` | [Chart Size and Position](usage/chart-size-and-position.md) |
+| Float a chart beside its text | `floating` | [Chart Size and Position](usage/chart-size-and-position.md) |
+| Put a chart in a table, header or footer | A `Paragraph` with the chart in it | [Chart Size and Position](usage/chart-size-and-position.md) |
+| Describe a chart for screen readers | `altText` | [Chart Size and Position](usage/chart-size-and-position.md) |
+| Know how a chart looks in other applications | | [Chart Compatibility](usage/chart-compatibility.md) |
+
+## Importing
+
+Charts come with the `docx` package. Import them from `docx/charts`, and everything else, such as the document and its paragraphs, from `docx`:
+
+```ts
+import { Document, Packer, Paragraph } from "docx";
+import { ChartRun } from "docx/charts";
+```
+
+Types such as `ChartRunOptions` and `ChartSeries` come from `docx/charts` too.
+
+In a page without a bundler, load the charts after `docx`: `dist/charts.umd.cjs` after `dist/index.umd.cjs`, or `dist/charts.iife.js` after `dist/index.iife.js`. They add a `docxCharts` global next to the `docx` one:
+
+```html
+
+
+
+```
+
+## Mistakes
+
+`new ChartRun(...)` throws an error when an option is wrong, such as a series with more values than there are categories. The error says what is wrong, and it is thrown where the chart is made, not when the document is opened. [Chart Data](usage/chart-data.md#mistakes) lists the mistakes.
+
+## Examples
+
+### Charts
+
+One chart of each type, with a small chart in the header, two charts in a table and one floating beside its text.
+
+[Example](https://raw.githubusercontent.com/dolanmiu/docx/master/demo/121-charts.ts ":include")
+
+_Source: https://github.com/dolanmiu/docx/blob/master/demo/121-charts.ts_
Represents a chart in a WordprocessingML document: a column, bar, line, area, pie, doughnut or scatter chart, drawn +by Word from its data in the document's theme, as a chart made with Word's Insert Chart is.
+The chart is a part of its own (
+word/charts/chart1.xml), with its data in an embedded workbook, so Word's "Edit +Data" opens it in Excel. It sits inline with text unlessfloatingis set, and goes in a paragraph, including in a +table, header, footer or footnote.Reference: http://officeopenxml.com/drwOverview.php
+Public Api
Example
+ +