# Wijmo_Chart_Annotation.Annotationlayer

## Content

<div class="content__tsd">
						<div style="display:flex;justify-content:space-between;align-items:center">
							<h1>
								AnnotationLayer Class
							</h1>
						</div>
						<section class="tsd-comment">
							<div class="tsd-comment">
								<div class="lead">
									<p>Represents an annotation layer for <a href="wijmo_chart.flexchart.html">FlexChart</a> and <a href="wijmo_chart_finance.financialchart.html">FinancialChart</a>.</p>
								</div>
								<p>The AnnotationLayer contains a collection of various annotation elements: texts,
									lines, images, rectangles etc.
									To use the <a href="wijmo_chart_annotation.annotationlayer.html">AnnotationLayer</a>, create annotations and push them to the layer's
								items property.</p>
							</div>
						</section>
						<section class="tsd-hierarchy">
							<h3>Heirarchy</h3>
							<ul class="tsd-hierarchy">
								<li>
									<span class="target">AnnotationLayer</span>
									<ul class="tsd-hierarchy">
										<li>
											<a href="wijmo_angular2_chart_annotation.wjflexchartannotationlayer.html" class="tsd-signature-type">WjFlexChartAnnotationLayer</a>
										</li>
									</ul>
								</li>
							</ul>
						</section>
						<section class="tsd-index-group">
							<section class="tsd-index-panel">
								<div class="tsd-index-content">
									<section class="tsd-index-section ">
										<div class="title">
											<div class="gc_api_tree-item_icon_img_wrapper">
												<div class="gc_api_tree-item_icon_img" data-expand="true">
												</div>
											</div>
											<h3>
												Constructors
											</h3>
										</div>
										<ul class="tsd-index-list">
											<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="wijmo_chart_annotation.annotationlayer.html#constructor" class="tsd-kind-icon">constructor</a></li>
										</ul>
									</section>
									<section class="tsd-index-section ">
										<div class="title">
											<div class="gc_api_tree-item_icon_img_wrapper">
												<div class="gc_api_tree-item_icon_img" data-expand="true">
												</div>
											</div>
											<h3>
												Properties
											</h3>
										</div>
										<ul class="tsd-index-list">
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_chart_annotation.annotationlayer.html#items" class="tsd-kind-icon">items</a></li>
										</ul>
									</section>
									<section class="tsd-index-section ">
										<div class="title">
											<div class="gc_api_tree-item_icon_img_wrapper">
												<div class="gc_api_tree-item_icon_img" data-expand="true">
												</div>
											</div>
											<h3>
												Methods
											</h3>
										</div>
										<ul class="tsd-index-list">
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_chart_annotation.annotationlayer.html#getitem" class="tsd-kind-icon">get<wbr>Item</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_chart_annotation.annotationlayer.html#getitems" class="tsd-kind-icon">get<wbr>Items</a></li>
										</ul>
									</section>
								</div>
							</section>
						</section>
						<section class="tsd-panel-group tsd-member-group ">
							<h2>Constructors</h2>
							<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
								<a name="constructor" class="tsd-anchor"></a>
								<h3>constructor</h3>
								<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">new <wbr>Annotation<wbr>Layer<span class="tsd-signature-symbol">(</span>chart<span class="tsd-signature-symbol">: </span><a href="wijmo_chart.flexchartcore.html" class="tsd-signature-type">FlexChartCore</a>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_chart_annotation.annotationlayer.html" class="tsd-signature-type">AnnotationLayer</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Initializes a new instance of the <a href="wijmo_chart_annotation.annotationlayer.html">AnnotationLayer</a> class.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>chart: <a href="wijmo_chart.flexchartcore.html" class="tsd-signature-type">FlexChartCore</a></h5>
												<div class="tsd-comment">
													<div class="lead">
														<p>A chart to which the <a href="wijmo_chart_annotation.annotationlayer.html">AnnotationLayer</a> is attached.</p>
													</div>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <span class="tsd-signature-type">any</span></h5>
												<div class="tsd-comment">
													<div class="lead">
														<p>A JavaScript object containing initialization data for
														<a href="wijmo_chart_annotation.annotationlayer.html">AnnotationLayer</a>.</p>
													</div>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_chart_annotation.annotationlayer.html" class="tsd-signature-type">AnnotationLayer</a></h4>
									</li>
								</ul>
							</section>
						</section>
						<section class="tsd-panel-group tsd-member-group ">
							<h2>Properties</h2>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="items" class="tsd-anchor"></a>
								<h3>items</h3>
								<div class="tsd-signature tsd-kind-icon">items<span class="tsd-signature-symbol">:</span> <a href="wijmo.observablearray.html" class="tsd-signature-type">ObservableArray</a></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets the collection of annotation elements in the <a href="wijmo_chart_annotation.annotationlayer.html">AnnotationLayer</a>.</p>
									</div>
								</div>
							</section>
						</section>
						<section class="tsd-panel-group tsd-member-group ">
							<h2>Methods</h2>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="getitem" class="tsd-anchor"></a>
								<h3>getItem</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">get<wbr>Item<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_chart_annotation.annotationbase.html" class="tsd-signature-type">AnnotationBase</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Gets an annotation element by name in the <a href="wijmo_chart_annotation.annotationlayer.html">AnnotationLayer</a>.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>name: <span class="tsd-signature-type">string</span></h5>
												<div class="tsd-comment">
													<p>The annotation's name.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_chart_annotation.annotationbase.html" class="tsd-signature-type">AnnotationBase</a></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="getitems" class="tsd-anchor"></a>
								<h3>getItems</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">get<wbr>Items<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Array</span><span class="tsd-signature-symbol">&lt;</span><a href="wijmo_chart_annotation.annotationbase.html" class="tsd-signature-type">AnnotationBase</a><span class="tsd-signature-symbol">&gt;</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Gets the annotation elements by name in the <a href="wijmo_chart_annotation.annotationlayer.html">AnnotationLayer</a>.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>name: <span class="tsd-signature-type">string</span></h5>
												<div class="tsd-comment">
													<p>The annotations' name.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Array</span><span class="tsd-signature-symbol">&lt;</span><a href="wijmo_chart_annotation.annotationbase.html" class="tsd-signature-type">AnnotationBase</a><span class="tsd-signature-symbol">&gt;</span></h4>
									</li>
								</ul>
							</section>
						</section>
					</div>