mirror of
https://github.com/dolanmiu/docx.git
synced 2026-12-01 16:55:59 +01:00
165 lines
30 KiB
HTML
165 lines
30 KiB
HTML
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ChartSeries | docx</title><meta name="description" content="Documentation for docx"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
||
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">docx</a>
|
||
<div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
||
<ul role="listbox" id="tsd-search-results"></ul>
|
||
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
||
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
||
<div class="container container-main">
|
||
<div class="col-content">
|
||
<div class="tsd-page-title">
|
||
<ul class="tsd-breadcrumb" aria-label="Breadcrumb">
|
||
<li><a href="../modules/charts.html">charts</a></li>
|
||
<li><a href="" aria-current="page">ChartSeries</a></li></ul>
|
||
<h1>Type Alias ChartSeries</h1></div>
|
||
<section class="tsd-panel tsd-comment">
|
||
<div class="tsd-comment tsd-typography"><p>A series of a column, bar, line or area chart: one value for each category.</p>
|
||
<p><code>markers</code>, <code>smooth</code> and <code>line</code> are for series drawn as lines, and <code>colors</code> for series drawn as bars.</p>
|
||
</div>
|
||
<div class="tsd-comment tsd-typography">
|
||
<div class="tsd-tag-publicApi">
|
||
<h4 class="tsd-anchor-link" id="public-api">Public Api<a href="#public-api" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4></div></div></section>
|
||
<div class="tsd-signature"><span class="tsd-signature-keyword">type</span> <span class="tsd-kind-type-alias">ChartSeries</span> <span class="tsd-signature-symbol">=</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#axis">axis</a><span class="tsd-signature-symbol">?:</span> <a href="charts.ChartAxisGroup.html" class="tsd-signature-type tsd-kind-type-alias">ChartAxisGroup</a><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#color">color</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <a href="index.ThemeColor.html" class="tsd-signature-type tsd-kind-type-alias">ThemeColor</a><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#colors">colors</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-keyword">readonly</span> (<span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <a href="index.ThemeColor.html" class="tsd-signature-type tsd-kind-type-alias">ThemeColor</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">undefined</span>)<span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#datalabels">dataLabels</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">false</span> <span class="tsd-signature-symbol">|</span> <a href="charts.ChartDataLabels.html" class="tsd-signature-type tsd-kind-type-alias">ChartDataLabels</a><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#errorbars">errorBars</a><span class="tsd-signature-symbol">?:</span> <a href="charts.ChartErrorBars.html" class="tsd-signature-type tsd-kind-type-alias">ChartErrorBars</a><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#line">line</a><span class="tsd-signature-symbol">?:</span> <a href="charts.ChartLine.html" class="tsd-signature-type tsd-kind-type-alias">ChartLine</a><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#markers">markers</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">|</span> <a href="charts.ChartMarker.html" class="tsd-signature-type tsd-kind-type-alias">ChartMarker</a><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#name">name</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#pointlabels">pointLabels</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-keyword">readonly</span> (<span class="tsd-signature-type">false</span> <span class="tsd-signature-symbol">|</span> <a href="charts.ChartPointLabel.html" class="tsd-signature-type tsd-kind-type-alias">ChartPointLabel</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">undefined</span>)<span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#smooth">smooth</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#trendlines">trendlines</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-keyword">readonly</span> <a href="charts.ChartTrendline.html" class="tsd-signature-type tsd-kind-type-alias">ChartTrendline</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#type">type</a><span class="tsd-signature-symbol">?:</span> <a href="charts.ComboChartSeriesType.html" class="tsd-signature-type tsd-kind-type-alias">ComboChartSeriesType</a><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#values">values</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-keyword">readonly</span> (<span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span>)<span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/dolanmiu/docx/blob/1bfacd5c831c42fe7d3d50c798d145641ee5154d/src/charts/chart-options.ts#L360">charts/chart-options.ts:360</a></li></ul></aside>
|
||
<section class="tsd-panel-group tsd-index-group">
|
||
<section class="tsd-panel tsd-index-panel">
|
||
<details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
||
<h5 class="tsd-index-heading uppercase">Index</h5></summary>
|
||
<div class="tsd-accordion-details">
|
||
<section class="tsd-index-section">
|
||
<h3 class="tsd-index-heading tsd-anchor-link" id="properties">Properties<a href="#properties" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
||
<div class="tsd-index-list"><a href="#axis" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>axis?</span></a>
|
||
<a href="#color" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>color?</span></a>
|
||
<a href="#colors" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>colors?</span></a>
|
||
<a href="#datalabels" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>data<wbr/>Labels?</span></a>
|
||
<a href="#errorbars" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>error<wbr/>Bars?</span></a>
|
||
<a href="#line" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>line?</span></a>
|
||
<a href="#markers" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>markers?</span></a>
|
||
<a href="#name" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name</span></a>
|
||
<a href="#pointlabels" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>point<wbr/>Labels?</span></a>
|
||
<a href="#smooth" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>smooth?</span></a>
|
||
<a href="#trendlines" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>trendlines?</span></a>
|
||
<a href="#type" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>type?</span></a>
|
||
<a href="#values" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>values</span></a>
|
||
</div></section></div></details></section></section>
|
||
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
||
<h2 class="tsd-anchor-link" id="properties-1">Properties<a href="#properties-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
|
||
<section>
|
||
<section class="tsd-panel tsd-member">
|
||
<h3 class="tsd-anchor-link" id="axis"><code class="tsd-tag">Optional</code> <code class="tsd-tag">Readonly</code><span>axis</span><a href="#axis" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
||
<div class="tsd-signature"><span class="tsd-kind-property">axis</span><span class="tsd-signature-symbol">?:</span> <a href="charts.ChartAxisGroup.html" class="tsd-signature-type tsd-kind-type-alias">ChartAxisGroup</a></div>
|
||
<div class="tsd-comment tsd-typography"><p>Draws the series against the secondary value axis, on the right. Default is <code>"primary"</code></p>
|
||
</div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/dolanmiu/docx/blob/1bfacd5c831c42fe7d3d50c798d145641ee5154d/src/charts/chart-options.ts#L376">charts/chart-options.ts:376</a></li></ul></aside></section>
|
||
<section class="tsd-panel tsd-member">
|
||
<h3 class="tsd-anchor-link" id="color"><code class="tsd-tag">Optional</code> <code class="tsd-tag">Readonly</code><span>color</span><a href="#color" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
||
<div class="tsd-signature"><span class="tsd-kind-property">color</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <a href="index.ThemeColor.html" class="tsd-signature-type tsd-kind-type-alias">ThemeColor</a></div>
|
||
<div class="tsd-comment tsd-typography"><p>The colour of the series' bars, line or area: a 6-digit hex colour such as <code>"4472C4"</code>, or a colour of the
|
||
document's theme such as <code>{ theme: "accent2" }</code>. Default is the next of the theme's accent colours</p>
|
||
</div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/dolanmiu/docx/blob/1bfacd5c831c42fe7d3d50c798d145641ee5154d/src/charts/chart-options.ts#L369">charts/chart-options.ts:369</a></li></ul></aside></section>
|
||
<section class="tsd-panel tsd-member">
|
||
<h3 class="tsd-anchor-link" id="colors"><code class="tsd-tag">Optional</code> <code class="tsd-tag">Readonly</code><span>colors</span><a href="#colors" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
||
<div class="tsd-signature"><span class="tsd-kind-property">colors</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-keyword">readonly</span> (<span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <a href="index.ThemeColor.html" class="tsd-signature-type tsd-kind-type-alias">ThemeColor</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">undefined</span>)<span class="tsd-signature-symbol">[]</span></div>
|
||
<div class="tsd-comment tsd-typography"><p>One colour for each bar, in the order of the categories. A bar without one, or with <code>undefined</code>, takes the series'
|
||
colour. Only for series drawn as bars</p>
|
||
</div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/dolanmiu/docx/blob/1bfacd5c831c42fe7d3d50c798d145641ee5154d/src/charts/chart-options.ts#L383">charts/chart-options.ts:383</a></li></ul></aside></section>
|
||
<section class="tsd-panel tsd-member">
|
||
<h3 class="tsd-anchor-link" id="datalabels"><code class="tsd-tag">Optional</code> <code class="tsd-tag">Readonly</code><span>data<wbr/>Labels</span><a href="#datalabels" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
||
<div class="tsd-signature"><span class="tsd-kind-property">dataLabels</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">false</span> <span class="tsd-signature-symbol">|</span> <a href="charts.ChartDataLabels.html" class="tsd-signature-type tsd-kind-type-alias">ChartDataLabels</a></div>
|
||
<div class="tsd-comment tsd-typography"><p>The series' own labels, instead of the chart's <code>dataLabels</code>, or <code>false</code> for none</p>
|
||
</div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/dolanmiu/docx/blob/1bfacd5c831c42fe7d3d50c798d145641ee5154d/src/charts/chart-options.ts#L378">charts/chart-options.ts:378</a></li></ul></aside></section>
|
||
<section class="tsd-panel tsd-member">
|
||
<h3 class="tsd-anchor-link" id="errorbars"><code class="tsd-tag">Optional</code> <code class="tsd-tag">Readonly</code><span>error<wbr/>Bars</span><a href="#errorbars" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
||
<div class="tsd-signature"><span class="tsd-kind-property">errorBars</span><span class="tsd-signature-symbol">?:</span> <a href="charts.ChartErrorBars.html" class="tsd-signature-type tsd-kind-type-alias">ChartErrorBars</a></div>
|
||
<div class="tsd-comment tsd-typography"><p>Error bars along the values: up and down from columns, lines and areas, or left and right from a bar chart's bars</p>
|
||
</div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/dolanmiu/docx/blob/1bfacd5c831c42fe7d3d50c798d145641ee5154d/src/charts/chart-options.ts#L398">charts/chart-options.ts:398</a></li></ul></aside></section>
|
||
<section class="tsd-panel tsd-member">
|
||
<h3 class="tsd-anchor-link" id="line"><code class="tsd-tag">Optional</code> <code class="tsd-tag">Readonly</code><span>line</span><a href="#line" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
||
<div class="tsd-signature"><span class="tsd-kind-property">line</span><span class="tsd-signature-symbol">?:</span> <a href="charts.ChartLine.html" class="tsd-signature-type tsd-kind-type-alias">ChartLine</a></div>
|
||
<div class="tsd-comment tsd-typography"><p>The line's colour, width and dashes. Only for lines</p>
|
||
</div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/dolanmiu/docx/blob/1bfacd5c831c42fe7d3d50c798d145641ee5154d/src/charts/chart-options.ts#L389">charts/chart-options.ts:389</a></li></ul></aside></section>
|
||
<section class="tsd-panel tsd-member">
|
||
<h3 class="tsd-anchor-link" id="markers"><code class="tsd-tag">Optional</code> <code class="tsd-tag">Readonly</code><span>markers</span><a href="#markers" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
||
<div class="tsd-signature"><span class="tsd-kind-property">markers</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">|</span> <a href="charts.ChartMarker.html" class="tsd-signature-type tsd-kind-type-alias">ChartMarker</a></div>
|
||
<div class="tsd-comment tsd-typography"><p>Draws a marker at each point, or markers of a shape and size. Default is the chart's <code>markers</code>. Only for lines</p>
|
||
</div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/dolanmiu/docx/blob/1bfacd5c831c42fe7d3d50c798d145641ee5154d/src/charts/chart-options.ts#L385">charts/chart-options.ts:385</a></li></ul></aside></section>
|
||
<section class="tsd-panel tsd-member">
|
||
<h3 class="tsd-anchor-link" id="name"><code class="tsd-tag">Readonly</code><span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
||
<div class="tsd-signature"><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
||
<div class="tsd-comment tsd-typography"><p>The series' name, shown in the legend</p>
|
||
</div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/dolanmiu/docx/blob/1bfacd5c831c42fe7d3d50c798d145641ee5154d/src/charts/chart-options.ts#L362">charts/chart-options.ts:362</a></li></ul></aside></section>
|
||
<section class="tsd-panel tsd-member">
|
||
<h3 class="tsd-anchor-link" id="pointlabels"><code class="tsd-tag">Optional</code> <code class="tsd-tag">Readonly</code><span>point<wbr/>Labels</span><a href="#pointlabels" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
||
<div class="tsd-signature"><span class="tsd-kind-property">pointLabels</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-keyword">readonly</span> (<span class="tsd-signature-type">false</span> <span class="tsd-signature-symbol">|</span> <a href="charts.ChartPointLabel.html" class="tsd-signature-type tsd-kind-type-alias">ChartPointLabel</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">undefined</span>)<span class="tsd-signature-symbol">[]</span></div>
|
||
<div class="tsd-comment tsd-typography"><p>Labels of single bars or points, in the order of the categories: a label of its own, <code>false</code> for none, or
|
||
<code>undefined</code> for the series' own</p>
|
||
</div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/dolanmiu/docx/blob/1bfacd5c831c42fe7d3d50c798d145641ee5154d/src/charts/chart-options.ts#L394">charts/chart-options.ts:394</a></li></ul></aside></section>
|
||
<section class="tsd-panel tsd-member">
|
||
<h3 class="tsd-anchor-link" id="smooth"><code class="tsd-tag">Optional</code> <code class="tsd-tag">Readonly</code><span>smooth</span><a href="#smooth" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
||
<div class="tsd-signature"><span class="tsd-kind-property">smooth</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div>
|
||
<div class="tsd-comment tsd-typography"><p>Draws the line as a smooth curve. Default is the chart's <code>smooth</code>. Only for lines</p>
|
||
</div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/dolanmiu/docx/blob/1bfacd5c831c42fe7d3d50c798d145641ee5154d/src/charts/chart-options.ts#L387">charts/chart-options.ts:387</a></li></ul></aside></section>
|
||
<section class="tsd-panel tsd-member">
|
||
<h3 class="tsd-anchor-link" id="trendlines"><code class="tsd-tag">Optional</code> <code class="tsd-tag">Readonly</code><span>trendlines</span><a href="#trendlines" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
||
<div class="tsd-signature"><span class="tsd-kind-property">trendlines</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-keyword">readonly</span> <a href="charts.ChartTrendline.html" class="tsd-signature-type tsd-kind-type-alias">ChartTrendline</a><span class="tsd-signature-symbol">[]</span></div>
|
||
<div class="tsd-comment tsd-typography"><p>Lines fitted to the values. Not for stacked series</p>
|
||
</div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/dolanmiu/docx/blob/1bfacd5c831c42fe7d3d50c798d145641ee5154d/src/charts/chart-options.ts#L396">charts/chart-options.ts:396</a></li></ul></aside></section>
|
||
<section class="tsd-panel tsd-member">
|
||
<h3 class="tsd-anchor-link" id="type"><code class="tsd-tag">Optional</code> <code class="tsd-tag">Readonly</code><span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
||
<div class="tsd-signature"><span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">?:</span> <a href="charts.ComboChartSeriesType.html" class="tsd-signature-type tsd-kind-type-alias">ComboChartSeriesType</a></div>
|
||
<div class="tsd-comment tsd-typography"><p>Draws the series as columns, a line or an area, whatever the chart's <code>type</code>, as Word's "Combo" charts do. Default
|
||
is the chart's <code>type</code>. A bar chart's series are all bars</p>
|
||
</div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/dolanmiu/docx/blob/1bfacd5c831c42fe7d3d50c798d145641ee5154d/src/charts/chart-options.ts#L374">charts/chart-options.ts:374</a></li></ul></aside></section>
|
||
<section class="tsd-panel tsd-member">
|
||
<h3 class="tsd-anchor-link" id="values"><code class="tsd-tag">Readonly</code><span>values</span><a href="#values" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
||
<div class="tsd-signature"><span class="tsd-kind-property">values</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-keyword">readonly</span> (<span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span>)<span class="tsd-signature-symbol">[]</span></div>
|
||
<div class="tsd-comment tsd-typography"><p>One value for each category, in order. <code>null</code> leaves a gap. A series can have fewer values than there are categories</p>
|
||
</div><aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/dolanmiu/docx/blob/1bfacd5c831c42fe7d3d50c798d145641ee5154d/src/charts/chart-options.ts#L364">charts/chart-options.ts:364</a></li></ul></aside></section></section></details></div>
|
||
<div class="col-sidebar">
|
||
<div class="page-menu">
|
||
<div class="tsd-navigation settings">
|
||
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
||
<h3>Settings</h3></summary>
|
||
<div class="tsd-accordion-details">
|
||
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
||
<ul id="tsd-filter-options">
|
||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
||
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
||
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
||
<details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
||
<h3>On This Page</h3></summary>
|
||
<div class="tsd-accordion-details">
|
||
<details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary>
|
||
<div><a href="#axis"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>axis</span></a><a href="#color"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>color</span></a><a href="#colors"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>colors</span></a><a href="#datalabels"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>data<wbr/>Labels</span></a><a href="#errorbars"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>error<wbr/>Bars</span></a><a href="#line"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>line</span></a><a href="#markers"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>markers</span></a><a href="#name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name</span></a><a href="#pointlabels"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>point<wbr/>Labels</span></a><a href="#smooth"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>smooth</span></a><a href="#trendlines"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>trendlines</span></a><a href="#type"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>type</span></a><a href="#values"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>values</span></a></div></details></div></details></div>
|
||
<div class="site-menu">
|
||
<nav class="tsd-navigation"><a href="../modules.html">docx</a>
|
||
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
||
<li>Loading...</li></ul></nav></div></div></div><footer>
|
||
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
||
<div class="overlay"></div></body></html>
|