@progress/kendo-angular-charts
Version:
Kendo UI Charts for Angular - A comprehensive package for creating beautiful and interactive data visualization. Every chart type, stock charts, and sparklines are included.
40 lines (39 loc) • 1.51 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* The dash line type.
*
* The possible values are:
* - `"dash"`—A line that consists of dashes.
* - `"dashDot"`—A line that consists of a repeating dash-dot pattern.
* - `"dot"`—A line that consists of dots.
* - `"longDash"`—A line that consists of a repeating long-dash pattern.
* - `"longDashDot"`—A line that consists of a repeating long-dash-dot pattern.
* - `"longDashDotDot"`—A line that consists of a repeating long-dash-dot-dot pattern.
* - `"solid"`—A solid line.
*
* @example
* ```ts
* import { Component } from '@angular/core';
* import { DashType } from '@progress/kendo-angular-charts';
*
* _@Component({
* selector: 'my-app',
* template: `
* <kendo-chart>
* <kendo-chart-series>
* <kendo-chart-series-item type="line" [data]="[1, 2, 3]" [dashType]="dashType">
* </kendo-chart-series-item>
* </kendo-chart-series>
* </kendo-chart>
* `
* })
* class AppComponent {
* public dashType: DashType = "dot";
* }
*
* ```
*/
export type DashType = 'dash' | 'dashDot' | 'dot' | 'longDash' | 'longDashDot' | 'longDashDotDot' | 'solid';