UNPKG

@progress/kendo-react-charts

Version:

React Chart renders a wide range of high-quality data visualizations. KendoReact Charts package

36 lines (35 loc) 1.4 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { LineStyle } from './line-style.js'; /** * The appearance settings for the line of the Area, Candlestick, OHLC, and Waterfall series. */ export interface SeriesLine { /** * The color of the line. Accepts a valid CSS color string, including hex and rgb. */ color?: string; /** * The line opacity. By default, the line is opaque (`opacity = 1`). */ opacity?: number; /** * The drawing style of the line. Applicable for the Area, Range Area, Polar Area, and Radar Area series. * * The supported values are: * * `"normal" (default)`—The values are connected with a straight line. * * `"step"`—The values are connected with a right-angled line. Supported only for the Area and Range Area series. * * `"smooth"`—The values are connected with a smooth line. */ style?: LineStyle; /** * The line width in pixels. * By default, the width is set to `0` and the line is not visible. */ width?: number; }