[{"data":1,"prerenderedAt":1728},["ShallowReactive",2],{"navigation_docs_en":3,"-en-core-charts":335,"-en-core-charts-surround":1723},[4,31,61,91,175,256],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":30},"Getting Started","i-lucide-rocket","\u002Fen\u002Fgetting-started","en\u002F01.getting-started",[10,14,18,22,26],{"title":11,"path":12,"stem":13},"Introduction","\u002Fen\u002Fgetting-started\u002Fintroduction","en\u002F01.getting-started\u002F01.introduction",{"title":15,"path":16,"stem":17},"Installation","\u002Fen\u002Fgetting-started\u002Finstallation","en\u002F01.getting-started\u002F02.installation",{"title":19,"path":20,"stem":21},"Command Line Interface (CLI)","\u002Fen\u002Fgetting-started\u002Fcommand-line-interface","en\u002F01.getting-started\u002F03.command-line-interface",{"title":23,"path":24,"stem":25},"AI Tools","\u002Fen\u002Fgetting-started\u002Fai-tools","en\u002F01.getting-started\u002F04.ai-tools",{"title":27,"path":28,"stem":29},"AI Integration","\u002Fen\u002Fgetting-started\u002Fai-integration","en\u002F01.getting-started\u002F05.ai-integration",false,{"title":32,"icon":33,"path":34,"stem":35,"children":36,"page":30},"CORE","i-lucide-box","\u002Fen\u002Fcore","en\u002F02.core",[37,41,45,49,53,57],{"title":38,"path":39,"stem":40},"@office-open\u002Fcore","\u002Fen\u002Fcore\u002Foverview","en\u002F02.core\u002F01.overview",{"title":42,"path":43,"stem":44},"Descriptor System","\u002Fen\u002Fcore\u002Fdescriptors","en\u002F02.core\u002F02.descriptors",{"title":46,"path":47,"stem":48},"Values and Validation","\u002Fen\u002Fcore\u002Fvalues","en\u002F02.core\u002F03.values",{"title":50,"path":51,"stem":52},"Unit Converters","\u002Fen\u002Fcore\u002Fconverters","en\u002F02.core\u002F04.converters",{"title":54,"path":55,"stem":56},"Charts","\u002Fen\u002Fcore\u002Fcharts","en\u002F02.core\u002F05.charts",{"title":58,"path":59,"stem":60},"Parser","\u002Fen\u002Fcore\u002Fparser","en\u002F02.core\u002F06.parser",{"title":62,"icon":63,"path":64,"stem":65,"children":66,"page":30},"XML","i-lucide-code-xml","\u002Fen\u002Fxml","en\u002F03.xml",[67,71,75,79,83,87],{"title":68,"path":69,"stem":70},"@office-open\u002Fxml","\u002Fen\u002Fxml\u002Foverview","en\u002F03.xml\u002F01.overview",{"title":72,"path":73,"stem":74},"Parsing","\u002Fen\u002Fxml\u002Fparsing","en\u002F03.xml\u002F02.parsing",{"title":76,"path":77,"stem":78},"Serialization","\u002Fen\u002Fxml\u002Fserialization","en\u002F03.xml\u002F03.serialization",{"title":80,"path":81,"stem":82},"Query Utilities","\u002Fen\u002Fxml\u002Fquery-utilities","en\u002F03.xml\u002F04.query-utilities",{"title":84,"path":85,"stem":86},"XML Escape","\u002Fen\u002Fxml\u002Fescape","en\u002F03.xml\u002F05.escape",{"title":88,"path":89,"stem":90},"Type Reference","\u002Fen\u002Fxml\u002Ftypes","en\u002F03.xml\u002F06.types",{"title":92,"icon":93,"path":94,"stem":95,"children":96,"page":30},"DOCX","i-lucide-file-text","\u002Fen\u002Fdocx","en\u002F04.docx",[97,101,105,109,113,117,121,124,128,132,136,140,144,148,152,156,160,164,168,171],{"title":98,"path":99,"stem":100},"@office-open\u002Fdocx","\u002Fen\u002Fdocx\u002Foverview","en\u002F04.docx\u002F01.overview",{"title":102,"path":103,"stem":104},"Quick Start","\u002Fen\u002Fdocx\u002Fquickstart","en\u002F04.docx\u002F02.quickstart",{"title":106,"path":107,"stem":108},"Text and Paragraphs","\u002Fen\u002Fdocx\u002Ftext-and-paragraphs","en\u002F04.docx\u002F03.text-and-paragraphs",{"title":110,"path":111,"stem":112},"Tables","\u002Fen\u002Fdocx\u002Ftables","en\u002F04.docx\u002F04.tables",{"title":114,"path":115,"stem":116},"Images","\u002Fen\u002Fdocx\u002Fimages","en\u002F04.docx\u002F05.images",{"title":118,"path":119,"stem":120},"Text Boxes","\u002Fen\u002Fdocx\u002Ftextbox","en\u002F04.docx\u002F06.textbox",{"title":54,"path":122,"stem":123},"\u002Fen\u002Fdocx\u002Fcharts","en\u002F04.docx\u002F07.charts",{"title":125,"path":126,"stem":127},"SmartArt","\u002Fen\u002Fdocx\u002Fsmartart","en\u002F04.docx\u002F08.smartart",{"title":129,"path":130,"stem":131},"Media","\u002Fen\u002Fdocx\u002Fmedia","en\u002F04.docx\u002F09.media",{"title":133,"path":134,"stem":135},"Links","\u002Fen\u002Fdocx\u002Flinks","en\u002F04.docx\u002F10.links",{"title":137,"path":138,"stem":139},"Headers and Footers","\u002Fen\u002Fdocx\u002Fheaders-and-footers","en\u002F04.docx\u002F11.headers-and-footers",{"title":141,"path":142,"stem":143},"Equations and Symbols","\u002Fen\u002Fdocx\u002Fequations-and-symbols","en\u002F04.docx\u002F12.equations-and-symbols",{"title":145,"path":146,"stem":147},"Styles and Themes","\u002Fen\u002Fdocx\u002Fstyles-and-themes","en\u002F04.docx\u002F13.styles-and-themes",{"title":149,"path":150,"stem":151},"Page Layout","\u002Fen\u002Fdocx\u002Fpage-layout","en\u002F04.docx\u002F14.page-layout",{"title":153,"path":154,"stem":155},"References","\u002Fen\u002Fdocx\u002Freferences","en\u002F04.docx\u002F15.references",{"title":157,"path":158,"stem":159},"Comments and Revisions","\u002Fen\u002Fdocx\u002Fcomments-and-revisions","en\u002F04.docx\u002F16.comments-and-revisions",{"title":161,"path":162,"stem":163},"Document Properties","\u002Fen\u002Fdocx\u002Fproperties","en\u002F04.docx\u002F17.properties",{"title":165,"path":166,"stem":167},"Export","\u002Fen\u002Fdocx\u002Fexport","en\u002F04.docx\u002F18.export",{"title":72,"path":169,"stem":170},"\u002Fen\u002Fdocx\u002Fparsing","en\u002F04.docx\u002F19.parsing",{"title":172,"path":173,"stem":174},"Patching","\u002Fen\u002Fdocx\u002Fpatch","en\u002F04.docx\u002F20.patch",{"title":176,"icon":177,"path":178,"stem":179,"children":180,"page":30},"PPTX","i-lucide-presentation","\u002Fen\u002Fpptx","en\u002F05.pptx",[181,185,188,192,195,198,201,204,207,210,214,217,220,224,227,231,235,239,243,247,250,253],{"title":182,"path":183,"stem":184},"@office-open\u002Fpptx","\u002Fen\u002Fpptx\u002Foverview","en\u002F05.pptx\u002F01.overview",{"title":102,"path":186,"stem":187},"\u002Fen\u002Fpptx\u002Fquickstart","en\u002F05.pptx\u002F02.quickstart",{"title":189,"path":190,"stem":191},"Shapes and Text","\u002Fen\u002Fpptx\u002Fshapes-and-text","en\u002F05.pptx\u002F03.shapes-and-text",{"title":110,"path":193,"stem":194},"\u002Fen\u002Fpptx\u002Ftables","en\u002F05.pptx\u002F04.tables",{"title":114,"path":196,"stem":197},"\u002Fen\u002Fpptx\u002Fimages","en\u002F05.pptx\u002F05.images",{"title":54,"path":199,"stem":200},"\u002Fen\u002Fpptx\u002Fcharts","en\u002F05.pptx\u002F06.charts",{"title":125,"path":202,"stem":203},"\u002Fen\u002Fpptx\u002Fsmartart","en\u002F05.pptx\u002F07.smartart",{"title":129,"path":205,"stem":206},"\u002Fen\u002Fpptx\u002Fmedia","en\u002F05.pptx\u002F08.media",{"title":133,"path":208,"stem":209},"\u002Fen\u002Fpptx\u002Flinks","en\u002F05.pptx\u002F09.links",{"title":211,"path":212,"stem":213},"Lines and Connectors","\u002Fen\u002Fpptx\u002Flines-and-connectors","en\u002F05.pptx\u002F10.lines-and-connectors",{"title":137,"path":215,"stem":216},"\u002Fen\u002Fpptx\u002Fheaders-and-footers","en\u002F05.pptx\u002F11.headers-and-footers",{"title":141,"path":218,"stem":219},"\u002Fen\u002Fpptx\u002Fequations-and-symbols","en\u002F05.pptx\u002F12.equations-and-symbols",{"title":221,"path":222,"stem":223},"Slide Layout","\u002Fen\u002Fpptx\u002Fslide-layout","en\u002F05.pptx\u002F13.slide-layout",{"title":145,"path":225,"stem":226},"\u002Fen\u002Fpptx\u002Fstyles-and-themes","en\u002F05.pptx\u002F14.styles-and-themes",{"title":228,"path":229,"stem":230},"Effects and Fills","\u002Fen\u002Fpptx\u002Feffects-and-fills","en\u002F05.pptx\u002F15.effects-and-fills",{"title":232,"path":233,"stem":234},"Transitions","\u002Fen\u002Fpptx\u002Ftransitions","en\u002F05.pptx\u002F16.transitions",{"title":236,"path":237,"stem":238},"Animations","\u002Fen\u002Fpptx\u002Fanimations","en\u002F05.pptx\u002F17.animations",{"title":240,"path":241,"stem":242},"Comments","\u002Fen\u002Fpptx\u002Fcomments","en\u002F05.pptx\u002F18.comments",{"title":244,"path":245,"stem":246},"Presentation Properties","\u002Fen\u002Fpptx\u002Fproperties","en\u002F05.pptx\u002F19.properties",{"title":165,"path":248,"stem":249},"\u002Fen\u002Fpptx\u002Fexport","en\u002F05.pptx\u002F20.export",{"title":72,"path":251,"stem":252},"\u002Fen\u002Fpptx\u002Fparsing","en\u002F05.pptx\u002F21.parsing",{"title":172,"path":254,"stem":255},"\u002Fen\u002Fpptx\u002Fpatch","en\u002F05.pptx\u002F22.patch",{"title":257,"icon":258,"path":259,"stem":260,"children":261,"page":30},"XLSX","i-lucide-table-2","\u002Fen\u002Fxlsx","en\u002F06.xlsx",[262,266,269,273,277,281,285,289,292,295,299,303,307,311,314,318,322,326,329,332],{"title":263,"path":264,"stem":265},"@office-open\u002Fxlsx","\u002Fen\u002Fxlsx\u002Foverview","en\u002F06.xlsx\u002F01.overview",{"title":102,"path":267,"stem":268},"\u002Fen\u002Fxlsx\u002Fquickstart","en\u002F06.xlsx\u002F02.quickstart",{"title":270,"path":271,"stem":272},"Cells & Data","\u002Fen\u002Fxlsx\u002Fcells","en\u002F06.xlsx\u002F03.cells",{"title":274,"path":275,"stem":276},"Styles","\u002Fen\u002Fxlsx\u002Fstyles","en\u002F06.xlsx\u002F04.styles",{"title":278,"path":279,"stem":280},"Merge, Columns & Rows","\u002Fen\u002Fxlsx\u002Fmerge-col-row","en\u002F06.xlsx\u002F05.merge-col-row",{"title":282,"path":283,"stem":284},"Hyperlinks","\u002Fen\u002Fxlsx\u002Flinks","en\u002F06.xlsx\u002F06.links",{"title":286,"path":287,"stem":288},"Pivot Tables","\u002Fen\u002Fxlsx\u002Fpivot-tables","en\u002F06.xlsx\u002F07.pivot-tables",{"title":114,"path":290,"stem":291},"\u002Fen\u002Fxlsx\u002Fimages","en\u002F06.xlsx\u002F08.images",{"title":54,"path":293,"stem":294},"\u002Fen\u002Fxlsx\u002Fcharts","en\u002F06.xlsx\u002F09.charts",{"title":296,"path":297,"stem":298},"Page Setup & Headers\u002FFooters","\u002Fen\u002Fxlsx\u002Fpage-setup","en\u002F06.xlsx\u002F10.page-setup",{"title":300,"path":301,"stem":302},"Formulas","\u002Fen\u002Fxlsx\u002Fformulas","en\u002F06.xlsx\u002F11.formulas",{"title":304,"path":305,"stem":306},"Freeze Panes & Auto Filter","\u002Fen\u002Fxlsx\u002Ffreeze-filter","en\u002F06.xlsx\u002F12.freeze-filter",{"title":308,"path":309,"stem":310},"Data Validation","\u002Fen\u002Fxlsx\u002Fvalidation","en\u002F06.xlsx\u002F13.validation",{"title":240,"path":312,"stem":313},"\u002Fen\u002Fxlsx\u002Fcomments","en\u002F06.xlsx\u002F14.comments",{"title":315,"path":316,"stem":317},"Protection","\u002Fen\u002Fxlsx\u002Fprotection","en\u002F06.xlsx\u002F15.protection",{"title":319,"path":320,"stem":321},"Shared Workbook Revisions","\u002Fen\u002Fxlsx\u002Frevisions","en\u002F06.xlsx\u002F16.revisions",{"title":323,"path":324,"stem":325},"Workbook Properties","\u002Fen\u002Fxlsx\u002Fproperties","en\u002F06.xlsx\u002F17.properties",{"title":165,"path":327,"stem":328},"\u002Fen\u002Fxlsx\u002Fexport","en\u002F06.xlsx\u002F18.export",{"title":72,"path":330,"stem":331},"\u002Fen\u002Fxlsx\u002Fparsing","en\u002F06.xlsx\u002F19.parsing",{"title":172,"path":333,"stem":334},"\u002Fen\u002Fxlsx\u002Fpatch","en\u002F06.xlsx\u002F20.patch",{"id":336,"title":54,"body":337,"description":1717,"extension":1718,"links":1719,"meta":1720,"navigation":627,"path":55,"seo":1721,"stem":56,"__hash__":1722},"docs_en\u002Fen\u002F02.core\u002F05.charts.md",{"type":338,"value":339,"toc":1701},"minimark",[340,365,370,377,560,567,570,575,807,812,933,936,949,1073,1076,1085,1184,1187,1230,1234,1240,1351,1354,1442,1449,1503,1509,1537,1541,1552,1556,1559,1676,1680,1683,1698],[341,342,343,346,347,349,350,352,353,356,357,360,361,364],"p",{},[344,345,38],"code",{}," provides chart components shared by ",[344,348,98],{}," and ",[344,351,182],{},". Charts are defined using ",[344,354,355],{},"ChartSpaceOptions"," and serialized via ",[344,358,359],{},"chartSpaceDesc",". Chart data is collected through ",[344,362,363],{},"ChartCollection",".",[366,367,369],"h2",{"id":368},"chart-types","Chart Types",[341,371,372,373,376],{},"The ",[344,374,375],{},"type"," property selects the chart kind:",[378,379,380,396],"table",{},[381,382,383],"thead",{},[384,385,386,390,393],"tr",{},[387,388,389],"th",{},"Type",[387,391,392],{},"Value",[387,394,395],{},"Description",[397,398,399,413,426,439,452,465,478,491,504,517,530,543],"tbody",{},[384,400,401,405,410],{},[402,403,404],"td",{},"Column",[402,406,407],{},[344,408,409],{},"\"column\"",[402,411,412],{},"Vertical bars",[384,414,415,418,423],{},[402,416,417],{},"Bar",[402,419,420],{},[344,421,422],{},"\"bar\"",[402,424,425],{},"Horizontal bars",[384,427,428,431,436],{},[402,429,430],{},"Line",[402,432,433],{},[344,434,435],{},"\"line\"",[402,437,438],{},"Line series with optional markers",[384,440,441,444,449],{},[402,442,443],{},"Pie",[402,445,446],{},[344,447,448],{},"\"pie\"",[402,450,451],{},"Pie chart",[384,453,454,457,462],{},[402,455,456],{},"Area",[402,458,459],{},[344,460,461],{},"\"area\"",[402,463,464],{},"Filled area series",[384,466,467,470,475],{},[402,468,469],{},"Scatter",[402,471,472],{},[344,473,474],{},"\"scatter\"",[402,476,477],{},"XY scatter plot",[384,479,480,483,488],{},[402,481,482],{},"Doughnut",[402,484,485],{},[344,486,487],{},"\"doughnut\"",[402,489,490],{},"Doughnut \u002F ring chart",[384,492,493,496,501],{},[402,494,495],{},"Radar",[402,497,498],{},[344,499,500],{},"\"radar\"",[402,502,503],{},"Radar \u002F spider chart",[384,505,506,509,514],{},[402,507,508],{},"Bubble",[402,510,511],{},[344,512,513],{},"\"bubble\"",[402,515,516],{},"Bubble chart (requires xValues\u002FyValues\u002FbubbleSize)",[384,518,519,522,527],{},[402,520,521],{},"Stock",[402,523,524],{},[344,525,526],{},"\"stock\"",[402,528,529],{},"Stock chart (high-low-close)",[384,531,532,535,540],{},[402,533,534],{},"Surface",[402,536,537],{},[344,538,539],{},"\"surface\"",[402,541,542],{},"3D surface chart",[384,544,545,548,553],{},[402,546,547],{},"OfPie",[402,549,550],{},[344,551,552],{},"\"ofPie\"",[402,554,555,556,559],{},"Pie-of-pie \u002F bar-of-pie (see ",[344,557,558],{},"ofPieType",")",[341,561,562,563,566],{},"Set ",[344,564,565],{},"threeD: true"," to render column, bar, line, pie, or area as 3D variants.",[366,568,355],{"id":569},"chartspaceoptions",[341,571,572,574],{},[344,573,355],{}," is the options interface for a chart. It specifies the chart type, title, axes, and data:",[576,577,582],"pre",{"className":578,"code":579,"language":580,"meta":581,"style":581},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import type { ChartSpaceOptions } from \"@office-open\u002Fcore\";\n\nconst chartOptions: ChartSpaceOptions = {\n  title: \"Revenue\",\n  type: \"bar\",\n  categories: [\"Q1\", \"Q2\", \"Q3\", \"Q4\"],\n  series: [{ name: \"2024\", values: [10, 20, 30, 40] }],\n};\n","ts","",[344,583,584,622,629,651,670,687,738,801],{"__ignoreMap":581},[585,586,589,593,596,600,604,607,610,613,616,619],"span",{"class":587,"line":588},"line",1,[585,590,592],{"class":591},"s7zQu","import",[585,594,595],{"class":591}," type",[585,597,599],{"class":598},"sMK4o"," {",[585,601,603],{"class":602},"sTEyZ"," ChartSpaceOptions",[585,605,606],{"class":598}," }",[585,608,609],{"class":591}," from",[585,611,612],{"class":598}," \"",[585,614,38],{"class":615},"sfazB",[585,617,618],{"class":598},"\"",[585,620,621],{"class":598},";\n",[585,623,625],{"class":587,"line":624},2,[585,626,628],{"emptyLinePlaceholder":627},true,"\n",[585,630,632,636,639,642,645,648],{"class":587,"line":631},3,[585,633,635],{"class":634},"spNyl","const",[585,637,638],{"class":602}," chartOptions",[585,640,641],{"class":598},":",[585,643,603],{"class":644},"sBMFI",[585,646,647],{"class":598}," =",[585,649,650],{"class":598}," {\n",[585,652,654,658,660,662,665,667],{"class":587,"line":653},4,[585,655,657],{"class":656},"swJcz","  title",[585,659,641],{"class":598},[585,661,612],{"class":598},[585,663,664],{"class":615},"Revenue",[585,666,618],{"class":598},[585,668,669],{"class":598},",\n",[585,671,673,676,678,680,683,685],{"class":587,"line":672},5,[585,674,675],{"class":656},"  type",[585,677,641],{"class":598},[585,679,612],{"class":598},[585,681,682],{"class":615},"bar",[585,684,618],{"class":598},[585,686,669],{"class":598},[585,688,690,693,695,698,700,703,705,708,710,713,715,717,719,722,724,726,728,731,733,736],{"class":587,"line":689},6,[585,691,692],{"class":656},"  categories",[585,694,641],{"class":598},[585,696,697],{"class":602}," [",[585,699,618],{"class":598},[585,701,702],{"class":615},"Q1",[585,704,618],{"class":598},[585,706,707],{"class":598},",",[585,709,612],{"class":598},[585,711,712],{"class":615},"Q2",[585,714,618],{"class":598},[585,716,707],{"class":598},[585,718,612],{"class":598},[585,720,721],{"class":615},"Q3",[585,723,618],{"class":598},[585,725,707],{"class":598},[585,727,612],{"class":598},[585,729,730],{"class":615},"Q4",[585,732,618],{"class":598},[585,734,735],{"class":602},"]",[585,737,669],{"class":598},[585,739,741,744,746,748,751,754,756,758,761,763,765,768,770,772,776,778,781,783,786,788,791,794,797,799],{"class":587,"line":740},7,[585,742,743],{"class":656},"  series",[585,745,641],{"class":598},[585,747,697],{"class":602},[585,749,750],{"class":598},"{",[585,752,753],{"class":656}," name",[585,755,641],{"class":598},[585,757,612],{"class":598},[585,759,760],{"class":615},"2024",[585,762,618],{"class":598},[585,764,707],{"class":598},[585,766,767],{"class":656}," values",[585,769,641],{"class":598},[585,771,697],{"class":602},[585,773,775],{"class":774},"sbssI","10",[585,777,707],{"class":598},[585,779,780],{"class":774}," 20",[585,782,707],{"class":598},[585,784,785],{"class":774}," 30",[585,787,707],{"class":598},[585,789,790],{"class":774}," 40",[585,792,793],{"class":602},"] ",[585,795,796],{"class":598},"}",[585,798,735],{"class":602},[585,800,669],{"class":598},[585,802,804],{"class":587,"line":803},8,[585,805,806],{"class":598},"};\n",[808,809,811],"h3",{"id":810},"options","Options",[378,813,814,825],{},[381,815,816],{},[384,817,818,821,823],{},[387,819,820],{},"Option",[387,822,389],{},[387,824,395],{},[397,826,827,841,856,871,886,904,919],{},[384,828,829,833,838],{},[402,830,831],{},[344,832,375],{},[402,834,835],{},[344,836,837],{},"ChartType",[402,839,840],{},"Chart type string (see above)",[384,842,843,848,853],{},[402,844,845],{},[344,846,847],{},"categories",[402,849,850],{},[344,851,852],{},"string[]",[402,854,855],{},"Category labels",[384,857,858,863,868],{},[402,859,860],{},[344,861,862],{},"series",[402,864,865],{},[344,866,867],{},"ChartSeriesData[] | ScatterSeriesData[]",[402,869,870],{},"Series data",[384,872,873,878,883],{},[402,874,875],{},[344,876,877],{},"title",[402,879,880],{},[344,881,882],{},"string",[402,884,885],{},"Chart title",[384,887,888,893,898],{},[402,889,890],{},[344,891,892],{},"showLegend",[402,894,895],{},[344,896,897],{},"boolean",[402,899,900,901,559],{},"Show legend (default: ",[344,902,903],{},"true",[384,905,906,911,916],{},[402,907,908],{},[344,909,910],{},"style",[402,912,913],{},[344,914,915],{},"number",[402,917,918],{},"Style preset (2–48)",[384,920,921,926,930],{},[402,922,923],{},[344,924,925],{},"threeD",[402,927,928],{},[344,929,897],{},[402,931,932],{},"Enable 3D rendering",[366,934,359],{"id":935},"chartspacedesc",[341,937,938,940,941,944,945,948],{},[344,939,359],{}," is the ",[344,942,943],{},"CustomDescriptor\u003CChartSpaceOptions>"," that handles serialization and parsing of chart XML (",[344,946,947],{},"c:chartSpace","). It is used internally by the docx and pptx packages:",[576,950,952],{"className":578,"code":951,"language":580,"meta":581,"style":581},"import { chartSpaceDesc } from \"@office-open\u002Fcore\";\nimport { stringify, parse } from \"@office-open\u002Fcore\u002Fdescriptor\";\n\n\u002F\u002F Serialize chart options to XML\nconst xml = stringify(chartSpaceDesc, chartOptions, writeCtx);\n\n\u002F\u002F Parse chart XML back to options\nconst options = parse(chartSpaceDesc, chartElement, readCtx);\n",[344,953,954,975,1002,1006,1012,1039,1043,1048],{"__ignoreMap":581},[585,955,956,958,960,963,965,967,969,971,973],{"class":587,"line":588},[585,957,592],{"class":591},[585,959,599],{"class":598},[585,961,962],{"class":602}," chartSpaceDesc",[585,964,606],{"class":598},[585,966,609],{"class":591},[585,968,612],{"class":598},[585,970,38],{"class":615},[585,972,618],{"class":598},[585,974,621],{"class":598},[585,976,977,979,981,984,986,989,991,993,995,998,1000],{"class":587,"line":624},[585,978,592],{"class":591},[585,980,599],{"class":598},[585,982,983],{"class":602}," stringify",[585,985,707],{"class":598},[585,987,988],{"class":602}," parse",[585,990,606],{"class":598},[585,992,609],{"class":591},[585,994,612],{"class":598},[585,996,997],{"class":615},"@office-open\u002Fcore\u002Fdescriptor",[585,999,618],{"class":598},[585,1001,621],{"class":598},[585,1003,1004],{"class":587,"line":631},[585,1005,628],{"emptyLinePlaceholder":627},[585,1007,1008],{"class":587,"line":653},[585,1009,1011],{"class":1010},"sHwdD","\u002F\u002F Serialize chart options to XML\n",[585,1013,1014,1016,1019,1022,1025,1028,1030,1032,1034,1037],{"class":587,"line":672},[585,1015,635],{"class":634},[585,1017,1018],{"class":602}," xml ",[585,1020,1021],{"class":598},"=",[585,1023,983],{"class":1024},"s2Zo4",[585,1026,1027],{"class":602},"(chartSpaceDesc",[585,1029,707],{"class":598},[585,1031,638],{"class":602},[585,1033,707],{"class":598},[585,1035,1036],{"class":602}," writeCtx)",[585,1038,621],{"class":598},[585,1040,1041],{"class":587,"line":689},[585,1042,628],{"emptyLinePlaceholder":627},[585,1044,1045],{"class":587,"line":740},[585,1046,1047],{"class":1010},"\u002F\u002F Parse chart XML back to options\n",[585,1049,1050,1052,1055,1057,1059,1061,1063,1066,1068,1071],{"class":587,"line":803},[585,1051,635],{"class":634},[585,1053,1054],{"class":602}," options ",[585,1056,1021],{"class":598},[585,1058,988],{"class":1024},[585,1060,1027],{"class":602},[585,1062,707],{"class":598},[585,1064,1065],{"class":602}," chartElement",[585,1067,707],{"class":598},[585,1069,1070],{"class":602}," readCtx)",[585,1072,621],{"class":598},[366,1074,363],{"id":1075},"chartcollection",[341,1077,1078,1080,1081,1084],{},[344,1079,363],{}," manages multiple charts within a document or presentation. It stores ",[344,1082,1083],{},"ChartData"," entries keyed by ID:",[576,1086,1088],{"className":578,"code":1087,"language":580,"meta":581,"style":581},"import { ChartCollection } from \"@office-open\u002Fcore\";\n\nconst charts = new ChartCollection();\ncharts.addChart(\"chart1\", { key: \"chart1\", chartSpaceXml: xml });\n",[344,1089,1090,1111,1115,1134],{"__ignoreMap":581},[585,1091,1092,1094,1096,1099,1101,1103,1105,1107,1109],{"class":587,"line":588},[585,1093,592],{"class":591},[585,1095,599],{"class":598},[585,1097,1098],{"class":602}," ChartCollection",[585,1100,606],{"class":598},[585,1102,609],{"class":591},[585,1104,612],{"class":598},[585,1106,38],{"class":615},[585,1108,618],{"class":598},[585,1110,621],{"class":598},[585,1112,1113],{"class":587,"line":624},[585,1114,628],{"emptyLinePlaceholder":627},[585,1116,1117,1119,1122,1124,1127,1129,1132],{"class":587,"line":631},[585,1118,635],{"class":634},[585,1120,1121],{"class":602}," charts ",[585,1123,1021],{"class":598},[585,1125,1126],{"class":598}," new",[585,1128,1098],{"class":1024},[585,1130,1131],{"class":602},"()",[585,1133,621],{"class":598},[585,1135,1136,1139,1141,1144,1147,1149,1152,1154,1156,1158,1161,1163,1165,1167,1169,1171,1174,1176,1178,1180,1182],{"class":587,"line":653},[585,1137,1138],{"class":602},"charts",[585,1140,364],{"class":598},[585,1142,1143],{"class":1024},"addChart",[585,1145,1146],{"class":602},"(",[585,1148,618],{"class":598},[585,1150,1151],{"class":615},"chart1",[585,1153,618],{"class":598},[585,1155,707],{"class":598},[585,1157,599],{"class":598},[585,1159,1160],{"class":656}," key",[585,1162,641],{"class":598},[585,1164,612],{"class":598},[585,1166,1151],{"class":615},[585,1168,618],{"class":598},[585,1170,707],{"class":598},[585,1172,1173],{"class":656}," chartSpaceXml",[585,1175,641],{"class":598},[585,1177,1018],{"class":602},[585,1179,796],{"class":598},[585,1181,559],{"class":602},[585,1183,621],{"class":598},[808,1185,1083],{"id":1186},"chartdata",[378,1188,1189,1200],{},[381,1190,1191],{},[384,1192,1193,1196,1198],{},[387,1194,1195],{},"Property",[387,1197,389],{},[387,1199,395],{},[397,1201,1202,1216],{},[384,1203,1204,1209,1213],{},[402,1205,1206],{},[344,1207,1208],{},"key",[402,1210,1211],{},[344,1212,882],{},[402,1214,1215],{},"Unique chart ID",[384,1217,1218,1223,1227],{},[402,1219,1220],{},[344,1221,1222],{},"chartSpaceXml",[402,1224,1225],{},[344,1226,882],{},[402,1228,1229],{},"Serialized chart XML",[366,1231,1233],{"id":1232},"series-data","Series Data",[341,1235,1236,1237,641],{},"Each chart type accepts series data with category labels and values. Standard series use ",[344,1238,1239],{},"ChartSeriesData",[576,1241,1243],{"className":578,"code":1242,"language":580,"meta":581,"style":581},"const series: ChartSeriesData[] = [\n  { name: \"Product A\", values: [10, 20, 15] },\n  { name: \"Product B\", values: [5, 12, 8] },\n];\n",[344,1244,1245,1265,1305,1345],{"__ignoreMap":581},[585,1246,1247,1249,1252,1254,1257,1260,1262],{"class":587,"line":588},[585,1248,635],{"class":634},[585,1250,1251],{"class":602}," series",[585,1253,641],{"class":598},[585,1255,1256],{"class":644}," ChartSeriesData",[585,1258,1259],{"class":602},"[] ",[585,1261,1021],{"class":598},[585,1263,1264],{"class":602}," [\n",[585,1266,1267,1270,1272,1274,1276,1279,1281,1283,1285,1287,1289,1291,1293,1295,1297,1300,1302],{"class":587,"line":624},[585,1268,1269],{"class":598},"  {",[585,1271,753],{"class":656},[585,1273,641],{"class":598},[585,1275,612],{"class":598},[585,1277,1278],{"class":615},"Product A",[585,1280,618],{"class":598},[585,1282,707],{"class":598},[585,1284,767],{"class":656},[585,1286,641],{"class":598},[585,1288,697],{"class":602},[585,1290,775],{"class":774},[585,1292,707],{"class":598},[585,1294,780],{"class":774},[585,1296,707],{"class":598},[585,1298,1299],{"class":774}," 15",[585,1301,793],{"class":602},[585,1303,1304],{"class":598},"},\n",[585,1306,1307,1309,1311,1313,1315,1318,1320,1322,1324,1326,1328,1331,1333,1336,1338,1341,1343],{"class":587,"line":631},[585,1308,1269],{"class":598},[585,1310,753],{"class":656},[585,1312,641],{"class":598},[585,1314,612],{"class":598},[585,1316,1317],{"class":615},"Product B",[585,1319,618],{"class":598},[585,1321,707],{"class":598},[585,1323,767],{"class":656},[585,1325,641],{"class":598},[585,1327,697],{"class":602},[585,1329,1330],{"class":774},"5",[585,1332,707],{"class":598},[585,1334,1335],{"class":774}," 12",[585,1337,707],{"class":598},[585,1339,1340],{"class":774}," 8",[585,1342,793],{"class":602},[585,1344,1304],{"class":598},[585,1346,1347,1349],{"class":587,"line":653},[585,1348,735],{"class":602},[585,1350,621],{"class":598},[808,1352,1239],{"id":1353},"chartseriesdata",[378,1355,1356,1366],{},[381,1357,1358],{},[384,1359,1360,1362,1364],{},[387,1361,820],{},[387,1363,389],{},[387,1365,395],{},[397,1367,1368,1382,1397,1412,1427],{},[384,1369,1370,1375,1379],{},[402,1371,1372],{},[344,1373,1374],{},"name",[402,1376,1377],{},[344,1378,882],{},[402,1380,1381],{},"Series name",[384,1383,1384,1389,1394],{},[402,1385,1386],{},[344,1387,1388],{},"values",[402,1390,1391],{},[344,1392,1393],{},"number[]",[402,1395,1396],{},"Data values",[384,1398,1399,1404,1409],{},[402,1400,1401],{},[344,1402,1403],{},"trendlines",[402,1405,1406],{},[344,1407,1408],{},"TrendlineOptions[]",[402,1410,1411],{},"Trendlines for series",[384,1413,1414,1419,1424],{},[402,1415,1416],{},[344,1417,1418],{},"errorBars",[402,1420,1421],{},[344,1422,1423],{},"ErrorBarOptions",[402,1425,1426],{},"Error bars configuration",[384,1428,1429,1434,1439],{},[402,1430,1431],{},[344,1432,1433],{},"dataLabels",[402,1435,1436],{},[344,1437,1438],{},"DataLabelsOptions",[402,1440,1441],{},"Data labels configuration",[341,1443,1444,1445,1448],{},"Scatter charts use ",[344,1446,1447],{},"ScatterSeriesData"," — XY numeric axes without bubble sizes:",[378,1450,1451,1461],{},[381,1452,1453],{},[384,1454,1455,1457,1459],{},[387,1456,820],{},[387,1458,389],{},[387,1460,395],{},[397,1462,1463,1475,1489],{},[384,1464,1465,1469,1473],{},[402,1466,1467],{},[344,1468,1374],{},[402,1470,1471],{},[344,1472,882],{},[402,1474,1381],{},[384,1476,1477,1482,1486],{},[402,1478,1479],{},[344,1480,1481],{},"xValues",[402,1483,1484],{},[344,1485,1393],{},[402,1487,1488],{},"X coordinates",[384,1490,1491,1496,1500],{},[402,1492,1493],{},[344,1494,1495],{},"yValues",[402,1497,1498],{},[344,1499,1393],{},[402,1501,1502],{},"Y coordinates",[341,1504,1505,1506,641],{},"Bubble charts extend it with ",[344,1507,1508],{},"BubbleSeriesData",[378,1510,1511,1521],{},[381,1512,1513],{},[384,1514,1515,1517,1519],{},[387,1516,820],{},[387,1518,389],{},[387,1520,395],{},[397,1522,1523],{},[384,1524,1525,1530,1534],{},[402,1526,1527],{},[344,1528,1529],{},"bubbleSize",[402,1531,1532],{},[344,1533,1393],{},[402,1535,1536],{},"Bubble sizes",[366,1538,1540],{"id":1539},"axes","Axes",[341,1542,1543,1544,1547,1548,1551],{},"Charts that use axes (bar, line, area, scatter) have axes created automatically based on chart type. Pass ",[344,1545,1546],{},"axes: AxisOptions[]"," to control them explicitly — gridlines, tick marks, scaling bounds, number formats, and per-axis ",[344,1549,1550],{},"shapeProperties"," all round-trip.",[366,1553,1555],{"id":1554},"round-trip-fields","Round-trip Fields",[341,1557,1558],{},"Fields a parsed source carries that a fresh chart usually omits. They are recorded on parse and re-emitted on stringify, so a round-tripped chart keeps its worksheet links and rendering flags:",[1560,1561,1562,1593,1610,1628,1655,1663],"ul",{},[1563,1564,1565,1569,1570,1573,1574,1577,1578,1581,1582,1585,1586,1573,1589,1592],"li",{},[1566,1567,1568],"strong",{},"Data references",": ",[344,1571,1572],{},"nameFormula"," \u002F ",[344,1575,1576],{},"valueFormula"," (series), ",[344,1579,1580],{},"categoryFormula"," (chart) hold the ",[344,1583,1584],{},"c:f"," worksheet formulas; ",[344,1587,1588],{},"formatCode",[344,1590,1591],{},"categoryFormatCode"," keep the cached number format.",[1563,1594,1595,1569,1598,1601,1602,1605,1606,1609],{},[1566,1596,1597],{},"Numeric categories",[344,1599,1600],{},"numericCategories: true"," switches ",[344,1603,1604],{},"c:cat"," to the ",[344,1607,1608],{},"c:numRef"," form (value-formatted axis).",[1563,1611,1612,1569,1615,1618,1619,1618,1622,1618,1625,364],{},[1566,1613,1614],{},"Header elements",[344,1616,1617],{},"date1904",", ",[344,1620,1621],{},"lang",[344,1623,1624],{},"roundedCorners",[344,1626,1627],{},"autoTitleDeleted",[1563,1629,1630,1569,1633,1618,1636,1639,1640,1643,1644,1646,1647,1650,1651,1654],{},[1566,1631,1632],{},"Group flags",[344,1634,1635],{},"varyColors",[344,1637,1638],{},"markers"," (line), ",[344,1641,1642],{},"shape"," (bar 3D), group-level ",[344,1645,1433],{},", and the verbatim ",[344,1648,1649],{},"axisIds"," reference sequence (legacy files write a dangling ",[344,1652,1653],{},"axId val=\"0\"",").",[1563,1656,1657,1569,1660,1662],{},[1566,1658,1659],{},"Shape properties",[344,1661,1550],{}," on the chart space, each series, and each axis.",[1563,1664,1665,1569,1668,1671,1672,1675],{},[1566,1666,1667],{},"Title placeholders",[344,1669,1670],{},"title: \"\""," round-trips a bare ",[344,1673,1674],{},"\u003Cc:title\u002F>"," (text-less auto-title).",[366,1677,1679],{"id":1678},"usage-in-documents","Usage in Documents",[341,1681,1682],{},"Charts are typically created through the document\u002Fpresentation API rather than directly. See:",[1560,1684,1685,1692],{},[1563,1686,1687,1691],{},[1688,1689,1690],"a",{"href":122},"DOCX Charts"," for Word chart integration",[1563,1693,1694,1697],{},[1688,1695,1696],{"href":199},"PPTX Charts"," for PowerPoint chart integration",[910,1699,1700],{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}",{"title":581,"searchDepth":624,"depth":624,"links":1702},[1703,1704,1707,1708,1711,1714,1715,1716],{"id":368,"depth":624,"text":369},{"id":569,"depth":624,"text":355,"children":1705},[1706],{"id":810,"depth":631,"text":811},{"id":935,"depth":624,"text":359},{"id":1075,"depth":624,"text":363,"children":1709},[1710],{"id":1186,"depth":631,"text":1083},{"id":1232,"depth":624,"text":1233,"children":1712},[1713],{"id":1353,"depth":631,"text":1239},{"id":1539,"depth":624,"text":1540},{"id":1554,"depth":624,"text":1555},{"id":1678,"depth":624,"text":1679},"Shared chart components for docx and pptx — 12 chart types supported","md",null,{},{"title":54,"description":1717},"do9LPupuepYrIKxKhFbKfmSR5vGTYIy6-ZqAhP5DRcw",[1724,1726],{"title":50,"path":51,"stem":52,"description":1725,"children":-1},"Convert between OOXML measurement units — TWIP, EMU, pixels, inches, points",{"title":58,"path":59,"stem":60,"description":1727,"children":-1},"Parse and modify existing OOXML documents with ParsedArchive",1787527403445]