@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
38 lines (36 loc) • 1.46 kB
TypeScript
import type Color from "../../../Color.js";
import type Accessor from "../../../core/Accessor.js";
export interface ChartMediaInfoValueSeriesProperties {}
/**
* The `ChartMediaInfoValueSeries` class is a read-only support class that represents information specific
* to how data should be plotted in a chart.
* It helps provide a consistent API for plotting charts used by the [Popup](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/) widget.
*
* @since 4.11
* @see [ChartMediaInfoValue](https://developers.arcgis.com/javascript/latest/references/core/popup/content/support/ChartMediaInfoValue/)
*/
export default class ChartMediaInfoValueSeries extends Accessor {
constructor(properties?: ChartMediaInfoValueSeriesProperties);
/**
* The [Color](https://developers.arcgis.com/javascript/latest/references/core/Color/) representing the field for a series.
*
* @since 4.28
*/
get color(): Color | null | undefined;
/**
* String value indicating the field's name for a series.
*
* @since 4.24
*/
get fieldName(): string;
/** String value indicating the tooltip for a series. */
get tooltip(): string | null | undefined;
/** Numerical value for the chart series. */
get value(): number;
/**
* Creates a deep clone of the ChartMediaInfoValueSeries class.
*
* @returns A deep clone of the ChartMediaInfoValueSeries instance.
*/
clone(): ChartMediaInfoValueSeries;
}