;
+ }
+ /** This section describes the methods that can be used in code to manipulate the Point object. */
+ export interface PolarPoint extends BasePoint {
+ series: PolarSeries;
+ }
+ export interface Strip {
+ /** Specifies a color for a strip. */
+ color?: string;
+ /** An object that defines the label configuration options of a strip. */
+ label?: {
+ /** Specifies the text displayed in a strip. */
+ text?: string;
+ };
+ /** Specifies a start value for a strip. */
+ startValue?: any;
+ /** Specifies an end value for a strip. */
+ endValue?: any;
+ }
+ export interface BaseSeriesConfigLabel {
+ /** Specifies a format for arguments displayed by point labels. */
+ argumentFormat?: string;
+ /** Specifies a precision for formatted point arguments displayed in point labels. */
+ argumentPrecision?: number;
+ /** Specifies a background color for point labels. */
+ backgroundColor?: string;
+ /** Specifies border options for point labels. */
+ border?: viz.core.DashedBorder;
+ /** Specifies connector options for series point labels. */
+ connector?: {
+ /** Specifies the color of label connectors. */
+ color?: string;
+ /** Indicates whether or not label connectors are visible. */
+ visible?: boolean;
+ /** Specifies the width of label connectors. */
+ width?: number;
+ };
+ /** Specifies a callback function that returns the text to be displayed by point labels. */
+ customizeText?: (pointInfo: Object) => string;
+ /** Specifies font options for the text displayed in point labels. */
+ font?: viz.core.Font;
+ /** Specifies a format for the text displayed by point labels. */
+ format?: string;
+ position?: string;
+ /** Specifies a precision for formatted point values displayed in point labels. */
+ precision?: number;
+ /** Specifies the angle used to rotate point labels from their initial position. */
+ rotationAngle?: number;
+ /** Specifies the visibility of point labels. */
+ visible?: boolean;
+ }
+ export interface SeriesConfigLabel extends BaseSeriesConfigLabel {
+ /** Specifies whether or not to show a label when the point has a zero value. */
+ showForZeroValues?: boolean;
+ }
+ export interface ChartSeriesConfigLabel extends SeriesConfigLabel {
+ /** Specifies how to align point labels relative to the corresponding data points that they represent. */
+ alignment?: string;
+ /** Specifies how to shift point labels horizontally from their initial positions. */
+ horizontalOffset?: number;
+ /** Specifies how to shift point labels vertically from their initial positions. */
+ verticalOffset?: number;
+ /** Specifies a precision for the percentage values displayed in the labels of a full-stacked-like series. */
+ percentPrecision?: number;
+ }
+ export interface BaseCommonSeriesConfig {
+ /** Specifies the data source field that provides arguments for series points. */
+ argumentField?: string;
+ axis?: string;
+ /** An object defining the label configuration options for a series in the dxChart widget. */
+ label?: ChartSeriesConfigLabel;
+ /** Specifies border options for point labels. */
+ border?: viz.core.DashedBorder;
+ /** Specifies a series color. */
+ color?: string;
+ /** Specifies the dash style of the series' line. */
+ dashStyle?: string;
+ hoverMode?: string;
+ hoverStyle?: {
+ /** An object defining the border options for a hovered series. */
+ border?: viz.core.DashedBorder;
+ /** Sets a color for a series when it is hovered over.
*/
+ color?: string;
+ /** Specifies the dash style for the line in a hovered series. */
+ dashStyle?: string;
+ hatching?: viz.core.Hatching;
+ /** Specifies the width of a line in a hovered series. */
+ width?: number;
+ };
+ /** Specifies whether a chart ignores null data points or not. */
+ ignoreEmptyPoints?: boolean;
+ /** Specifies how many points are acceptable to be in a series to display all labels for these points. Otherwise, the labels will not be displayed. */
+ maxLabelCount?: number;
+ /** Specifies the minimal length of a displayed bar in pixels. */
+ minBarSize?: number;
+ /** Specifies opacity for a series. */
+ opacity?: number;
+ /** Specifies the series elements to highlight when the series is selected. */
+ selectionMode?: string;
+ selectionStyle?: {
+ /** An object defining the border options for a selected series. */
+ border?: viz.core.DashedBorder;
+ /** Sets a color for a series when it is selected. */
+ color?: string;
+ /** Specifies the dash style for the line in a selected series. */
+ dashStyle?: string;
+ hatching?: viz.core.Hatching;
+ /** Specifies the width of a line in a selected series. */
+ width?: number;
+ };
+ /** Specifies whether or not to show the series in the chart's legend. */
+ showInLegend?: boolean;
+ /** Specifies the name of the stack where the values of the _stackedBar_ series must be located. */
+ stack?: string;
+ /** Specifies the name of the data source field that provides data about a point. */
+ tagField?: string;
+ /** Specifies the data source field that provides values for series points. */
+ valueField?: string;
+ /** Specifies the visibility of a series. */
+ visible?: boolean;
+ /** Specifies a line width. */
+ width?: number;
+ /** Configures error bars. */
+ valueErrorBar?: {
+ /** Specifies whether error bars must be displayed in full or partially. */
+ displayMode?: string;
+ /** Specifies the data field that provides data for low error values. */
+ lowValueField?: string;
+ /** Specifies the data field that provides data for high error values. */
+ highValueField?: string;
+ /** Specifies how error bar values must be calculated. */
+ type?: string;
+ /** Specifies the value to be used for generating error bars. */
+ value?: number;
+ /** Specifies the color of error bars. */
+ color?: string;
+ /** Specifies the opacity of error bars. */
+ opacity?: number;
+ /** Specifies the length of the lines that indicate the error bar edges. */
+ edgeLength?: number;
+ /** Specifies the width of the error bar line. */
+ lineWidth?: number;
+ };
+ }
+ export interface CommonPointOptions {
+ /** Specifies border options for points in the line and area series. */
+ border?: viz.core.Border;
+ /** Specifies the points color. */
+ color?: string;
+ /** Specifies what series points to highlight when a point is hovered over. */
+ hoverMode?: string;
+ /** An object defining configuration options for a hovered point. */
+ hoverStyle?: {
+ /** An object defining the border options for a hovered point. */
+ border?: viz.core.Border;
+ /** Sets a color for a point when it is hovered over. */
+ color?: string;
+ /** Specifies the diameter of a hovered point in the series that represents data points as symbols (not as bars for instance). */
+ size?: number;
+ };
+ /** Specifies what series points to highlight when a point is selected. */
+ selectionMode?: string;
+ /** An object defining configuration options for a selected point. */
+ selectionStyle?: {
+ /** An object defining the border options for a selected point. */
+ border?: viz.core.Border;
+ /** Sets a color for a point when it is selected.
*/
+ color?: string;
+ /** Specifies the diameter of a selected point in the series that represents data points as symbols (not as bars for instance). */
+ size?: number;
+ };
+ /** Specifies the point diameter in pixels for those series that represent data points as symbols (not as bars for instance). */
+ size?: number;
+ /** Specifies a symbol for presenting points of the line and area series. */
+ symbol?: string;
+ visible?: boolean;
+ }
+ export interface ChartCommonPointOptions extends CommonPointOptions {
+ /** An object specifying the parameters of an image that is used as a point marker. */
+ image?: {
+ /** Specifies the height of an image that is used as a point marker. */
+ height?: any;
+ /** Specifies a URL leading to the image to be used as a point marker. */
+ url?: any;
+ /** Specifies the width of an image that is used as a point marker. */
+ width?: any;
+ };
+ }
+ export interface PolarCommonPointOptions extends CommonPointOptions {
+ /** An object specifying the parameters of an image that is used as a point marker. */
+ image?: {
+ /** Specifies the height of an image that is used as a point marker. */
+ height?: number;
+ /** Specifies a URL leading to the image to be used as a point marker. */
+ url?: string;
+ /** Specifies the width of an image that is used as a point marker. */
+ width?: number;
+ };
+ }
+ /** An object that defines configuration options for chart series. */
+ export interface CommonSeriesConfig extends BaseCommonSeriesConfig {
+ /** Specifies the data source field that provides a 'close' value for a _candleStick_ or _stock_ series. */
+ closeValueField?: string;
+ /** Specifies a radius for bar corners. */
+ cornerRadius?: number;
+ /** Specifies the data source field that provides a 'high' value for a _candleStick_ or _stock_ series. */
+ highValueField?: string;
+ /** Specifies the color for the body (rectangle) of a _candleStick_ series. */
+ innerColor?: string;
+ /** Specifies the data source field that provides a 'low' value for a _candleStick_ or _stock_ series. */
+ lowValueField?: string;
+ /** Specifies the data source field that provides an 'open' value for a _candleStick_ or _stock_ series. */
+ openValueField?: string;
+ /** Specifies the pane that will be used to display a series. */
+ pane?: string;
+ /** An object defining configuration options for points in line-, scatter- and area-like series. */
+ point?: ChartCommonPointOptions;
+ /** Specifies the data source field that provides values for one end of a range series. To set the data source field for the other end of the range series, use the rangeValue2Field property. */
+ rangeValue1Field?: string;
+ /** Specifies the data source field that provides values for the second end of a range series. To set the data source field for the other end of the range series, use the rangeValue1Field property. */
+ rangeValue2Field?: string;
+ /** Specifies reduction options for the stock or candleStick series. */
+ reduction?: {
+ /** Specifies a color for the points whose reduction level price is lower in comparison to the value in the previous point. */
+ color?: string;
+ /** Specifies for which price level (open, high, low or close) to enable reduction options in the series. */
+ level?: string;
+ };
+ /** Specifies the data source field that defines the size of bubbles. */
+ sizeField?: string;
+ }
+ export interface CommonSeriesSettings extends CommonSeriesConfig {
+ /** An object that specifies configuration options for all series of the area type in the chart.
*/
+ area?: CommonSeriesConfig;
+ /** An object that specifies configuration options for all series of the _bar_ type in the chart. */
+ bar?: CommonSeriesConfig;
+ /** An object that specifies configuration options for all series of the bubble type in the chart. */
+ bubble?: CommonSeriesConfig;
+ /** An object that specifies configuration options for all series of the _candleStick_ type in the chart. */
+ candlestick?: CommonSeriesConfig;
+ /** An object that specifies configuration options for all series of the _fullStackedArea_ type in the chart. */
+ fullstackedarea?: CommonSeriesConfig;
+ /** An object that specifies configuration options for all series of the Full-Stacked Spline Area type in the chart. */
+ fullstackedsplinearea?: CommonSeriesConfig;
+ /** An object that specifies configuration options for all series of the _fullStackedBar_ type in the chart. */
+ fullstackedbar?: CommonSeriesConfig;
+ /** An object that specifies configuration options for all series of the _fullStackedLine_ type in the chart. */
+ fullstackedline?: CommonSeriesConfig;
+ /** An object that specifies configuration options for all series of the Full-Stacked Spline type in the chart. */
+ fullstackedspline?: CommonSeriesConfig;
+ /** An object that specifies configuration options for all series of the _line_ type in the chart. */
+ line?: CommonSeriesConfig;
+ /** An object that specifies configuration options for all series of the _rangeArea_ type in the chart. */
+ rangearea?: CommonSeriesConfig;
+ /** An object that specifies configuration options for all series of the _rangeBar_ type in the chart. */
+ rangebar?: CommonSeriesConfig;
+ /** An object that specifies configuration options for all series of the _scatter_ type in the chart. */
+ scatter?: CommonSeriesConfig;
+ /** An object that specifies configuration options for all series of the _spline_ type in the chart. */
+ spline?: CommonSeriesConfig;
+ /** An object that specifies configuration options for all series of the _splineArea_ type in the chart. */
+ splinearea?: CommonSeriesConfig;
+ /** An object that specifies configuration options for all series of the _stackedArea_ type in the chart. */
+ stackedarea?: CommonSeriesConfig;
+ /** An object that specifies configuration options for all series of the Stacked Spline Area type in the chart. */
+ stackedsplinearea?: CommonSeriesConfig;
+ /** An object that specifies configuration options for all series of the _stackedBar_ type in the chart. */
+ stackedbar?: CommonSeriesConfig;
+ /** An object that specifies configuration options for all series of the _stackedLine_ type in the chart. */
+ stackedline?: CommonSeriesConfig;
+ /** An object that specifies configuration options for all series of the Stacked Spline type in the chart. */
+ stackedspline?: CommonSeriesConfig;
+ /** An object that specifies configuration options for all series of the _stepArea_ type in the chart. */
+ steparea?: CommonSeriesConfig;
+ /** An object that specifies configuration options for all series of the _stepLine_ type in the chart. */
+ stepline?: CommonSeriesConfig;
+ /** An object that specifies configuration options for all series of the _stock_ type in the chart. */
+ stock?: CommonSeriesConfig;
+ /** Sets a series type. */
+ type?: string;
+ }
+ export interface SeriesConfig extends CommonSeriesConfig {
+ /** Specifies the name that identifies the series. */
+ name?: string;
+ /** Specifies data about a series. */
+ tag?: any;
+ /** Sets the series type. */
+ type?: string;
+ }
+ /** An object that defines configuration options for polar chart series. */
+ export interface CommonPolarSeriesConfig extends BaseCommonSeriesConfig {
+ /** Specifies whether or not to close the chart by joining the end point with the first point. */
+ closed?: boolean;
+ label?: SeriesConfigLabel;
+ point?: PolarCommonPointOptions;
+ }
+ export interface CommonPolarSeriesSettings extends CommonPolarSeriesConfig {
+ /** An object that specifies configuration options for all series of the area type in the chart. */
+ area?: CommonPolarSeriesConfig;
+ /** An object that specifies configuration options for all series of the _bar_ type in the chart. */
+ bar?: CommonPolarSeriesConfig;
+ /** An object that specifies configuration options for all series of the _line_ type in the chart. */
+ line?: CommonPolarSeriesConfig;
+ /** An object that specifies configuration options for all series of the _scatter_ type in the chart. */
+ scatter?: CommonPolarSeriesConfig;
+ /** An object that specifies configuration options for all series of the _stackedBar_ type in the chart. */
+ stackedbar?: CommonPolarSeriesConfig;
+ /** Sets a series type. */
+ type?: string;
+ }
+ export interface PolarSeriesConfig extends CommonPolarSeriesConfig {
+ /** Specifies the name that identifies the series. */
+ name?: string;
+ /** Specifies data about a series. */
+ tag?: any;
+ /** Sets the series type. */
+ type?: string;
+ }
+ export interface PieSeriesConfigLabel extends BaseSeriesConfigLabel {
+ /** Specifies how to shift labels from their initial position in a radial direction in pixels. */
+ radialOffset?: number;
+ /** Specifies a precision for the percentage values displayed in labels. */
+ percentPrecision?: number;
+ }
+ /** An object that defines configuration options for chart series. */
+ export interface CommonPieSeriesConfig {
+ /** Specifies the data source field that provides arguments for series points. */
+ argumentField?: string;
+ /** Specifies the required type for series arguments. */
+ argumentType?: string;
+ /** An object defining the series border configuration options. */
+ border?: viz.core.DashedBorder;
+ /** Specifies a series color. */
+ color?: string;
+ /** Specifies the chart elements to highlight when a series is hovered over. */
+ hoverMode?: string;
+ /** An object defining configuration options for a hovered series. */
+ hoverStyle?: {
+ /** An object defining the border options for a hovered series. */
+ border?: viz.core.DashedBorder;
+ /** Sets a color for the series when it is hovered over. */
+ color?: string;
+ /** Specifies the hatching options to be applied when a point is hovered over. */
+ hatching?: viz.core.Hatching;
+ };
+ /** Specifies the fraction of the inner radius relative to the total radius in the series of the 'doughnut' type. */
+ innerRadius?: number;
+ /** An object defining the label configuration options. */
+ label?: PieSeriesConfigLabel;
+ /** Specifies how many points are acceptable to be in a series to display all labels for these points. Otherwise, the labels will not be displayed. */
+ maxLabelCount?: number;
+ /** Specifies a minimal size of a displayed pie segment. */
+ minSegmentSize?: number;
+ /** Specifies the direction in which the dxPieChart's series points are located. */
+ segmentsDirection?: string;
+ /** Specifies the chart elements to highlight when the series is selected.
*/
+ selectionMode?: string;
+ /** An object defining configuration options for the series when it is selected. */
+ selectionStyle?: {
+ /** An object defining the border options for a selected series. */
+ border?: viz.core.DashedBorder;
+ /** Sets a color for a series when it is selected. */
+ color?: string;
+ /** Specifies the hatching options to be applied when a point is selected. */
+ hatching?: viz.core.Hatching;
+ };
+ /** Specifies chart segment grouping options. */
+ smallValuesGrouping?: {
+ /** Specifies the name of the grouped chart segment. This name represents the segment in the chart legend. */
+ groupName?: string;
+ /** Specifies the segment grouping mode. */
+ mode?: string;
+ /** Specifies a threshold for segment values. */
+ threshold?: number;
+ /** Specifies how many segments must not be grouped. */
+ topCount?: number;
+ };
+ /** Specifies a start angle for a pie chart in arc degrees. */
+ startAngle?: number;
+ /** Specifies the name of the data source field that provides data about a point.
*/
+ tagField?: string;
+ /** Specifies the data source field that provides values for series points. */
+ valueField?: string;
+ }
+ export interface PieSeriesConfig extends CommonPieSeriesConfig {
+ /** Sets the series type. */
+ type?: string;
+ }
+ export interface SeriesTemplate {
+ /** Specifies a callback function that returns a series object with individual series settings. */
+ customizeSeries?: (seriesName: string) => SeriesConfig;
+ /** Specifies a data source field that represents the series name. */
+ nameField?: string;
+ }
+ export interface PolarSeriesTemplate {
+ /** Specifies a callback function that returns a series object with individual series settings. */
+ customizeSeries?: (seriesName: string) => PolarSeriesConfig;
+ /** Specifies a data source field that represents the series name. */
+ nameField?: string;
+ }
+ export interface ChartCommonConstantLineLabel {
+ /** Specifies font options for a constant line label. */
+ font?: viz.core.Font;
+ /** Specifies the position of the constant line label relative to the chart plot. */
+ position?: string;
+ /** Indicates whether or not to display labels for the axis constant lines. */
+ visible?: boolean;
+ }
+ export interface PolarCommonConstantLineLabel {
+ /** Indicates whether or not to display labels for the axis constant lines. */
+ visible?: boolean;
+ /** Specifies font options for a constant line label. */
+ font?: viz.core.Font;
+ }
+ export interface ConstantLineStyle {
+ /** Specifies a color for a constant line. */
+ color?: string;
+ /** Specifies a dash style for a constant line. */
+ dashStyle?: string;
+ /** Specifies a constant line width in pixels. */
+ width?: number;
+ }
+ export interface ChartCommonConstantLineStyle extends ConstantLineStyle {
+ /** An object defining constant line label options. */
+ label?: ChartCommonConstantLineLabel;
+ /** Specifies the space between the constant line label and the left/right side of the constant line. */
+ paddingLeftRight?: number;
+ /** Specifies the space between the constant line label and the top/bottom side of the constant line. */
+ paddingTopBottom?: number;
+ }
+ export interface PolarCommonConstantLineStyle extends ConstantLineStyle {
+ /** An object defining constant line label options. */
+ label?: PolarCommonConstantLineLabel;
+ }
+ export interface CommonAxisLabel {
+ /** Specifies font options for axis labels. */
+ font?: viz.core.Font;
+ /** Specifies the spacing between an axis and its labels in pixels. */
+ indentFromAxis?: number;
+ /** Indicates whether or not axis labels are visible. */
+ visible?: boolean;
+ }
+ export interface ChartCommonAxisLabel extends CommonAxisLabel {
+ /** Specifies the label's position relative to the tick (grid line). */
+ alignment?: string;
+ /** Specifies the overlap resolving algorithm to be applied to axis labels. */
+ overlappingBehavior?: {
+ /** Specifies how to arrange axis labels. */
+ mode?: string;
+ /** Specifies the angle used to rotate axis labels. */
+ rotationAngle?: number;
+ /** Specifies the spacing that must be set between staggered rows when the 'stagger' algorithm is applied. */
+ staggeringSpacing?: number;
+ };
+ }
+ export interface PolarCommonAxisLabel extends CommonAxisLabel {
+ /** Specifies the overlap resolving algorithm to be applied to axis labels. */
+ overlappingBehavior?: string;
+ }
+ export interface CommonAxisTitle {
+ /** Specifies font options for an axis title. */
+ font?: viz.core.Font;
+ /** Specifies a margin for an axis title in pixels. */
+ margin?: number;
+ }
+ export interface BaseCommonAxisSettings {
+ /** Specifies the color of the line that represents an axis. */
+ color?: string;
+ /** Specifies whether ticks/grid lines of a discrete axis are located between labels or cross the labels. */
+ discreteAxisDivisionMode?: string;
+ /** An object defining the configuration options for the grid lines of an axis in the dxPolarChart widget. */
+ grid?: {
+ /** Specifies a color for grid lines. */
+ color?: string;
+ /** Specifies an opacity for grid lines. */
+ opacity?: number;
+ /** Indicates whether or not the grid lines of an axis are visible. */
+ visible?: boolean;
+ /** Specifies the width of grid lines. */
+ width?: number;
+ };
+ /** Specifies the options of the minor grid. */
+ minorGrid?: {
+ /** Specifies a color for the lines of the minor grid. */
+ color?: string;
+ /** Specifies an opacity for the lines of the minor grid. */
+ opacity?: number;
+ /** Indicates whether the minor grid is visible or not. */
+ visible?: boolean;
+ /** Specifies a width for the lines of the minor grid. */
+ width?: number;
+ };
+ /** Indicates whether or not an axis is inverted. */
+ inverted?: boolean;
+ /** Specifies the opacity of the line that represents an axis. */
+ opacity?: number;
+ /** Indicates whether or not to set ticks/grid lines of a continuous axis of the 'date-time' type at the beginning of each date-time interval. */
+ setTicksAtUnitBeginning?: boolean;
+ /** An object defining the configuration options for axis ticks. */
+ tick?: {
+ /** Specifies ticks color. */
+ color?: string;
+ /** Specifies tick opacity. */
+ opacity?: number;
+ /** Indicates whether or not ticks are visible on an axis. */
+ visible?: boolean;
+ };
+ /** Specifies the options of the minor ticks. */
+ minorTick?: {
+ /** Specifies a color for the minor ticks. */
+ color?: string;
+ /** Specifies an opacity for the minor ticks. */
+ opacity?: number;
+ /** Indicates whether or not the minor ticks are displayed on an axis. */
+ visible?: boolean;
+ };
+ /** Indicates whether or not the line that represents an axis in a chart is visible. */
+ visible?: boolean;
+ /** Specifies the width of the line that represents an axis in the chart. */
+ width?: number;
+ }
+ export interface ChartCommonAxisSettings extends BaseCommonAxisSettings {
+ /** Specifies the appearance of all the widget's constant lines. */
+ constantLineStyle?: ChartCommonConstantLineStyle;
+ /** An object defining the label configuration options that are common for all axes in the dxChart widget. */
+ label?: ChartCommonAxisLabel;
+ /** Specifies a coefficient that determines the spacing between the maximum series point and the axis. */
+ maxValueMargin?: number;
+ /** Specifies a coefficient that determines the spacing between the minimum series point and the axis. */
+ minValueMargin?: number;
+ /** Specifies, in pixels, the space reserved for an axis. */
+ placeholderSize?: number;
+ /** An object defining configuration options for strip style. */
+ stripStyle?: {
+ /** An object defining the configuration options for a strip label style. */
+ label?: {
+ /** Specifies font options for a strip label. */
+ font?: viz.core.Font;
+ /** Specifies the label's position on a strip. */
+ horizontalAlignment?: string;
+ /** Specifies a label's position on a strip. */
+ verticalAlignment?: string;
+ };
+ /** Specifies the spacing, in pixels, between the left/right strip border and the strip label. */
+ paddingLeftRight?: number;
+ /** Specifies the spacing, in pixels, between the top/bottom strip borders and the strip label. */
+ paddingTopBottom?: number;
+ };
+ /** An object defining the title configuration options that are common for all axes in the dxChart widget. */
+ title?: CommonAxisTitle;
+ /** Indicates whether or not to display series with indents from axis boundaries. */
+ valueMarginsEnabled?: boolean;
+ }
+ export interface PolarCommonAxisSettings extends BaseCommonAxisSettings {
+ /** Specifies the appearance of all the widget's constant lines. */
+ constantLineStyle?: PolarCommonConstantLineStyle;
+ /** An object defining the label configuration options that are common for all axes in the dxPolarChart widget. */
+ label?: PolarCommonAxisLabel;
+ /** An object defining configuration options for strip style. */
+ stripStyle?: {
+ /** An object defining the configuration options for a strip label style. */
+ label?: {
+ /** Specifies font options for a strip label. */
+ font?: viz.core.Font;
+ };
+ };
+ }
+ export interface ChartConstantLineLabel extends ChartCommonConstantLineLabel {
+ /** Specifies the horizontal alignment of a constant line label. */
+ horizontalAlignment?: string;
+ /** Specifies the vertical alignment of a constant line label. */
+ verticalAlignment?: string;
+ /** Specifies the text to be displayed in a constant line label. */
+ text?: string;
+ }
+ export interface PolarConstantLineLabel extends PolarCommonConstantLineLabel {
+ /** Specifies the text to be displayed in a constant line label. */
+ text?: string;
+ }
+ export interface AxisLabel {
+ /** Specifies the text for a hint that appears when a user hovers the mouse pointer over a label on the value axis. */
+ customizeHint?: (argument: { value: any; valueText: string }) => string;
+ /** Specifies a callback function that returns the text to be displayed in value axis labels. */
+ customizeText?: (argument: { value: any; valueText: string }) => string;
+ /** Specifies a format for the text displayed by axis labels. */
+ format?: string;
+ /** Specifies a precision for the formatted value displayed in the axis labels. */
+ precision?: number;
+ }
+ export interface ChartAxisLabel extends ChartCommonAxisLabel, AxisLabel { }
+ export interface PolarAxisLabel extends PolarCommonAxisLabel, AxisLabel { }
+ export interface AxisTitle extends CommonAxisTitle {
+ /** Specifies the text for the value axis title. */
+ text?: string;
+ }
+ export interface ChartConstantLineStyle extends ChartCommonConstantLineStyle {
+ /** An object defining constant line label options. */
+ label?: ChartConstantLineLabel;
+ }
+ export interface ChartConstantLine extends ChartConstantLineStyle {
+ /** An object defining constant line label options. */
+ label?: ChartConstantLineLabel;
+ /** Specifies a value to be displayed by a constant line. */
+ value?: any;
+ }
+ export interface PolarConstantLine extends PolarCommonConstantLineStyle {
+ /** An object defining constant line label options. */
+ label?: PolarConstantLineLabel;
+ /** Specifies a value to be displayed by a constant line. */
+ value?: any;
+ }
+ export interface Axis {
+ /** Specifies a coefficient for dividing the value axis. */
+ axisDivisionFactor?: number;
+ /** Specifies the order in which discrete values are arranged on the value axis. */
+ categories?: Array;
+ /** Specifies the value to be raised to a power when generating ticks for a logarithmic axis. */
+ logarithmBase?: number;
+ /** Specifies an interval between axis ticks/grid lines. */
+ tickInterval?: any;
+ /** Specifies the interval between minor ticks. */
+ minorTickInterval?: any;
+ /** Specifies the number of minor ticks between two neighboring major ticks. */
+ minorTickCount?: number;
+ /** Specifies the required type of the value axis. */
+ type?: string;
+ /** Specifies the pane on which the current value axis will be displayed. */
+ pane?: string;
+ /** Specifies options for value axis strips. */
+ strips?: Array;
+ }
+ export interface ChartAxis extends ChartCommonAxisSettings, Axis {
+ /** Defines an array of the value axis constant lines. */
+ constantLines?: Array;
+ /** Specifies the appearance options for the constant lines of the value axis. */
+ constantLineStyle?: ChartCommonConstantLineStyle;
+ /** Specifies options for value axis labels. */
+ label?: ChartAxisLabel;
+ /** Specifies the maximum value on the value axis. */
+ max?: any;
+ /** Specifies the minimum value on the value axis. */
+ min?: any;
+ /** Specifies the position of the value axis on a chart. */
+ position?: string;
+ /** Specifies the title for a value axis. */
+ title?: AxisTitle;
+ }
+ export interface PolarAxis extends PolarCommonAxisSettings, Axis {
+ /** Defines an array of the value axis constant lines. */
+ constantLines?: Array;
+ /** Specifies options for value axis labels. */
+ label?: PolarAxisLabel;
+ }
+ export interface ArgumentAxis {
+ /** Specifies the desired type of axis values. */
+ argumentType?: string;
+ /** Specifies the elements that will be highlighted when the argument axis is hovered over. */
+ hoverMode?: string;
+ }
+ export interface ChartArgumentAxis extends ChartAxis, ArgumentAxis { }
+ export interface PolarArgumentAxis extends PolarAxis, ArgumentAxis {
+ /** Specifies a start angle for the argument axis in degrees. */
+ startAngle?: number;
+ /** Specifies whether or not to display the first point at the angle specified by the startAngle option. */
+ firstPointOnStartAngle?: boolean;
+ /** Specifies the period of the argument values in the data source. */
+ period?: number;
+ }
+ export interface ValueAxis {
+ /** Specifies the name of the value axis. */
+ name?: string;
+ /** Specifies whether or not to indicate a zero value on the value axis. */
+ showZero?: boolean;
+ /** Specifies the desired type of axis values. */
+ valueType?: string;
+ }
+ export interface ChartValueAxis extends ChartAxis, ValueAxis {
+ /** Specifies the spacing, in pixels, between multiple value axes in a chart. */
+ multipleAxesSpacing?: number;
+ /** Specifies the value by which the chart's value axes are synchronized. */
+ synchronizedValue?: number;
+ }
+ export interface PolarValueAxis extends PolarAxis, ValueAxis {
+ /** Indicates whether to display series with indents from axis boundaries. */
+ valueMarginsEnabled?: boolean;
+ /** Specifies a coefficient that determines the spacing between the maximum series point and the axis. */
+ maxValueMargin?: number;
+ /** Specifies a coefficient that determines the spacing between the minimum series point and the axis. */
+ minValueMargin?: number;
+ tick?: {
+ visible?: boolean;
+ }
+ }
+ export interface CommonPane {
+ /** Specifies a background color in a pane. */
+ backgroundColor?: string;
+ /** Specifies the border options of a chart's pane. */
+ border?: PaneBorder;
+ }
+ export interface Pane extends CommonPane {
+ /** Specifies the name of a pane. */
+ name?: string;
+ }
+ export interface PaneBorder extends viz.core.DashedBorderWithOpacity {
+ /** Specifies the bottom border's visibility state in a pane. */
+ bottom?: boolean;
+ /** Specifies the left border's visibility state in a pane. */
+ left?: boolean;
+ /** Specifies the right border's visibility state in a pane. */
+ right?: boolean;
+ /** Specifies the top border's visibility state in a pane. */
+ top?: boolean;
+ }
+ export interface ChartAnimation extends viz.core.Animation {
+ /** Specifies the maximum series point count in the chart that the animation supports. */
+ maxPointCountSupported?: number;
+ }
+ export interface BaseChartTooltip extends viz.core.Tooltip {
+ /** Specifies a format for arguments of the chart's series points. */
+ argumentFormat?: string;
+ /** Specifies a precision for formatted arguments displayed in tooltips. */
+ argumentPrecision?: number;
+ /** Specifies a precision for a percent value displayed in tooltips for stacked series and dxPieChart series. */
+ percentPrecision?: number;
+ }
+ export interface BaseChartOptions extends viz.core.BaseWidgetOptions {
+ /** Specifies adaptive layout options. */
+ adaptiveLayout?: {
+ /** Specifies the width of the widget that is small enough for the layout to begin adapting. */
+ width?: number;
+ /** Specifies the height of the widget that is small enough for the layout to begin adapting. */
+ height?: number;
+ /** Specifies whether or not point labels can be hidden when the layout is adapting. */
+ keepLabels?: boolean;
+ };
+ /** Specifies animation options. */
+ animation?: ChartAnimation;
+ /** Specifies a callback function that returns an object with options for a specific point label. */
+ customizeLabel?: (labelInfo: Object) => Object;
+ /** Specifies a callback function that returns an object with options for a specific point. */
+ customizePoint?: (pointInfo: Object) => Object;
+ /** Specifies a data source for the chart. */
+ dataSource?: any;
+ done?: Function;
+ /** Specifies the appearance of the loading indicator. */
+ loadingIndicator?: viz.core.LoadingIndicator;
+ /** Specifies options of a dxChart's (dxPieChart's) legend. */
+ legend?: core.BaseLegend;
+ /** Specifies the blank space between the chart's extreme elements and the boundaries of the area provided for the widget (see size) in pixels. */
+ margin?: viz.core.Margins;
+ /** Sets the name of the palette to be used in the chart. Alternatively, an array of colors can be set as a custom palette to be used within this chart. */
+ palette?: any;
+ /** A handler for the done event. */
+ onDone?: (e: {
+ component: BaseChart;
+ element: Element;
+ }) => void;
+ /** A handler for the pointClick event. */
+ onPointClick?: any;
+ pointClick?: any;
+ /** A handler for the pointHoverChanged event. */
+ onPointHoverChanged?: (e: {
+ component: BaseChart;
+ element: Element;
+ target: TPoint;
+ }) => void;
+ pointHoverChanged?: (point: TPoint) => void;
+ /** A handler for the pointSelectionChanged event. */
+ onPointSelectionChanged?: (e: {
+ component: BaseChart;
+ element: Element;
+ target: TPoint;
+ }) => void;
+ pointSelectionChanged?: (point: TPoint) => void;
+ /** Specifies whether a single point or multiple points can be selected in the chart. */
+ pointSelectionMode?: string;
+ /** Specifies whether to redraw the widget when the size of the parent browser window changes or a mobile device rotates. */
+ redrawOnResize?: boolean;
+ /** Specifies options for the dxChart and dxPieChart widget series. */
+ series?: any;
+ /** Specifies the size of the widget in pixels. */
+ size?: viz.core.Size;
+ /** Specifies a title for the chart. */
+ title?: {
+ /** Specifies font options for the title. */
+ font?: viz.core.Font;
+ /** Specifies the title's horizontal position in the chart. */
+ horizontalAlignment?: string;
+ /** Specifies a title's position on the chart in the vertical direction. */
+ verticalAlignment?: string;
+ /** Specifies the distance between the title and surrounding chart elements in pixels. */
+ margin?: viz.core.Margins;
+ /** Specifies the height of the space reserved for the title. */
+ placeholderSize?: number;
+ /** Specifies a text for the chart's title. */
+ text?: string;
+ };
+ /** Specifies tooltip options. */
+ tooltip?: BaseChartTooltip;
+ /** A handler for the tooltipShown event. */
+ onTooltipShown?: (e: {
+ component: BaseChart;
+ element: Element;
+ target: BasePoint;
+ }) => void;
+ /** A handler for the tooltipHidden event. */
+ onTooltipHidden?: (e: {
+ component: BaseChart;
+ element: Element;
+ target: BasePoint;
+ }) => void;
+ tooltipHidden?: (point: TPoint) => void;
+ tooltipShown?: (point: TPoint) => void;
+ }
+ /** A base class for all chart widgets included in the ChartJS library. */
+ export class BaseChart extends viz.core.BaseWidget {
+ /** Deselects the chart's selected series. The series is displayed in an initial style. */
+ clearSelection(): void;
+ /** Gets the current size of the widget. */
+ getSize(): { width: number; height: number };
+ /** Displays the loading indicator. */
+ showLoadingIndicator(): void;
+ /** Conceals the loading indicator. */
+ hideLoadingIndicator(): void;
+ /** Hides all widget tooltips. */
+ hideTooltip(): void;
+ /** Redraws a widget. */
+ render(renderOptions?: {
+ force?: boolean;
+ animate?: boolean;
+ asyncSeriesRendering?: boolean;
+ }): void;
+ }
+ export interface AdvancedLegend extends core.BaseLegend {
+ /** Specifies the text for a hint that appears when a user hovers the mouse pointer over a legend item. */
+ customizeHint?: (seriesInfo: { seriesName: string; seriesIndex: number; seriesColor: string; }) => string;
+ /** Specifies a callback function that returns the text to be displayed by legend items.
*/
+ customizeText?: (seriesInfo: { seriesName: string; seriesIndex: number; seriesColor: string; }) => string;
+ /** Specifies what series elements to highlight when a corresponding item in the legend is hovered over. */
+ hoverMode?: string;
+ }
+ export interface AdvancedOptions extends BaseChartOptions {
+ /** A handler for the argumentAxisClick event. */
+ onArgumentAxisClick?: any;
+ /** Specifies the color of the parent page element. */
+ containerBackgroundColor?: string;
+ /** An object providing options for managing data from a data source. */
+ dataPrepareSettings?: {
+ /** Specifies whether or not to validate the values from a data source. */
+ checkTypeForAllData?: boolean;
+ /** Specifies whether or not to convert the values from a data source into the data type of an axis. */
+ convertToAxisDataType?: boolean;
+ /** Specifies how to sort the series points. */
+ sortingMethod?: any;
+ };
+ /** A handler for the legendClick event. */
+ onLegendClick?: any;
+ /** A handler for the seriesClick event. */
+ onSeriesClick?: any;
+ /** A handler for the seriesHoverChanged event. */
+ onSeriesHoverChanged?: (e: {
+ component: BaseChart;
+ element: Element;
+ target: TSeries;
+ }) => void;
+ /** A handler for the seriesSelectionChanged event. */
+ onSeriesSelectionChanged?: (e: {
+ component: BaseChart;
+ element: Element;
+ target: TSeries;
+ }) => void;
+ /** Specifies whether a single series or multiple series can be selected in the chart. */
+ seriesSelectionMode?: string;
+ /** Specifies how the chart must behave when series point labels overlap. */
+ resolveLabelOverlapping?: string;
+ }
+ export interface Legend extends AdvancedLegend {
+ /** Specifies whether the legend is located outside or inside the chart's plot. */
+ position?: string;
+ }
+ export interface ChartTooltip extends BaseChartTooltip {
+ /** Specifies whether the tooltip must be located in the center of a bar or on its edge. Applies to the Bar and Bubble series. */
+ location?: string;
+ /** Specifies the kind of information to display in a tooltip. */
+ shared?: boolean;
+ }
+ export interface dxChartOptions extends AdvancedOptions {
+ /** Specifies a value indicating whether all bars in a series must have the same width, or may have different widths if any points in other series are missing. */
+ equalBarWidth?: any;
+ adaptiveLayout?: {
+ keepLabels?: boolean;
+ };
+ /** Indicates whether or not to synchronize value axes when they are displayed on a single pane. */
+ synchronizeMultiAxes?: boolean;
+ /** Specifies whether or not to filter the series points depending on their quantity. */
+ useAggregation?: boolean;
+ /** Indicates whether or not to adjust a value axis to the current minimum and maximum values of a zoomed chart. */
+ adjustOnZoom?: boolean;
+ /** Specifies argument axis options for the dxChart widget. */
+ argumentAxis?: ChartArgumentAxis;
+ argumentAxisClick?: any;
+ /** An object defining the configuration options that are common for all axes of the dxChart widget. */
+ commonAxisSettings?: ChartCommonAxisSettings;
+ /** An object defining the configuration options that are common for all panes in the dxChart widget. */
+ commonPaneSettings?: CommonPane;
+ /** An object defining the configuration options that are common for all series of the dxChart widget. */
+ commonSeriesSettings?: CommonSeriesSettings;
+ /** An object that specifies the appearance options of the chart crosshair. */
+ crosshair?: {
+ /** Specifies a color for the crosshair lines. */
+ color?: string;
+ /** Specifies a dash style for the crosshair lines. */
+ dashStyle?: string;
+ /** Specifies whether to enable the crosshair or not. */
+ enabled?: boolean;
+ /** Specifies the opacity of the crosshair lines. */
+ opacity?: number;
+ /** Specifies the width of the crosshair lines. */
+ width?: number;
+ /** Specifies the appearance of the horizontal crosshair line. */
+ horizontalLine?: CrosshaierWithLabel;
+ /** Specifies the appearance of the vertical crosshair line. */
+ verticalLine?: CrosshaierWithLabel;
+ /** Specifies the options of the crosshair labels. */
+ label?: {
+ /** Specifies a color for the background of the crosshair labels. */
+ backgroundColor?: string;
+ /** Specifies whether the crosshair labels are visible or not. */
+ visible?: boolean;
+ /** Specifies font options for the text of the crosshair labels. */
+ font?: viz.core.Font;
+ }
+ };
+ /** Specifies a default pane for the chart's series. */
+ defaultPane?: string;
+ /** Specifies a coefficient determining the diameter of the largest bubble. */
+ maxBubbleSize?: number;
+ /** Specifies the diameter of the smallest bubble measured in pixels. */
+ minBubbleSize?: number;
+ /** Defines the dxChart widget's pane(s) . */
+ panes?: Array;
+ /** Swaps the axes round so that the value axis becomes horizontal and the argument axes becomes vertical. */
+ rotated?: boolean;
+ /** Specifies the options of a chart's legend. */
+ legend?: Legend;
+ /** Specifies options for dxChart widget series. */
+ series?: Array;
+ legendClick?: any;
+ seriesClick?: any;
+ seriesHoverChanged?: (series: ChartSeries) => void;
+ seriesSelectionChanged?: (series: ChartSeries) => void;
+ /** Defines options for the series template. */
+ seriesTemplate?: SeriesTemplate;
+ /** Specifies tooltip options. */
+ tooltip?: ChartTooltip;
+ /** Specifies value axis options for the dxChart widget. */
+ valueAxis?: Array;
+ /** Enables scrolling in your chart. */
+ scrollingMode?: string;
+ /** Enables zooming in your chart. */
+ zoomingMode?: string;
+ /** Specifies the settings of the scroll bar. */
+ scrollBar?: {
+ /** Specifies whether the scroll bar is visible or not. */
+ visible?: boolean;
+ /** Specifies the spacing between the scroll bar and the chart's plot in pixels. */
+ offset?: number;
+ /** Specifies the color of the scroll bar. */
+ color?: string;
+ /** Specifies the width of the scroll bar in pixels. */
+ width?: number;
+ /** Specifies the opacity of the scroll bar. */
+ opacity?: number;
+ /** Specifies the position of the scroll bar in the chart. */
+ position?: string;
+ };
+ }
+ /** A widget used to embed charts into HTML JS applications. */
+ export class dxChart extends BaseChart {
+ constructor(element: JQuery, options?: dxChartOptions);
+ constructor(element: Element, options?: dxChartOptions);
+ /** Returns an array of all series in the chart. */
+ getAllSeries(): Array;
+ /** Gets a series within the chart's series collection by the specified name (see the name option). */
+ getSeriesByName(seriesName: string): ChartSeries;
+ /** Gets a series within the chart's series collection by its position number. */
+ getSeriesByPos(seriesIndex: number): ChartSeries;
+ /** Sets the specified start and end values for the chart's argument axis. */
+ zoomArgument(startValue: any, endValue: any): void;
+ }
+ interface CrosshaierWithLabel extends viz.core.DashedBorderWithOpacity {
+ /** Configures the label that belongs to the horizontal crosshair line. */
+ label?: {
+ /** Specifies a color for the background of the label that belongs to the horizontal crosshair line. */
+ backgroundColor?: string;
+ /** Specifies whether the label of the horizontal crosshair line is visible or not. */
+ visible?: boolean;
+ /** Specifies font options for the text of the label that belongs to the horizontal crosshair line. */
+ font?: viz.core.Font;
+ }
+ }
+ export interface PolarChartTooltip extends BaseChartTooltip {
+ /** Specifies the kind of information to display in a tooltip. */
+ shared?: boolean;
+ }
+ export interface dxPolarChartOptions extends AdvancedOptions {
+ /** Specifies a value indicating whether all bars in a series must have the same angle, or may have different angles if any points in other series are missing. */
+ equalBarWidth?: boolean;
+ /** Specifies adaptive layout options. */
+ adaptiveLayout?: {
+ width?: number;
+ height?: number;
+ /** Specifies whether or not point labels can be hidden when the layout is adapting. */
+ keepLabels?: boolean;
+ };
+ /** Indicates whether or not to display a "spider web". */
+ useSpiderWeb?: boolean;
+ /** Specifies argument axis options for the dxPolarChart widget. */
+ argumentAxis?: PolarArgumentAxis;
+ /** An object defining the configuration options that are common for all axes of the dxPolarChart widget. */
+ commonAxisSettings?: PolarCommonAxisSettings;
+ /** An object defining the configuration options that are common for all series of the dxPolarChart widget. */
+ commonSeriesSettings?: CommonPolarSeriesSettings;
+ /** Specifies the options of a chart's legend. */
+ legend?: AdvancedLegend;
+ /** Specifies options for dxPolarChart widget series. */
+ series?: Array;
+ /** Defines options for the series template. */
+ seriesTemplate?: PolarSeriesTemplate;
+ /** Specifies tooltip options. */
+ tooltip?: PolarChartTooltip;
+ /** Specifies value axis options for the dxPolarChart widget. */
+ valueAxis?: PolarValueAxis;
+ }
+ /** A chart widget displaying data in a polar coordinate system. */
+ export class dxPolarChart extends BaseChart {
+ constructor(element: JQuery, options?: dxPolarChartOptions);
+ constructor(element: Element, options?: dxPolarChartOptions);
+ /** Returns an array of all series in the chart. */
+ getAllSeries(): Array;
+ /** Gets a series within the chart's series collection by the specified name (see the name option). */
+ getSeriesByName(seriesName: string): PolarSeries;
+ /** Gets a series within the chart's series collection by its position number. */
+ getSeriesByPos(seriesIndex: number): PolarSeries;
+ }
+ export interface PieLegend extends core.BaseLegend {
+ /** Specifies what chart elements to highlight when a corresponding item in the legend is hovered over. */
+ hoverMode?: string;
+ /** Specifies the text for a hint that appears when a user hovers the mouse pointer over a legend item. */
+ customizeHint?: (pointInfo: { pointName: string; pointIndex: number; pointColor: string; }) => string;
+ /** Specifies a callback function that returns the text to be displayed by a legend item. */
+ customizeText?: (pointInfo: { pointName: string; pointIndex: number; pointColor: string; }) => string;
+ }
+ export interface dxPieChartOptions extends BaseChartOptions {
+ /** Specifies adaptive layout options. */
+ adaptiveLayout?: {
+ /** Specifies whether or not point labels can be hidden when the layout is adapting. */
+ keepLabels?: boolean;
+ };
+ /** Specifies dxPieChart legend options. */
+ legend?: PieLegend;
+ /** Specifies options for the series of the dxPieChart widget. */
+ series?: Array;
+ /** Specifies the diameter of the pie. */
+ diameter?: number;
+ /** A handler for the legendClick event. */
+ onLegendClick?: any;
+ legendClick?: any;
+ /** Specifies how a chart must behave when series point labels overlap. */
+ resolveLabelOverlapping?: string;
+ }
+ /** A circular chart widget for HTML JS applications. */
+ export class dxPieChart extends BaseChart {
+ constructor(element: JQuery, options?: dxPieChartOptions);
+ constructor(element: Element, options?: dxPieChartOptions);
+ /** Provides access to the dxPieChart series. */
+ getSeries(): PieSeries;
+ }
+}
+interface JQuery {
+ dxChart(options?: DevExpress.viz.charts.dxChartOptions): JQuery;
+ dxChart(methodName: string, ...params: any[]): any;
+ dxChart(methodName: "instance"): DevExpress.viz.charts.dxChart;
+ dxPieChart(options?: DevExpress.viz.charts.dxPieChartOptions): JQuery;
+ dxPieChart(methodName: string, ...params: any[]): any;
+ dxPieChart(methodName: "instance"): DevExpress.viz.charts.dxPieChart;
+ dxPolarChart(options?: DevExpress.viz.charts.dxPolarChartOptions): JQuery;
+ dxPolarChart(methodName: string, ...params: any[]): any;
+ dxPolarChart(methodName: "instance"): DevExpress.viz.charts.dxPolarChart;
+}
+declare module DevExpress.viz.gauges {
+ export interface BaseRangeContainer {
+ /** Specifies a range container's background color. */
+ backgroundColor?: string;
+ /** Specifies the offset of the range container from an invisible scale line in pixels. */
+ offset?: number;
+ /** Sets the name of the palette or an array of colors to be used for coloring the gauge range container. */
+ palette?: any;
+ /** An array of objects representing ranges contained in the range container. */
+ ranges?: Array<{ startValue: number; endValue: number; color: string }>;
+ /** Specifies a color of a range. */
+ color?: string;
+ /** Specifies an end value of a range. */
+ endValue?: number;
+ /** Specifies a start value of a range. */
+ startValue?: number;
+ }
+ export interface ScaleTick {
+ /** Specifies the color of the scale's minor ticks. */
+ color?: string;
+ /** Specifies an array of custom minor ticks. */
+ customTickValues?: Array;
+ /** Specifies the length of the scale's minor ticks. */
+ length?: number;
+ /** Indicates whether automatically calculated minor ticks are visible or not. */
+ showCalculatedTicks?: boolean;
+ /** Specifies an interval between minor ticks. */
+ tickInterval?: number;
+ /** Indicates whether scale minor ticks are visible or not. */
+ visible?: boolean;
+ /** Specifies the width of the scale's minor ticks. */
+ width?: number;
+ }
+ export interface ScaleMajorTick extends ScaleTick {
+ /** Specifies whether or not to expand the current major tick interval if labels overlap each other. */
+ useTicksAutoArrangement?: boolean;
+ }
+ export interface BaseScaleLabel {
+ /** Specifies whether or not scale labels should be colored similarly to their corresponding ranges in the range container. */
+ useRangeColors?: boolean;
+ /** Specifies a callback function that returns the text to be displayed in scale labels. */
+ customizeText?: (scaleValue: { value: number; valueText: string }) => string;
+ /** Specifies font options for the text displayed in the scale labels of the gauge. */
+ font?: viz.core.Font;
+ /** Specifies a format for the text displayed in scale labels. */
+ format?: string;
+ /** Specifies a precision for the formatted value displayed in the scale labels. */
+ precision?: number;
+ /** Specifies whether or not scale labels are visible on the gauge. */
+ visible?: boolean;
+ }
+ export interface BaseScale {
+ /** Specifies the end value for the scale of the gauge. */
+ endValue?: number;
+ /** Specifies whether or not to hide the first scale label. */
+ hideFirstLabel?: boolean;
+ /** Specifies whether or not to hide the first major tick on the scale. */
+ hideFirstTick?: boolean;
+ /** Specifies whether or not to hide the last scale label. */
+ hideLastLabel?: boolean;
+ /** Specifies whether or not to hide the last major tick on the scale. */
+ hideLastTick?: boolean;
+ /** Specifies common options for scale labels. */
+ label?: BaseScaleLabel;
+ /** Specifies options of the gauge's major ticks. */
+ majorTick?: ScaleMajorTick;
+ /** Specifies options of the gauge's minor ticks. */
+ minorTick?: ScaleTick;
+ /** Specifies the start value for the scale of the gauge. */
+ startValue?: number;
+ }
+ export interface BaseValueIndicator {
+ /** Specifies the type of subvalue indicators. */
+ type?: string;
+ /** Specifies the background color for the indicator of the rangeBar type. */
+ backgroundColor?: string;
+ /** Specifies the base value for the indicator of the rangeBar type. */
+ baseValue?: number;
+ /** Specifies a color of the indicator. */
+ color?: string;
+ /** Specifies the range bar size for an indicator of the rangeBar type. */
+ size?: number;
+ text?: {
+ /** Specifies a callback function that returns the text to be displayed in an indicator. */
+ customizeText?: (indicatedValue: { value: number; valueText: string }) => string;
+ font?: viz.core.Font;
+ /** Specifies a format for the text displayed in an indicator. */
+ format?: string;
+ /** Specifies the range bar's label indent in pixels. */
+ indent?: number;
+ /** Specifies a precision for the formatted value displayed by an indicator. */
+ precision?: number;
+ };
+ offset?: number;
+ length?: number;
+ width?: number;
+ /** Specifies the length of an arrow for the indicator of the textCloud type in pixels. */
+ arrowLength?: number;
+ /** Sets the array of colors to be used for coloring subvalue indicators. */
+ palette?: Array;
+ /** Specifies the distance between the needle and the center of a gauge for the indicator of a needle-like type. */
+ indentFromCenter?: number;
+ /** Specifies the second color for the indicator of the twoColorNeedle type. */
+ secondColor?: string;
+ /** Specifies the length of a twoNeedleColor type indicator tip as a percentage. */
+ secondFraction?: number;
+ /** Specifies the spindle's diameter in pixels for the indicator of a needle-like type. */
+ spindleSize?: number;
+ /** Specifies the inner diameter in pixels, so that the spindle has the shape of a ring. */
+ spindleGapSize?: number;
+ /** Specifies the orientation of the rangeBar indicator on a vertically oriented dxLinearGauge widget. */
+ horizontalOrientation?: string;
+ /** Specifies the orientation of the rangeBar indicator on a horizontally oriented dxLinearGauge widget. */
+ verticalOrientation?: string;
+ }
+ export interface SharedGaugeOptions {
+ /** Specifies animation options. */
+ animation?: viz.core.Animation;
+ /** Specifies the appearance of the loading indicator. */
+ loadingIndicator?: viz.core.LoadingIndicator;
+ /** Specifies whether to redraw the widget when the size of the parent browser window changes or a mobile device rotates. */
+ redrawOnResize?: boolean;
+ /** Specifies the size of the widget in pixels. */
+ size?: viz.core.Size;
+ /** Specifies a subtitle for a gauge. */
+ subtitle?: {
+ /** Specifies font options for the subtitle. */
+ font?: viz.core.Font;
+ /** Specifies a text for the subtitle. */
+ text?: string;
+ };
+ /** Specifies a title for a gauge. */
+ title?: {
+ /** Specifies font options for the title. */
+ font?: viz.core.Font;
+ /** Specifies a title's position on the gauge. */
+ position?: string;
+ /** Specifies a text for the title. */
+ text?: string;
+ };
+ /** Specifies options for gauge tooltips. */
+ tooltip?: viz.core.Tooltip;
+ /** A handler for the tooltipShown event. */
+ onTooltipShown?: (e: {
+ component: dxBaseGauge;
+ element: Element;
+ target: {};
+ }) => void;
+ /** A handler for the tooltipHidden event. */
+ onTooltipHidden?: (e: {
+ component: dxBaseGauge;
+ element: Element;
+ target: {};
+ }) => void;
+ }
+ export interface BaseGaugeOptions extends viz.core.BaseWidgetOptions, SharedGaugeOptions {
+ /** Specifies the color of the parent page element. */
+ containerBackgroundColor?: string;
+ /** Specifies the blank space in pixels between the widget's extreme elements and the boundaries of the area provided for the widget (see the size option). */
+ margin?: viz.core.Margins;
+ /** Specifies options of the gauge's range container. */
+ rangeContainer?: BaseRangeContainer;
+ /** Specifies a gauge's scale options. */
+ scale?: BaseScale;
+ /** Specifies the appearance options of subvalue indicators. */
+ subvalueIndicator?: BaseValueIndicator;
+ /** Specifies a set of subvalues to be designated by the subvalue indicators. */
+ subvalues?: Array;
+ /** Specifies the main value on a gauge. */
+ value?: number;
+ /** Specifies the appearance options of the value indicator. */
+ valueIndicator?: BaseValueIndicator;
+ }
+ /** A gauge widget. */
+ export class dxBaseGauge extends viz.core.BaseWidget {
+ /** Displays the loading indicator. */
+ showLoadingIndicator(): void;
+ /** Conceals the loading indicator. */
+ hideLoadingIndicator(): void;
+ /** Redraws a widget. */
+ render(): void;
+ /** Returns the main gauge value. */
+ value(): number;
+ /** Updates a gauge value. */
+ value(value: number): void;
+ /** Returns an array of gauge subvalues. */
+ subvalues(): Array;
+ /** Updates gauge subvalues. */
+ subvalues(subvalues: Array): void;
+ }
+ export interface LinearRangeContainer extends BaseRangeContainer {
+ /** Specifies the orientation of the range container on a vertically oriented dxLinearGauge widget. */
+ horizontalOrientation?: string;
+ /** Specifies the orientation of a range container on a horizontally oriented dxLinearGauge widget. */
+ verticalOrientation?: string;
+ /** Specifies the width of the range container's start and end boundaries in the dxLinearGauge widget. */
+ width?: any;
+ /** Specifies an end width of a range container. */
+ end?: number;
+ /** Specifies a start width of a range container. */
+ start?: number;
+ }
+ export interface LinearScaleLabel extends BaseScaleLabel {
+ /** Specifies the spacing between scale labels and ticks. */
+ indentFromTick?: number;
+ }
+ export interface LinearScale extends BaseScale {
+ /** Specifies the orientation of scale ticks on a vertically oriented dxLinearGauge widget. */
+ horizontalOrientation?: string;
+ label?: LinearScaleLabel;
+ /** Specifies the orientation of scale ticks on a horizontally oriented dxLinearGauge widget. */
+ verticalOrientation?: string;
+ }
+ export interface dxLinearGaugeOptions extends BaseGaugeOptions {
+ /** Specifies the options required to set the geometry of the dxLinearGauge widget. */
+ geometry?: {
+ /** Indicates whether to display the dxLinearGauge widget vertically or horizontally. */
+ orientation?: string;
+ };
+ /** Specifies gauge range container options. */
+ rangeContainer?: LinearRangeContainer;
+ scale?: LinearScale;
+ }
+ /** A widget that represents a gauge with a linear scale. */
+ export class dxLinearGauge extends dxBaseGauge {
+ constructor(element: JQuery, options?: dxLinearGaugeOptions);
+ constructor(element: Element, options?: dxLinearGaugeOptions);
+ }
+ export interface CircularRangeContainer extends BaseRangeContainer {
+ /** Specifies the orientation of the range container in the dxCircularGauge widget. */
+ orientation?: string;
+ /** Specifies the range container's width in pixels. */
+ width?: number;
+ }
+ export interface CircularScaleLabel extends BaseScaleLabel {
+ /** Specifies the spacing between scale labels and ticks. */
+ indentFromTick?: number;
+ }
+ export interface CircularScale extends BaseScale {
+ label?: CircularScaleLabel;
+ /** Specifies the orientation of scale ticks. */
+ orientation?: string;
+ }
+ export interface dxCircularGaugeOptions extends BaseGaugeOptions {
+ /** Specifies the options required to set the geometry of the dxCircularGauge widget. */
+ geometry?: {
+ /** Specifies the end angle of the circular gauge's arc. */
+ endAngle?: number;
+ /** Specifies the start angle of the circular gauge's arc. */
+ startAngle?: number;
+ };
+ /** Specifies gauge range container options. */
+ rangeContainer?: CircularRangeContainer;
+ scale?: CircularScale;
+ }
+ /** A widget that represents a gauge with a circular scale. */
+ export class dxCircularGauge extends dxBaseGauge {
+ constructor(element: JQuery, options?: dxCircularGaugeOptions);
+ constructor(element: Element, options?: dxCircularGaugeOptions);
+ }
+ export interface dxBarGaugeOptions extends viz.core.BaseWidgetOptions, SharedGaugeOptions {
+ /** Specifies a color for the remaining segment of the bar's track. */
+ backgroundColor?: string;
+ /** Specifies a distance between bars in pixels. */
+ barSpacing?: number;
+ /** Specifies a base value for bars. */
+ baseValue?: number;
+ /** Specifies an end value for the gauge's invisible scale. */
+ endValue?: number;
+ /** Defines the shape of the gauge's arc. */
+ geometry?: {
+ /** Specifies the end angle of the bar gauge's arc. */
+ endAngle?: number;
+ /** Specifies the start angle of the bar gauge's arc. */
+ startAngle?: number;
+ };
+ /** Specifies the options of the labels that accompany gauge bars. */
+ label?: {
+ /** Specifies a color for the label connector text. */
+ connectorColor?: string;
+ /** Specifies the width of the label connector in pixels. */
+ connectorWidth?: number;
+ /** Specifies a callback function that returns a text for labels. */
+ customizeText?: (barValue: { value: number; valueText: string }) => string;
+ /** Specifies font options for bar labels. */
+ font?: viz.core.Font;
+ /** Specifies a format for bar labels. */
+ format?: string;
+ /** Specifies the distance between the upper bar and bar labels in pixels. */
+ indent?: number;
+ /** Specifies a precision for the formatted value displayed by labels. */
+ precision?: number;
+ /** Specifies whether bar labels appear on a gauge or not. */
+ visible?: boolean;
+ };
+ /** Sets the name of the palette or an array of colors to be used for coloring the gauge range container. */
+ palette?: string;
+ /** Defines the radius of the bar that is closest to the center relatively to the radius of the topmost bar. */
+ relativeInnerRadius?: number;
+ /** Specifies a start value for the gauge's invisible scale. */
+ startValue?: number;
+ /** Specifies the array of values to be indicated on a bar gauge. */
+ values?: Array;
+ }
+ /** A circular bar widget. */
+ export class dxBarGauge extends viz.core.BaseWidget {
+ constructor(element: JQuery, options?: dxBarGaugeOptions);
+ constructor(element: Element, options?: dxBarGaugeOptions);
+ /** Displays the loading indicator. */
+ showLoadingIndicator(): void;
+ /** Conceals the loading indicator. */
+ hideLoadingIndicator(): void;
+ /** Redraws the widget. */
+ render(): void;
+ /** Returns an array of gauge values. */
+ values(): Array;
+ /** Updates the values displayed by a gauge. */
+ values(values: Array): void;
+ }
+}
+interface JQuery {
+ dxLinearGauge(options?: DevExpress.viz.gauges.dxLinearGaugeOptions): JQuery;
+ dxLinearGauge(methodName: string, ...params: any[]): any;
+ dxLinearGauge(methodName: "instance"): DevExpress.viz.gauges.dxLinearGauge;
+ dxCircularGauge(options?: DevExpress.viz.gauges.dxCircularGaugeOptions): JQuery;
+ dxCircularGauge(methodName: string, ...params: any[]): any;
+ dxCircularGauge(methodName: "instance"): DevExpress.viz.gauges.dxCircularGauge;
+ dxBarGauge(options?: DevExpress.viz.gauges.dxBarGaugeOptions): JQuery;
+ dxBarGauge(methodName: string, ...params: any[]): any;
+ dxBarGauge(methodName: "instance"): DevExpress.viz.gauges.dxBarGauge;
+}
+declare module DevExpress.viz.rangeSelector {
+ export interface dxRangeSelectorOptions extends viz.core.BaseWidgetOptions {
+ /** Specifies the options for the range selector's background. */
+ background?: {
+ /** Specifies the background color for the dxRangeSelector. */
+ color?: string;
+ /** Specifies image options. */
+ image?: {
+ /** Specifies a location for the image in the background of a range selector. */
+ location?: string;
+ /** Specifies the image's URL. */
+ url?: string;
+ };
+ /** Indicates whether or not the background (background color and/or image) is visible. */
+ visible?: boolean;
+ };
+ /** Specifies the dxRangeSelector's behavior options. */
+ behavior?: {
+ /** Indicates whether or not you can swap sliders. */
+ allowSlidersSwap?: boolean;
+ /** Indicates whether or not animation is enabled. */
+ animationEnabled?: boolean;
+ /** Specifies when to call the onSelectedRangeChanged function. */
+ callSelectedRangeChanged?: string;
+ /** Indicates whether or not an end user can specify the range using a mouse, without the use of sliders. */
+ manualRangeSelectionEnabled?: boolean;
+ /** Indicates whether or not an end user can shift the selected range to the required location on a scale by clicking. */
+ moveSelectedRangeByClick?: boolean;
+ /** Indicates whether to snap a slider to ticks. */
+ snapToTicks?: boolean;
+ };
+ /** Specifies the options required to display a chart as the range selector's background. */
+ chart?: {
+ /** Specifies a coefficient for determining an indent from the bottom background boundary to the lowest chart point. */
+ bottomIndent?: number;
+ /** An object defining the common configuration options for the chart’s series. */
+ commonSeriesSettings?: viz.charts.CommonSeriesSettings;
+ /** An object providing options for managing data from a data source. */
+ dataPrepareSettings?: {
+ /** Specifies whether or not to validate values from a data source. */
+ checkTypeForAllData?: boolean;
+ /** Specifies whether or not to convert the values from a data source into the data type of an axis. */
+ convertToAxisDataType?: boolean;
+ /** Specifies how to sort series points. */
+ sortingMethod?: any;
+ };
+ /** Specifies a value indicating whether all bars in a series must have the same width, or may have different widths if any points in other series are missing. */
+ equalBarWidth?: any;
+ /** Sets the name of the palette to be used in the range selector's chart. Alternatively, an array of colors can be set as a custom palette to be used within this chart. */
+ palette?: any;
+ /** An object defining the chart’s series. */
+ series?: Array;
+ /** Defines options for the series template. */
+ seriesTemplate?: viz.charts.SeriesTemplate;
+ /** Specifies a coefficient for determining an indent from the background's top boundary to the topmost chart point. */
+ topIndent?: number;
+ /** Specifies whether or not to filter the series points depending on their quantity. */
+ useAggregation?: boolean;
+ /** Specifies options for the chart's value axis. */
+ valueAxis?: {
+ /** Indicates whether or not the chart's value axis must be inverted. */
+ inverted?: boolean;
+ /** Specifies the value to be raised to a power when generating ticks for a logarithmic value axis. */
+ logarithmBase?: number;
+ /** Specifies the maximum value of the chart's value axis. */
+ max?: number;
+ /** Specifies the minimum value of the chart's value axis. */
+ min?: number;
+ /** Specifies the type of the value axis. */
+ type?: string;
+ /** Specifies the desired type of axis values. */
+ valueType?: string;
+ };
+ };
+ /** Specifies the color of the parent page element. */
+ containerBackgroundColor?: string;
+ /** Specifies a data source for the scale values and for the chart at the background. */
+ dataSource?: any;
+ /** Specifies the data source field that provides data for the scale. */
+ dataSourceField?: string;
+ /** Specifies the appearance of the loading indicator. */
+ loadingIndicator?: viz.core.LoadingIndicator;
+ /** Specifies the blank space in pixels between the dxRangeSelector widget's extreme elements and the boundaries of the area provided for the widget (see size). */
+ margin?: viz.core.Margins;
+ /** Specifies whether to redraw the widget when the size of the parent browser window changes or a mobile device rotates. */
+ redrawOnResize?: boolean;
+ /** Specifies options of the range selector's scale. */
+ scale?: {
+ /** Specifies the scale's end value. */
+ endValue?: any;
+ /** Specifies common options for scale labels. */
+ label?: {
+ /** Specifies a callback function that returns the text to be displayed in scale labels. */
+ customizeText?: (scaleValue: { value: any; valueText: string; }) => string;
+ /** Specifies font options for the text displayed in the range selector's scale labels. */
+ font?: viz.core.Font;
+ /** Specifies a format for the text displayed in scale labels. */
+ format?: string;
+ /** Specifies a precision for the formatted value displayed in the scale labels. */
+ precision?: number;
+ /** Specifies a spacing between scale labels and the background bottom edge. */
+ topIndent?: number;
+ /** Specifies whether or not the scale's labels are visible. */
+ visible?: boolean;
+ };
+ /** Specifies the value to be raised to a power when generating ticks for a logarithmic scale. */
+ logarithmBase?: number;
+ /** Specifies an interval between major ticks. */
+ majorTickInterval?: any;
+ /** Specifies options for the date-time scale's markers. */
+ marker?: {
+ /** Defines the options that can be set for the text that is displayed by the scale markers. */
+ label?: {
+ /** Specifies a callback function that returns the text to be displayed in scale markers. */
+ customizeText?: (markerValue: { value: any; valueText: string }) => string;
+ /** Specifies a format for the text displayed in scale markers. */
+ format?: string;
+ };
+ /** Specifies the height of the marker's separator. */
+ separatorHeight?: number;
+ /** Specifies the space between the marker label and the marker separator. */
+ textLeftIndent?: number;
+ /** Specifies the space between the marker's label and the top edge of the marker's separator. */
+ textTopIndent?: number;
+ /** Specified the indent between the marker and the scale lables. */
+ topIndent?: number;
+ /** Indicates whether scale markers are visible. */
+ visible?: boolean;
+ };
+ /** Specifies the maximum range that can be selected. */
+ maxRange?: any;
+ /** Specifies the number of minor ticks between neighboring major ticks. */
+ minorTickCount?: number;
+ /** Specifies an interval between minor ticks. */
+ minorTickInterval?: any;
+ /** Specifies the minimum range that can be selected. */
+ minRange?: any;
+ /** Specifies the height of the space reserved for the scale in pixels. */
+ placeholderHeight?: number;
+ /** Indicates whether or not to set ticks of a date-time scale at the beginning of each date-time interval. */
+ setTicksAtUnitBeginning?: boolean;
+ /** Specifies whether or not to show ticks for the boundary scale values, when neither major ticks nor minor ticks are created for these values. */
+ showCustomBoundaryTicks?: boolean;
+ /** Indicates whether or not to show minor ticks on the scale. */
+ showMinorTicks?: boolean;
+ /** Specifies the scale's start value. */
+ startValue?: any;
+ /** Specifies options defining the appearance of scale ticks. */
+ tick?: {
+ /** Specifies the color of scale ticks (both major and minor ticks). */
+ color?: string;
+ /** Specifies the opacity of scale ticks (both major and minor ticks). */
+ opacity?: number;
+ /** Specifies the width of the scale's ticks (both major and minor ticks). */
+ width?: number;
+ };
+ /** Specifies the type of the scale. */
+ type?: string;
+ /** Specifies whether or not to expand the current tick interval if labels overlap each other. */
+ useTicksAutoArrangement?: boolean;
+ /** Specifies the type of values on the scale. */
+ valueType?: string;
+ /** Specifies the order of arguments on a discrete scale. */
+ categories?: Array;
+ };
+ /** Specifies the range to be selected when displaying the dxRangeSelector. */
+ selectedRange?: {
+ /** Specifies the start value of the range to be selected when displaying the dxRangeSelector widget on a page. */
+ startValue?: any;
+ /** Specifies the end value of the range to be selected when displaying the dxRangeSelector widget on a page. */
+ endValue?: any;
+ };
+ /** Specifies the color of the selected range. */
+ selectedRangeColor?: string;
+ /** Range selector's indent options. */
+ indent?: {
+ /** Specifies range selector's left indent. */
+ left?: number;
+ /** Specifies range selector's right indent. */
+ right?: number;
+ };
+ selectedRangeChanged?: (selectedRange: { startValue: any; endValue: any; }) => void;
+ /** A handler for the selectedRangeChanged event. */
+ onSelectedRangeChanged?: (e: {
+ startValue: any;
+ endValue: any;
+ component: dxRangeSelector;
+ element: Element;
+ }) => void;
+ /** Specifies range selector shutter options. */
+ shutter?: {
+ /** Specifies shutter color. */
+ color?: string;
+ /** Specifies the opacity of the color of shutters. */
+ opacity?: number;
+ };
+ /** Specifies in pixels the size of the dxRangeSelector widget. */
+ size?: viz.core.Size;
+ /** Specifies the appearance of the range selector's slider handles. */
+ sliderHandle?: {
+ /** Specifies the color of the slider handles. */
+ color?: string;
+ /** Specifies the opacity of the slider handles. */
+ opacity?: number;
+ /** Specifies the width of the slider handles. */
+ width?: number;
+ };
+ /** Defines the options of the range selector slider markers. */
+ sliderMarker?: {
+ /** Specifies the color of the slider markers. */
+ color?: string;
+ /** Specifies a callback function that returns the text to be displayed by slider markers. */
+ customizeText?: (scaleValue: { value: any; valueText: any; }) => string;
+ /** Specifies font options for the text displayed by the range selector slider markers. */
+ font?: viz.core.Font;
+ /** Specifies a format for the text displayed in slider markers. */
+ format?: string;
+ /** Specifies the color used for the slider marker text when the currently selected range does not match the minRange and maxRange values. */
+ invalidRangeColor?: string;
+ /**
+ * Specifies the empty space between the marker's border and the marker’s text.
+ * @deprecated Use the 'paddingTopBottom' and 'paddingLeftRight' options instead
+ */
+ padding?: number;
+ /** Specifies the empty space between the marker's top and bottom borders and the marker's text. */
+ paddingTopBottom?: number;
+ /** Specifies the empty space between the marker's left and right borders and the marker's text. */
+ paddingLeftRight?: number;
+ /** Specifies the placeholder height of the slider marker. */
+ placeholderHeight?: number;
+ /**
+ * Specifies in pixels the height and width of the space reserved for the range selector slider markers.
+ * @deprecated Use the 'placeholderHeight' and 'indent' options instead
+ */
+ placeholderSize?: {
+ /** Specifies the height of the placeholder for the left and right slider markers. */
+ height?: number;
+ /** Specifies the width of the placeholder for the left and right slider markers. */
+ width?: {
+ /** Specifies the width of the left slider marker's placeholder. */
+ left?: number;
+ /** Specifies the width of the right slider marker's placeholder. */
+ right?: number;
+ };
+ };
+ /** Specifies a precision for the formatted value displayed in slider markers. */
+ precision?: number;
+ /** Indicates whether or not the slider markers are visible. */
+ visible?: boolean;
+ };
+ }
+ /** A widget that allows end users to select a range of values on a scale. */
+ export class dxRangeSelector extends viz.core.BaseWidget {
+ constructor(element: JQuery, options?: dxRangeSelectorOptions);
+ constructor(element: Element, options?: dxRangeSelectorOptions);
+ /** Displays the loading indicator. */
+ showLoadingIndicator(): void;
+ /** Conceals the loading indicator. */
+ hideLoadingIndicator(): void;
+ /** Redraws a widget. */
+ render(skipChartAnimation?: boolean): void;
+ /** Returns the currently selected range. */
+ getSelectedRange(): { startValue: any; endValue: any; };
+ /** Sets a specified range. */
+ setSelectedRange(selectedRange: { startValue: any; endValue: any; }): void;
+ }
+}
+interface JQuery {
+ dxRangeSelector(options?: DevExpress.viz.rangeSelector.dxRangeSelectorOptions): JQuery;
+ dxRangeSelector(methodName: string, ...params: any[]): any;
+ dxRangeSelector(methodName: "instance"): DevExpress.viz.rangeSelector.dxRangeSelector;
+}
+declare module DevExpress.viz.map {
+ /** This section describes the fields and methods that can be used in code to manipulate the Area object. */
+ export interface Area {
+ /** Contains the element type. */
+ type: string;
+ /** Return the value of an attribute. */
+ attribute(name: string): any;
+ /** Provides information about the selection state of an area. */
+ selected(): boolean;
+ /** Sets a new selection state for an area. */
+ selected(state: boolean): void;
+ /** Applies the area settings specified as a parameter and updates the area appearance. */
+ applySettings(settings: any): void;
+ }
+ /** This section describes the fields and methods that can be used in code to manipulate the Markers object. */
+ export interface Marker {
+ /** Contains the descriptive text accompanying the map marker. */
+ text: string;
+ /** Contains the type of the element. */
+ type: string;
+ /** Contains the URL of an image map marker. */
+ url: string;
+ /** Contains the value of a bubble map marker. */
+ value: number;
+ /** Contains the values of a pie map marker. */
+ values: Array;
+ /** Returns the value of an attribute. */
+ attribute(name: string): any;
+ /** Returns the coordinates of a specific marker. */
+ coordinates(): Array;
+ /** Provides information about the selection state of a marker. */
+ selected(): boolean;
+ /** Sets a new selection state for a marker. */
+ selected(state: boolean): void;
+ /** Applies the marker settings specified as a parameter and updates the marker appearance. */
+ applySettings(settings: any): void;
+ }
+ export interface AreaSettings {
+ /** Specifies the width of the area border in pixels. */
+ borderWidth?: number;
+ /** Specifies a color for the area border. */
+ borderColor?: string;
+ click?: any;
+ /** Specifies a color for an area. */
+ color?: string;
+ /** Specifies the function that customizes each area individually. */
+ customize?: (areaInfo: Area) => AreaSettings;
+ /** Specifies a color for the area border when the area is hovered over. */
+ hoveredBorderColor?: string;
+ /** Specifies the pixel-measured width of the area border when the area is hovered over. */
+ hoveredBorderWidth?: number;
+ /** Specifies a color for an area when this area is hovered over. */
+ hoveredColor?: string;
+ /** Specifies whether or not to change the appearance of an area when it is hovered over. */
+ hoverEnabled?: boolean;
+ /** Configures area labels. */
+ label?: {
+ /** Specifies the data field that provides data for area labels. */
+ dataField?: string;
+ /** Enables area labels. */
+ enabled?: boolean;
+ /** Specifies font options for area labels. */
+ font?: viz.core.Font;
+ };
+ /** Specifies the name of the palette or a custom range of colors to be used for coloring a map. */
+ palette?: any;
+ /** Specifies the number of colors in a palette. */
+ paletteSize?: number;
+ /** Allows you to paint areas with similar attributes in the same color. */
+ colorGroups?: Array;
+ /** Specifies the field that provides data to be used for coloring areas. */
+ colorGroupingField?: string;
+ /** Specifies a color for the area border when the area is selected. */
+ selectedBorderColor?: string;
+ /** Specifies a color for an area when this area is selected. */
+ selectedColor?: string;
+ /** Specifies the pixel-measured width of the area border when the area is selected. */
+ selectedBorderWidth?: number;
+ selectionChanged?: (area: Area) => void;
+ /** Specifies whether single or multiple areas can be selected on a vector map. */
+ selectionMode?: string;
+ }
+ export interface MarkerSettings {
+ /** Specifies a color for the marker border. */
+ borderColor?: string;
+ /** Specifies the width of the marker border in pixels. */
+ borderWidth?: number;
+ click?: any;
+ /** Specifies a color for a marker of the dot or bubble type. */
+ color?: string;
+ /** Specifies the function that customizes each marker individually. */
+ customize?: (markerInfo: Marker) => MarkerSettings;
+ font?: Object;
+ /** Specifies the pixel-measured width of the marker border when the marker is hovered over. */
+ hoveredBorderWidth?: number;
+ /** Specifies a color for the marker border when the marker is hovered over. */
+ hoveredBorderColor?: string;
+ /** Specifies a color for a marker of the dot or bubble type when this marker is hovered over. */
+ hoveredColor?: string;
+ /** Specifies whether or not to change the appearance of a marker when it is hovered over. */
+ hoverEnabled?: boolean;
+ /** Specifies marker label options. */
+ label?: {
+ /** Enables marker labels. */
+ enabled?: boolean;
+ /** Specifies font options for marker labels. */
+ font?: viz.core.Font;
+ };
+ /** Specifies the pixel-measured diameter of the marker that represents the biggest value. Setting this option makes sense only if you use markers of the bubble type. */
+ maxSize?: number;
+ /** Specifies the pixel-measured diameter of the marker that represents the smallest value. Setting this option makes sense only if you use markers of the bubble type. */
+ minSize?: number;
+ /** Specifies the opacity of markers. Setting this option makes sense only if you use markers of the bubble type. */
+ opacity?: number;
+ /** Specifies the pixel-measured width of the marker border when the marker is selected. */
+ selectedBorderWidth?: number;
+ /** Specifies a color for the marker border when the marker is selected. */
+ selectedBorderColor?: string;
+ /** Specifies a color for a marker of the dot or bubble type when this marker is selected. */
+ selectedColor?: string;
+ selectionChanged?: (marker: Marker) => void;
+ /** Specifies whether a single or multiple markers can be selected on a vector map. */
+ selectionMode?: string;
+ /** Specifies the size of markers. Setting this option makes sense for any type of marker except bubble. */
+ size?: number;
+ /** Specifies the type of markers to be used on the map. */
+ type?: string;
+ /** Specifies the name of a palette or a custom set of colors to be used for coloring markers of the pie type. */
+ palette?: any;
+ /** Allows you to paint markers with similar attributes in the same color. */
+ colorGroups?: Array;
+ /** Specifies the field that provides data to be used for coloring markers. */
+ colorGroupingField?: string;
+ /** Allows you to display bubbles with similar attributes in the same size. */
+ sizeGroups?: Array;
+ /** Specifies the field that provides data to be used for sizing bubble markers. */
+ sizeGroupingField?: string;
+ }
+ export interface dxVectorMapOptions extends viz.core.BaseWidgetOptions {
+ /** An object specifying options for the map areas. */
+ areaSettings?: AreaSettings;
+ /** Specifies the options for the map background. */
+ background?: {
+ /** Specifies a color for the background border. */
+ borderColor?: string;
+ /** Specifies a color for the background. */
+ color?: string;
+ };
+ /** Specifies the positioning of a map in geographical coordinates. */
+ bounds?: Array;
+ /** Specifies the options of the control bar. */
+ controlBar?: {
+ /** Specifies a color for the outline of the control bar elements. */
+ borderColor?: string;
+ /** Specifies a color for the inner area of the control bar elements. */
+ color?: string;
+ /** Specifies whether or not to display the control bar. */
+ enabled?: boolean;
+ /** Specifies the margin of the control bar in pixels. */
+ margin?: number;
+ /** Specifies the position of the control bar. */
+ horizontalAlignment?: string;
+ /** Specifies the position of the control bar. */
+ verticalAlignment?: string;
+ /** Specifies the opacity of the Control_Bar. */
+ opacity?: number;
+ };
+ /** Specifies the appearance of the loading indicator. */
+ loadingIndicator?: viz.core.LoadingIndicator;
+ /** Specifies a data source for the map area. */
+ mapData?: any;
+ /** Specifies a data source for the map markers. */
+ markers?: any;
+ /** An object specifying options for the map markers. */
+ markerSettings?: MarkerSettings;
+ /** Specifies the size of the dxVectorMap widget. */
+ size?: viz.core.Size;
+ /** Specifies tooltip options. */
+ tooltip?: viz.core.Tooltip;
+ /** Configures map legends. */
+ legends?: Array;
+ /** Specifies whether or not the map should respond when a user rolls the mouse wheel. */
+ wheelEnabled?: boolean;
+ /** Specifies whether the map should respond to touch gestures. */
+ touchEnabled?: boolean;
+ /** Disables the zooming capability. */
+ zoomingEnabled?: boolean;
+ /** Specifies the geographical coordinates of the center for a map. */
+ center?: Array;
+ centerChanged?: (center: Array) => void;
+ /** A handler for the centerChanged event. */
+ onCenterChanged?: (e: {
+ center: Array;
+ component: dxVectorMap;
+ element: Element;
+ }) => void;
+ /** A handler for the tooltipShown event. */
+ onTooltipShown?: (e: {
+ component: dxVectorMap;
+ element: Element;
+ target: {};
+ }) => void;
+ /** A handler for the tooltipHidden event. */
+ onTooltipHidden?: (e: {
+ component: dxVectorMap;
+ element: Element;
+ target: {};
+ }) => void;
+ /** Specifies a number that is used to zoom a map initially. */
+ zoomFactor?: number;
+ /** Specifies a map's maximum zoom factor. */
+ maxZoomFactor?: number;
+ zoomFactorChanged?: (zoomFactor: number) => void;
+ /** A handler for the zoomFactorChanged event. */
+ onZoomFactorChanged?: (e: {
+ zoomFactor: number;
+ component: dxVectorMap;
+ element: Element;
+ }) => void;
+ click?: any;
+ /** A handler for the click event. */
+ onClick?: any;
+ /** A handler for the areaClick event. */
+ onAreaClick?: any;
+ /** A handler for the areaSelectionChanged event. */
+ onAreaSelectionChanged?: (e: {
+ target: Area;
+ component: dxVectorMap;
+ element: Element;
+ }) => void;
+ /** A handler for the markerClick event. */
+ onMarkerClick?: any;
+ /** A handler for the markerSelectionChanged event. */
+ onMarkerSelectionChanged?: (e: {
+ target: Marker;
+ component: dxVectorMap;
+ element: Element;
+ }) => void;
+ /** Disables the panning capability. */
+ panningEnabled?: boolean;
+ }
+ export interface Legend extends viz.core.BaseLegend {
+ /** Specifies text for legend items. */
+ customizeText?: (itemInfo: { start: number; end: number; index: number; color: string; size: number; }) => string;
+ /** Specifies text for a hint that appears when a user hovers the mouse pointer over the text of a legend item. */
+ customizeHint?: (itemInfo: { start: number; end: number; index: number; color: string; size: number }) => string;
+ /** Specifies the source of data for the legend. */
+ source?: string;
+ }
+ /** A vector map widget. */
+ export class dxVectorMap extends viz.core.BaseWidget {
+ constructor(element: JQuery, options?: dxVectorMapOptions);
+ constructor(element: Element, options?: dxVectorMapOptions);
+ /** Displays the loading indicator. */
+ showLoadingIndicator(): void;
+ /** Conceals the loading indicator. */
+ hideLoadingIndicator(): void;
+ /** Redraws a widget. */
+ render(): void;
+ /** Gets the current coordinates of the map center. */
+ center(): Array;
+ /** Sets the coordinates of the map center. */
+ center(centerCoordinates: Array): void;
+ /** Deselects all the selected areas on a map. The areas are displayed in their initial style after. */
+ clearAreaSelection(): void;
+ /** Deselects all the selected markers on a map. The markers are displayed in their initial style after. */
+ clearMarkerSelection(): void;
+ /** Deselects all the selected area and markers on a map at once. The areas and markers are displayed in their initial style after. */
+ clearSelection(): void;
+ /** Converts client area coordinates into map coordinates. */
+ convertCoordinates(x: number, y: number): Array;
+ /** Returns an array with all the map areas. */
+ getAreas(): Array ;
+ /** Returns an array with all the map markers. */
+ getMarkers(): Array;
+ /** Gets the current coordinates of the map viewport. */
+ viewport(): Array;
+ /** Sets the coordinates of the map viewport. */
+ viewport(viewportCoordinates: Array): void;
+ /** Gets the current value of the map zoom factor. */
+ zoomFactor(): number;
+ /** Sets the value of the map zoom factor. */
+ zoomFactor(zoomFactor: number): void;
+ }
+}
+interface JQuery {
+ dxVectorMap(options?: DevExpress.viz.map.dxVectorMapOptions): JQuery;
+ dxVectorMap(methodName: string, ...params: any[]): any;
+ dxVectorMap(methodName: "instance"): DevExpress.viz.map.dxVectorMap;
+}
+declare module DevExpress.viz.sparklines {
+ export interface SparklineTooltip extends viz.core.Tooltip {
+ /**
+ * Specifies how a tooltip is horizontally aligned relative to the graph.
+ * @deprecated Tooltip alignment is no more available.
+ */
+ horizontalAlignment?: string;
+ /**
+ * Specifies how a tooltip is vertically aligned relative to the graph.
+ * @deprecated Tooltip alignment is no more available.
+ */
+ verticalAlignment?: string;
+ }
+ export interface BaseSparklineOptions extends viz.core.BaseWidgetOptions {
+ /** Specifies the blank space between the widget's extreme elements and the boundaries of the area provided for the widget in pixels. */
+ margin?: viz.core.Margins;
+ /** Specifies the size of the widget. */
+ size?: viz.core.Size;
+ /** Specifies tooltip options. */
+ tooltip?: SparklineTooltip;
+ /** A handler for the tooltipShown event. */
+ onTooltipShown?: (e: {
+ component: BaseSparkline;
+ element: Element;
+ }) => void;
+ /** A handler for the tooltipHidden event. */
+ onTooltipHidden?: (e: {
+ component: BaseSparkline;
+ element: Element;
+ }) => void;
+ }
+ /** Overridden by descriptions for particular widgets. */
+ export class BaseSparkline extends viz.core.BaseWidget {
+ /** Redraws a widget. */
+ render(): void;
+ }
+ export interface dxBulletOptions extends BaseSparkline {
+ /** Specifies a color for the bullet bar. */
+ color?: string;
+ /** Specifies an end value for the invisible scale. */
+ endScaleValue?: number;
+ /** Specifies whether or not to show the target line. */
+ showTarget?: boolean;
+ /** Specifies whether or not to show the line indicating zero on the invisible scale. */
+ showZeroLevel?: boolean;
+ /** Specifies a start value for the invisible scale. */
+ startScaleValue?: number;
+ /** Specifies the value indicated by the target line. */
+ target?: number;
+ /** Specifies a color for both the target and zero level lines. */
+ targetColor?: string;
+ /** Specifies the width of the target line. */
+ targetWidth?: number;
+ /** Specifies the primary value indicated by the bullet bar. */
+ value?: number;
+ }
+ /** A bullet graph widget. */
+ export class dxBullet extends BaseSparkline {
+ constructor(element: JQuery, options?: dxBulletOptions);
+ constructor(element: Element, options?: dxBulletOptions);
+ }
+ export interface dxSparklineOptions extends BaseSparklineOptions {
+ /** Specifies the data source field that provides arguments for a sparkline. */
+ argumentField?: string;
+ /** Sets a color for the bars indicating negative values. Available for a sparkline of the bar type only. */
+ barNegativeColor?: string;
+ /** Sets a color for the bars indicating positive values. Available for a sparkline of the bar type only. */
+ barPositiveColor?: string;
+ /** Specifies a data source for the sparkline. */
+ dataSource?: Array;
+ /** Sets a color for the boundary of both the first and last points on a sparkline. */
+ firstLastColor?: string;
+ /** Specifies whether a sparkline ignores null data points or not. */
+ ignoreEmptyPoints?: boolean;
+ /** Sets a color for a line on a sparkline. Available for the sparklines of the line- and area-like types. */
+ lineColor?: string;
+ /** Specifies a width for a line on a sparkline. Available for the sparklines of the line- and area-like types. */
+ lineWidth?: number;
+ /** Sets a color for the bars indicating the values that are less than the winloss threshold. Available for a sparkline of the winloss type only. */
+ lossColor?: string;
+ /** Sets a color for the boundary of the maximum point on a sparkline. */
+ maxColor?: string;
+ /** Sets a color for the boundary of the minimum point on a sparkline. */
+ minColor?: string;
+ /** Sets a color for points on a sparkline. Available for the sparklines of the line- and area-like types. */
+ pointColor?: string;
+ /** Specifies the diameter of sparkline points in pixels. Available for the sparklines of line- and area-like types. */
+ pointSize?: number;
+ /** Specifies a symbol to use as a point marker on a sparkline. Available for the sparklines of the line- and area-like types. */
+ pointSymbol?: string;
+ /** Specifies whether or not to indicate both the first and last values on a sparkline. */
+ showFirstLast?: boolean;
+ /** Specifies whether or not to indicate both the minimum and maximum values on a sparkline. */
+ showMinMax?: boolean;
+ /** Determines the type of a sparkline. */
+ type?: string;
+ /** Specifies the data source field that provides values for a sparkline. */
+ valueField?: string;
+ /** Sets a color for the bars indicating the values greater than a winloss threshold. Available for a sparkline of the winloss type only. */
+ winColor?: string;
+ /** Specifies a value that serves as a threshold for the sparkline of the winloss type. */
+ winlossThreshold?: number;
+ /** Specifies the minimum value of the sparkline value axis. */
+ minValue?: number;
+ /** Specifies the maximum value of the sparkline's value axis. */
+ maxValue?: number;
+ }
+ /** A sparkline widget. */
+ export class dxSparkline extends BaseSparkline {
+ constructor(element: JQuery, options?: dxSparklineOptions);
+ constructor(element: Element, options?: dxSparklineOptions);
+ }
+}
+interface JQuery {
+ dxBullet(options?: DevExpress.viz.sparklines.dxBulletOptions): JQuery;
+ dxBullet(methodName: string, ...params: any[]): any;
+ dxBullet(methodName: "instance"): DevExpress.viz.sparklines.dxBullet;
+ dxSparkline(options?: DevExpress.viz.sparklines.dxSparklineOptions): JQuery;
+ dxSparkline(methodName: string, ...params: any[]): any;
+ dxSparkline(methodName: "instance"): DevExpress.viz.sparklines.dxSparkline;
+}
\ No newline at end of file
diff --git a/devextreme/devextreme.d.ts b/devextreme/devextreme.d.ts
index 83e69504be..706b4bded7 100644
--- a/devextreme/devextreme.d.ts
+++ b/devextreme/devextreme.d.ts
@@ -1,4 +1,4 @@
-// Type definitions for DevExtreme 15.1.8
+// Type definitions for DevExtreme 15.2.3
// Project: http://js.devexpress.com/
// Definitions by: DevExpress Inc.
// Definitions: https://github.com/borisyankov/DefinitelyTyped
@@ -69,9 +69,7 @@ declare module DevExpress {
export function registerComponent(name: string, componentClass: Object): void;
/** Registers a new component in the specified namespace as a jQuery plugin, Angular directive and Knockout binding. */
export function registerComponent(name: string, namespace: Object, componentClass: Object): void;
- /** Requests that the browser call a specified function to update animation before the next repaint. */
export function requestAnimationFrame(callback: Function): number;
- /** Cancels an animation frame request scheduled with the requestAnimationFrame method. */
export function cancelAnimationFrame(requestID: number): void;
/** Custom Knockout binding that links an HTML element with a specific action. */
export class Action { }
@@ -128,6 +126,8 @@ declare module DevExpress {
leave(elements: JQuery, animation: any): void;
/** Starts all the animations registered using the enter(elements, animation) and leave(elements, animation) methods beforehand. */
start(config: Object): JQueryPromise;
+ /** Stops all started animations. */
+ stop(): void;
}
export class AnimationPresetCollection {
/** Resets all the changes made in the animation repository. */
@@ -163,8 +163,8 @@ declare module DevExpress {
tablet?: boolean;
/** Specifies an array with the major and minor versions of the device platform. */
version?: Array;
- /** Indicates whether or not the device platform is Windows8. */
- win8?: boolean;
+ /** Indicates whether or not the device platform is Windows. */
+ win?: boolean;
/** Specifies a performance grade of the current device. */
grade?: string;
}
@@ -262,16 +262,6 @@ declare module DevExpress {
errorDetails?: any;
}
export interface StoreOptions {
- inserted?: (values: Object, key: any) => void;
- inserting?: (values: Object) => void;
- loaded?: (result: Array) => void;
- loading?: (loadOptions: LoadOptions) => void;
- modified?: () => void;
- modifying?: () => void;
- removed?: (key: any) => void;
- removing?: (key: any) => void;
- updated?: (key: any, values: Object) => void;
- updating?: (key: any, values: Object) => void;
/** A handler for the modified event. */
onModified?: () => void;
/** A handler for the modifying event. */
@@ -310,16 +300,6 @@ declare module DevExpress {
}
/** The base class for all Stores. */
export class Store implements EventsMixin {
- inserted: JQueryCallback;
- inserting: JQueryCallback;
- loaded: JQueryCallback;
- loading: JQueryCallback;
- modified: JQueryCallback;
- modifying: JQueryCallback;
- removed: JQueryCallback;
- removing: JQueryCallback;
- updated: JQueryCallback;
- updating: JQueryCallback;
constructor(options?: StoreOptions);
/** Returns the data item specified by the key. */
byKey(key: any): JQueryPromise;
@@ -450,9 +430,6 @@ declare module DevExpress {
/** An object that provides access to a data web service or local data storage for collection container widgets. */
export class DataSource implements EventsMixin {
constructor(options?: DataSourceOptions);
- changed: JQueryCallback;
- loadError: JQueryCallback;
- loadingChanged: JQueryCallback;
/** Disposes all resources associated with this DataSource. */
dispose(): void;
/** Returns the current filter option value. */
@@ -583,6 +560,7 @@ declare module DevExpress {
/** A function used to customize a web request before it is sent. */
beforeSend?: (request: {
url: string;
+ async: boolean;
method: string;
timeout: number;
params: Object;
@@ -593,6 +571,8 @@ declare module DevExpress {
jsonp?: boolean;
/** Specifies the type of the ODataStore key property. The following key types are supported out of the box: String, Int32, Int64, and Guid. */
keyType?: any;
+ /** Specifies whether or not dates found in the response are deserialized. */
+ deserializeDates?: boolean;
/** Specifies the URL of the data service being accessed via the current ODataContext. */
url?: string;
/** Specifies the version of the OData protocol used to interact with the data service. */
@@ -714,26 +694,16 @@ declare module DevExpress {
export interface CollectionWidgetOptions extends WidgetOptions {
/** A data source used to fetch data to be displayed by the widget. */
dataSource?: any;
- itemClickAction?: any;
- itemHoldAction?: Function;
/** The time period in milliseconds before the onItemHold event is raised. */
itemHoldTimeout?: number;
- itemRender?: any;
- itemRenderedAction?: Function;
/** An array of items displayed by the widget. */
items?: Array;
- /**
- * A function performed when a widget item is selected.
- * @deprecated onSelectionChanged.md
- */
- itemSelectAction?: Function;
/** The template to be used for rendering items. */
itemTemplate?: any;
loopItemFocus?: boolean;
/** The text or HTML markup displayed by the widget if the item collection is empty. */
noDataText?: string;
onContentReady?: any;
- contentReadyAction?: any;
/** A handler for the itemClick event. */
onItemClick?: any;
/** A handler for the itemContextMenu event. */
@@ -774,7 +744,6 @@ declare module DevExpress {
displayExpr?: any;
/** Specifies the name of a data source item field whose value is held in the value configuration option. */
valueExpr?: any;
- itemRender?: any;
/** An array of items displayed by the widget. */
items?: Array;
/** The template to be used for rendering items. */
@@ -787,7 +756,6 @@ declare module DevExpress {
value?: Object;
/** A handler for the valueChanged event. */
onValueChanged?: Function;
- valueChangeAction?: Function;
/** A Boolean value specifying whether or not the widget is read-only. */
readOnly?: boolean;
/** Holds the object that defines the error that occurred during validation. */
@@ -835,6 +803,10 @@ declare module DevExpress {
export var utils: {
/** Sets parameters for the viewport meta tag. */
initMobileViewport(options: { allowZoom?: boolean; allowPan?: boolean; allowSelection?: boolean }): void;
+ /** Requests that the browser call a specified function to update animation before the next repaint. */
+ requestAnimationFrame(callback: Function): number;
+ /** Cancels an animation frame request scheduled with the requestAnimationFrame method. */
+ cancelAnimationFrame(requestID: number): void;
};
/** An object that serves as a namespace for DevExtreme Data Visualization Widgets. */
export module viz {
@@ -927,6 +899,8 @@ declare module DevExpress.ui {
displayValue?: string;
/** The minimum number of characters that must be entered into the text box to begin a search. */
minSearchLength?: number;
+ /** Specifies whether or not the widget displays unfiltered values until a user types a number of characters exceeding the minSearchLength option value. */
+ showDataBeforeSearch?: boolean;
/** Specifies the name of a data source item field or an expression whose value is compared to the search criterion. */
searchExpr?: Object;
/** Specifies the binary operation used to filter data. */
@@ -958,7 +932,6 @@ declare module DevExpress.ui {
constructor(element: Element, options?: dxDropDownListOptions);
}
export interface dxToolbarOptions extends CollectionWidgetOptions {
- menuItemRender?: any;
/** The template used to render menu items. */
menuItemTemplate?: any;
/** Informs the widget about its location in a view HTML markup. */
@@ -982,6 +955,10 @@ declare module DevExpress.ui {
type?: string;
width?: any;
closeOnBackButton?: boolean;
+ /** A Boolean value specifying whether or not the toast is closed if a user swipes it out of the screen boundaries. */
+ closeOnSwipe?: boolean;
+ /** A Boolean value specifying whether or not the toast is closed if a user clicks it. */
+ closeOnClick?: boolean;
}
/** The toast message widget. */
export class dxToast extends dxOverlay {
@@ -991,37 +968,26 @@ declare module DevExpress.ui {
export interface dxTextEditorOptions extends EditorOptions {
/** A handler for the change event. */
onChange?: Function;
- changeAction?: Function;
/** A handler for the copy event. */
onCopy?: Function;
- copyAction?: Function;
/** A handler for the cut event. */
onCut?: Function;
- cutAction?: Function;
/** A handler for the enterKey event. */
onEnterKey?: Function;
- enterKeyAction?: Function;
/** A handler for the focusIn event. */
onFocusIn?: Function;
- focusInAction?: Function;
/** A handler for the focusOut event. */
onFocusOut?: Function;
- focusOutAction?: Function;
/** A handler for the input event. */
onInput?: Function;
- inputAction?: Function;
/** A handler for the keyDown event. */
onKeyDown?: Function;
- keyDownAction?: Function;
/** A handler for the keyPress event. */
onKeyPress?: Function;
- keyPressAction?: Function;
/** A handler for the keyUp event. */
onKeyUp?: Function;
- keyUpAction?: Function;
/** A handler for the paste event. */
onPaste?: Function;
- pasteAction?: Function;
/** The text displayed by the widget when the widget value is empty. */
placeholder?: string;
/** Specifies whether to display the Clear button in the widget. */
@@ -1036,9 +1002,7 @@ declare module DevExpress.ui {
attr?: Object;
/** The read-only option that holds the text displayed by the widget input element. */
text?: string;
- /** Specifies whether or not the widget supports the focused state and keyboard navigation. */
focusStateEnabled?: boolean;
- /** A Boolean value specifying whether or not the widget changes its state when being hovered by an end user. */
hoverStateEnabled?: boolean;
/** The editor mask that specifies the format of the entered string. */
mask?: string;
@@ -1048,6 +1012,8 @@ declare module DevExpress.ui {
maskRules?: Object;
/** A message displayed when the entered text does not match the specified pattern. */
maskInvalidMessage?: string;
+ /** Specifies whether the value option holds only characters entered by a user or prompt characters as well. */
+ useMaskedValue?: boolean;
}
/** A base class for text editing widgets. */
export class dxTextEditor extends Editor {
@@ -1100,9 +1066,14 @@ declare module DevExpress.ui {
onTitleHold?: Function;
/** A handler for the titleRendered event. */
onTitleRendered?: Function;
- titleTemplate?: any;
/** The template to be used for rendering an item title. */
itemTitleTemplate?: any;
+ /** A Boolean value specifying if the list is scrolled by content. */
+ scrollByContent?: boolean;
+ /** A Boolean value specifying whether to enable or disable scrolling. */
+ scrollingEnabled?: boolean;
+ /** A Boolean value that specifies the availability of navigation buttons. */
+ showNavButtons?: boolean;
}
/** A widget used to display a view and to switch between several views by clicking the appropriate tabs. */
export class dxTabPanel extends dxMultiView {
@@ -1110,6 +1081,8 @@ declare module DevExpress.ui {
constructor(element: Element, options?: dxTabPanelOptions);
}
export interface dxSelectBoxOptions extends dxDropDownListOptions {
+ /** Specifies DOM event names that update a widget's value. */
+ valueChangeEvent?: string;
/** The template to be used for rendering the widget text field. */
fieldTemplate?: any;
/** The text that is provided as a hint in the select box editor. */
@@ -1125,6 +1098,8 @@ declare module DevExpress.ui {
export interface dxTagBoxOptions extends dxSelectBoxOptions {
/** Holds the list of selected values. */
values?: Array;
+ /** A read-only option that holds the last selected value. */
+ value?: Object;
}
/** A widget that allows you to select multiple items from a dropdown list. */
export class dxTagBox extends dxSelectBox {
@@ -1134,14 +1109,12 @@ declare module DevExpress.ui {
export interface dxScrollViewOptions extends dxScrollableOptions {
/** A handler for the pullDown event. */
onPullDown?: Function;
- pullDownAction?: Function;
/** Specifies the text shown in the pullDown panel when pulling the content down lowers the refresh threshold. */
pulledDownText?: string;
/** Specifies the text shown in the pullDown panel while pulling the content down to the refresh threshold. */
pullingDownText?: string;
/** A handler for the reachBottom event. */
onReachBottom?: Function;
- reachBottomAction?: Function;
/** Specifies the text shown in the pullDown panel displayed when content is scrolled to the bottom. */
reachBottomText?: string;
/** Specifies the text shown in the pullDown panel displayed when the content is being refreshed. */
@@ -1171,12 +1144,10 @@ declare module DevExpress.ui {
disabled?: boolean;
/** A handler for the scroll event. */
onScroll?: Function;
- scrollAction?: Function;
/** Specifies when the widget shows the scrollbar. */
showScrollbar?: string;
/** A handler for the update event. */
onUpdated?: Function;
- updateAction?: Function;
/** Indicates whether to use native or simulated scrolling. */
useNative?: boolean;
/** A Boolean value specifying whether to enable or disable the bounce-back effect. */
@@ -1220,6 +1191,7 @@ declare module DevExpress.ui {
update(): void;
}
export interface dxRadioGroupOptions extends CollectionWidgetOptions, DataExpressionMixinOptions {
+ activeStateEnabled?: boolean;
/** Specifies the radio group layout. */
layout?: string;
}
@@ -1293,12 +1265,24 @@ declare module DevExpress.ui {
resizeEnabled?: boolean;
/** The height of the widget in pixels. */
height?: any;
+ /** Specifies the maximum height the widget can reach while resizing. */
+ maxHeight?: any;
+ /** Specifies the maximum width the widget can reach while resizing. */
+ maxWidth?: any;
+ /** Specifies the minimum height the widget can reach while resizing. */
+ minHeight?: any;
+ /** Specifies the minimum width the widget can reach while resizing. */
+ minWidth?: any;
/** A handler for the hidden event. */
onHidden?: Function;
- hiddenAction?: Function;
+ /** A handler for the resizeStart event. */
+ onResizeStart?: Function;
+ /** A handler for the resize event. */
+ onResize?: Function;
+ /** A handler for the resizeEnd event. */
+ onResizeEnd?: Function;
/** A handler for the hiding event. */
onHiding?: Function;
- hidingAction?: Function;
/** An object defining widget positioning options. */
position?: PositionOptions;
/** A Boolean value specifying whether or not the main screen is inactive while the widget is active. */
@@ -1307,10 +1291,8 @@ declare module DevExpress.ui {
shadingColor?: string;
/** A handler for the showing event. */
onShowing?: Function;
- showingAction?: Function;
/** A handler for the shown event. */
onShown?: Function;
- shownAction?: Function;
/** A Boolean value specifying whether or not the widget is visible. */
visible?: boolean;
/** The widget width in pixels. */
@@ -1379,7 +1361,6 @@ declare module DevExpress.ui {
export interface dxMapOptions extends WidgetOptions {
/** Specifies whether or not the widget automatically adjusts center and zoom option values when adding a new marker or route. */
autoAdjust?: boolean;
- /** An object, a string, or an array specifying the location displayed at the center of the widget. */
center?: {
/** The latitude location displayed in the center of the widget. */
lat?: number;
@@ -1388,7 +1369,6 @@ declare module DevExpress.ui {
};
/** A handler for the click event. */
onClick?: any;
- clickAction?: any;
/** Specifies whether or not map widget controls are available. */
controls?: boolean;
/** Specifies the height of the widget. */
@@ -1404,25 +1384,20 @@ declare module DevExpress.ui {
}
/** A handler for the markerAdded event. */
onMarkerAdded?: Function;
- markerAddedAction?: Function;
/** A URL pointing to the custom icon to be used for map markers. */
markerIconSrc?: string;
/** A handler for the markerRemoved event. */
onMarkerRemoved?: Function;
- markerRemovedAction?: Function;
/** An array of markers displayed on a map. */
markers?: Array;
/** The name of the current map data provider. */
provider?: string;
/** A handler for the ready event. */
onReady?: Function;
- readyAction?: Function;
/** A handler for the routeAdded event. */
onRouteAdded?: Function;
- routeAddedAction?: Function;
/** A handler for the routeRemoved event. */
onRouteRemoved?: Function;
- routeRemovedAction?: Function;
/** An array of routes shown on the map. */
routes?: Array;
/** The type of a map to display. */
@@ -1463,7 +1438,6 @@ declare module DevExpress.ui {
focusStateEnabled?: boolean;
/** A Boolean value specifying whether or not to group widget items. */
grouped?: boolean;
- groupRender?: any;
/** The name of the template used to display a group header. */
groupTemplate?: any;
/** The text displayed on the button used to load the next page from the data source. */
@@ -1472,7 +1446,6 @@ declare module DevExpress.ui {
onPageLoading?: Function;
/** Specifies whether the next page is loaded when a user scrolls the widget to the bottom or when the "next" button is clicked. */
pageLoadMode?: string;
- pageLoadingAction?: Function;
/** Specifies the text shown in the pullDown panel, which is displayed when the widget is scrolled to the bottom. */
pageLoadingText?: string;
/** The text displayed by the widget when nothing is selected. */
@@ -1489,14 +1462,12 @@ declare module DevExpress.ui {
pullingDownText?: string;
/** A handler for the pullRefresh event. */
onPullRefresh?: Function;
- pullRefreshAction?: Function;
/** A Boolean value specifying whether or not the widget supports the "pull down to refresh" gesture. */
pullRefreshEnabled?: boolean;
/** Specifies the text displayed in the pullDown panel while the widget is being refreshed. */
refreshingText?: string;
/** A handler for the scroll event. */
onScroll?: Function;
- scrollAction?: Function;
/** A Boolean value specifying whether or not the search bar is visible. */
searchEnabled?: boolean;
/** The text that is provided as a hint in the lookup's search bar. */
@@ -1520,8 +1491,6 @@ declare module DevExpress.ui {
usePopover?: boolean;
/** A handler for the valueChanged event. */
onValueChanged?: Function;
- contentReadyAction?: Function;
- titleRender?: any;
/** A handler for the titleRendered event. */
onTitleRendered?: Function;
/** A Boolean value specifying whether or not to display the title in the popup window. */
@@ -1568,7 +1537,6 @@ declare module DevExpress.ui {
export interface dxListOptions extends CollectionWidgetOptions {
/** A Boolean value specifying whether or not to display a grouped list. */
grouped?: boolean;
- groupRender?: any;
/** The template to be used for rendering item groups. */
groupTemplate?: any;
onItemDeleting?: Function;
@@ -1576,20 +1544,16 @@ declare module DevExpress.ui {
onItemDeleted?: Function;
/** A handler for the groupRendered event. */
onGroupRendered?: Function;
- itemDeleteAction?: Function;
/** A handler for the itemReordered event. */
onItemReordered?: Function;
- itemReorderAction?: Function;
/** A handler for the itemClick event. */
onItemClick?: any;
/** A handler for the itemSwipe event. */
onItemSwipe?: Function;
- itemSwipeAction?: Function;
/** The text displayed on the button used to load the next page from the data source. */
nextButtonText?: string;
/** A handler for the pageLoading event. */
onPageLoading?: Function;
- pageLoadingAction?: Function;
/** Specifies the text shown in the pullDown panel, which is displayed when the list is scrolled to the bottom. */
pageLoadingText?: string;
/** Specifies the text displayed in the pullDown panel when the list is pulled below the refresh threshold. */
@@ -1598,14 +1562,12 @@ declare module DevExpress.ui {
pullingDownText?: string;
/** A handler for the pullRefresh event. */
onPullRefresh?: Function;
- pullRefreshAction?: Function;
/** A Boolean value specifying whether or not the widget supports the "pull down to refresh" gesture. */
pullRefreshEnabled?: boolean;
/** Specifies the text displayed in the pullDown panel while the list is being refreshed. */
refreshingText?: string;
/** A handler for the scroll event. */
onScroll?: Function;
- scrollAction?: Function;
/** A Boolean value specifying whether to enable or disable list scrolling. */
scrollingEnabled?: boolean;
/** Specifies when the widget shows the scrollbar. */
@@ -1618,7 +1580,6 @@ declare module DevExpress.ui {
scrollByContent?: boolean;
/** A Boolean value specifying if the list is scrolled using the scrollbar. */
scrollByThumb?: boolean;
- itemUnselectAction?: Function;
onItemContextMenu?: Function;
onItemHold?: Function;
/** Specifies whether or not an end-user can collapse groups. */
@@ -1630,6 +1591,7 @@ declare module DevExpress.ui {
/** Specifies item selection mode. */
selectionMode?: string;
selectAllText?: string;
+ onSelectAllChanged?: Function;
/** Specifies the array of items for a context menu called for a list item. */
menuItems?: Array;
/** Specifies whether an item context menu is shown when a user holds or swipes an item. */
@@ -1737,17 +1699,13 @@ declare module DevExpress.ui {
onOpened?: Function;
/** Specifies whether or not the drop-down editor is displayed. */
opened?: boolean;
- closeAction?: Function;
- openAction?: Function;
- shownAction?: Function;
- hiddenAction?: Function;
/** Specifies whether or not the widget allows an end-user to enter a custom value. */
fieldEditEnabled?: boolean;
- editEnabled?: boolean;
/** Specifies the way an end-user applies the selected value. */
applyValueMode?: string;
/** Specifies whether widget content is rendered when the widget is shown or when rendering the widget. */
deferRendering?: boolean;
+ activeStateEnabled?: boolean;
}
/** A drop-down editor widget. */
export class dxDropDownEditor extends dxTextBox {
@@ -1791,10 +1749,14 @@ declare module DevExpress.ui {
interval?: number;
/** Specifies the maximum zoom level of a calendar, which is used to pick the date. */
maxZoomLevel?: string;
- /** Specifies the minimal zoom level of a calendar, which is used to pick the date. */
+ /** Specifies the minimal zoom level of a calendar, which is used to pick the date. */
minZoomLevel?: string;
/** Specifies the type of date/time picker. */
pickerType?: string;
+ /** Specifies the message displayed if the typed value is not a valid date or time. */
+ invalidDateMessage?: string;
+ /** Specifies the message displayed if the specified date is later than the max value or earlier than the min value. */
+ dateOutOfRangeMessage?: string;
}
/** A date box widget. */
export class dxDateBox extends dxDropDownEditor {
@@ -1802,6 +1764,7 @@ declare module DevExpress.ui {
constructor(element: Element, options?: dxDateBoxOptions);
}
export interface dxCheckBoxOptions extends EditorOptions {
+ activeStateEnabled?: boolean;
/** Specifies the widget state. */
value?: boolean;
/** Specifies the text displayed by the check box. */
@@ -1813,6 +1776,7 @@ declare module DevExpress.ui {
constructor(element: Element, options?: dxCheckBoxOptions);
}
export interface dxCalendarOptions extends EditorOptions {
+ activeStateEnabled?: boolean;
/** Specifies a date displayed on the current calendar page. */
currentDate?: Date;
/** Specifies the first day of a week. */
@@ -1829,8 +1793,8 @@ declare module DevExpress.ui {
maxZoomLevel?: string;
/** Specifies the minimum zoom level of the calendar. */
minZoomLevel?: string;
- /** The template to be used for rendering calendar cells. */
- cellTemplate?: any;
+ /** The template to be used for rendering calendar cells. */
+ cellTemplate?: any;
}
/** A calendar widget. */
export class dxCalendar extends Editor {
@@ -1842,7 +1806,6 @@ declare module DevExpress.ui {
activeStateEnabled?: boolean;
/** A handler for the click event. */
onClick?: any;
- clickAction?: any;
/** Specifies the icon to be displayed on the button. */
icon?: string;
iconSrc?: string;
@@ -2015,6 +1978,7 @@ declare module DevExpress.ui {
constructor(element: Element, options?: dxProgressBarOptions);
}
export interface dxSliderOptions extends dxTrackBarOptions {
+ activeStateEnabled?: boolean;
/** The slider step size. */
step?: number;
/** The current slider value. */
@@ -2060,6 +2024,135 @@ declare module DevExpress.ui {
constructor(element: JQuery, options?: dxRangeSliderOptions);
constructor(element: Element, options?: dxRangeSliderOptions);
}
+ export interface dxFormItemLabel {
+ /** Specifies the label text. */
+ text?: string;
+ /** Specifies whether or not the label is visible. */
+ visible?: boolean;
+ /** Specifies whether or not a colon is displayed at the end of the current label. */
+ showColon?: boolean;
+ /** Specifies the location of a label against the editor. */
+ location?: string;
+ /** Specifies the label horizontal alignment. */
+ alignment?: string;
+ }
+ export interface dxFormItem {
+ /** Specifies the type of the current item. */
+ itemType?: string;
+ /** Specifies whether or not the current form item is visible. */
+ visible?: boolean;
+ /** Specifies the sequence number of the item in a form, group or tab. */
+ visibleIndex?: number;
+ /** Specifies a CSS class to be applied to the form item. */
+ cssClass?: string;
+ /** Specifies the number of columns spanned by the item. */
+ colSpan?: number;
+ }
+ export interface dxFormSimpleItem extends dxFormItem {
+ /** Specifies the path to the formData object field bound to the current form item. */
+ dataField?: string;
+ /** Specifies the form item name. */
+ name?: string;
+ /** Specifie which editor widget is used to display and edit the form item value. */
+ editorType?: string;
+ /** Specifies configuration options for the editor widget of the current form item. */
+ editorOptions?: Object;
+ /** A template to be used for rendering the form item. */
+ template?: any;
+ /** Specifies the help text displayed for the current form item. */
+ helpText?: string;
+ /** Specifies whether the current form item is required. */
+ isRequired?: boolean;
+ /** Specifies options for the form item label. */
+ label?: dxFormItemLabel;
+ /** An array of validation rules to be checked for the form item editor. */
+ validationRules?: Array;
+ }
+ export interface dxFormGroupItem extends dxFormItem {
+ /** Specifies the group caption. */
+ caption?: string;
+ /** A template to be used for rendering the group item. */
+ template?: any;
+ /** The count of columns in the group layout. */
+ colCount?: number;
+ /** Specifies whether or not all group item labels are aligned. */
+ alignItemLabels?: boolean;
+ /** Holds an array of form items displayed within the group. */
+ items?: Array;
+ }
+ export interface dxFormTab {
+ /** Specifies the tab title. */
+ title?: string;
+ /** The count of columns in the tab layout. */
+ colCount?: number;
+ /** Specifies whether or not labels of items displayed within the current tab are aligned. */
+ alignItemLabels?: boolean;
+ /** Holds an array of form items displayed within the tab. */
+ items?: Array;
+ }
+ export interface dxFormTabbedItem extends dxFormItem {
+ /** Holds a configuration object for the dxTabPanel widget used to display the current form item. */
+ tabPanelOptions?: Object;
+ /** An array of tab configuration objects. */
+ tabs?: Array;
+ }
+ export interface dxFormOptions extends WidgetOptions {
+ /** An object providing data for the form. */
+ formData?: Object;
+ /** The count of columns in the form layout. */
+ colCount?: any;
+ /** Specifies the location of a label against the editor. */
+ labelLocation?: string;
+ /** Specifies whether or not all editors on the form are read-only. */
+ readOnly?: boolean;
+ /** A handler for the fieldDataChanged event. */
+ onFieldDataChanged?: (e: Object) => void;
+ /** A handler for the editorEnterKey event. */
+ onEditorEnterKey?: (e: Object) => void;
+ /** Specifies a function that customizes a form item after it has been created. */
+ customizeItem?: Function;
+ /** The minimum column width used for calculating column count in the form layout. */
+ minColWidth?: number;
+ /** Specifies whether or not all root item labels are aligned. */
+ alignItemLabels?: boolean;
+ /** Specifies whether or not item labels in all groups are aligned. */
+ alignItemLabelsInAllGroups?: boolean;
+ /** Specifies whether or not a colon is displayed at the end of form labels. */
+ showColonAfterLabel?: boolean;
+ /** Specifies whether or not the required mark is displayed for optional fields. */
+ showRequiredMark?: boolean;
+ /** Specifies whether or not the optional mark is displayed for optional fields. */
+ showOptionalMark?: boolean;
+ /** The text displayed for required fields. */
+ requiredMark?: string;
+ /** The text displayed for optional fields. */
+ optionalMark?: string;
+ /** Specifies whether or not the total validation summary is displayed on the form. */
+ showValidationSummary?: boolean;
+ /** Holds an array of form items. */
+ items?: Array;
+ /** A Boolean value specifying whether to enable or disable form scrolling. */
+ scrollingEnabled?: boolean;
+ }
+ /** A form widget used to display and edit values of object fields. */
+ export class dxForm extends Widget {
+ constructor(element: JQuery, options?: dxFormOptions);
+ constructor(element: Element, options?: dxFormOptions);
+ /** Updates the specified field of the formData object and the corresponding editor on the form. */
+ updateData(dataField: string, value: any): void;
+ /** Updates the specified fields of the formData object and the corresponding editors on the form. */
+ updateData(data: Object): void;
+ /** Updates the value of a form item option. */
+ itemOption(field: string, option: string, value: any): void;
+ /** Updates the values of form item options. */
+ itemOption(field: string, options: Object): void;
+ /** Returns an editor instance associated with the specified formData field. */
+ getEditor(field: string): Object;
+ /** Updates the dimensions of the widget contents. */
+ updateDimensions(): JQueryPromise;
+ /** Validates the values of all editors on the form against the list of the validation rules specified for each form item. */
+ validate(): Object;
+ }
}
interface JQuery {
dxProgressBar(): JQuery;
@@ -2276,6 +2369,11 @@ interface JQuery {
dxAutocomplete(options: string): any;
dxAutocomplete(options: string, ...params: any[]): any;
dxAutocomplete(options: DevExpress.ui.dxAutocompleteOptions): JQuery;
+ dxForm(): JQuery;
+ dxForm(options: "instance"): DevExpress.ui.dxForm;
+ dxForm(options: string): any;
+ dxForm(options: string, ...params: any[]): any;
+ dxForm(options: DevExpress.ui.dxForm): JQuery;
}
declare module DevExpress.ui {
@@ -2286,6 +2384,8 @@ declare module DevExpress.ui {
baseItemHeight?: number;
/** Specifies the width of the base tile view item. */
baseItemWidth?: number;
+ /** Specifies whether tiles are placed horizontally or vertically. */
+ direction?: string;
/** Specifies the height of the widget. */
height?: any;
/** Specifies the distance in pixels between adjacent tiles. */
@@ -2301,6 +2401,7 @@ declare module DevExpress.ui {
scrollPosition(): number;
}
export interface dxSwitchOptions extends EditorOptions {
+ activeStateEnabled?: boolean;
/** Text displayed when the widget is in a disabled state. */
offText?: string;
/** Text displayed when the widget is in an enabled state. */
@@ -2314,6 +2415,8 @@ declare module DevExpress.ui {
constructor(element: Element, options?: dxSwitchOptions);
}
export interface dxSlideOutViewOptions extends WidgetOptions {
+ /** Specifies the current menu position. */
+ menuPosition?: string;
/** Specifies whether or not the menu panel is visible. */
menuVisible?: boolean;
/** Specifies whether or not the menu is shown when a user swipes the widget content. */
@@ -2343,10 +2446,10 @@ declare module DevExpress.ui {
activeStateEnabled?: boolean;
/** A Boolean value specifying whether or not to display a grouped menu. */
menuGrouped?: boolean;
- menuGroupRender?: any;
+ /** Specifies the current menu position. */
+ menuPosition?: string;
/** The name of the template used to display a group header. */
menuGroupTemplate?: any;
- menuItemRender?: any;
/** The template used to render menu items. */
menuItemTemplate?: any;
/** A handler for the menuGroupRendered event. */
@@ -2409,18 +2512,15 @@ declare module DevExpress.ui {
export interface dxDropDownMenuOptions extends WidgetOptions {
/** A handler for the buttonClick event. */
onButtonClick?: any;
- buttonClickAction?: any;
/** The name of the icon to be displayed by the DropDownMenu button. */
buttonIcon?: string;
- buttonIconSrc?: string;
/** The text displayed in the DropDownMenu button. */
buttonText?: string;
+ buttonIconSrc?: string;
/** A data source used to fetch data to be displayed by the widget. */
dataSource?: any;
/** A handler for the itemClick event. */
onItemClick?: any;
- itemClickAction?: any;
- itemRender?: any;
/** An array of items displayed by the widget. */
items?: Array;
/** The template to be used for rendering items. */
@@ -2433,7 +2533,6 @@ declare module DevExpress.ui {
popupHeight?: any;
/** Specifies whether or not the drop-down menu is displayed. */
opened?: boolean;
- /** A Boolean value specifying whether or not the widget changes its state when being hovered by an end user. */
hoverStateEnabled?: boolean;
}
/** A drop-down menu widget. */
@@ -2447,7 +2546,6 @@ declare module DevExpress.ui {
close(): void;
}
export interface dxActionSheetOptions extends CollectionWidgetOptions {
- cancelClickAction?: any;
/** A handler for the cancelClick event. */
onCancelClick?: any;
/** The text displayed in the button that closes the action sheet. */
@@ -2540,7 +2638,7 @@ declare module DevExpress.data {
dataType?: string;
/** Specifies how the values of the current field are combined into groups. Cannot be used for the XmlaStore store type. */
groupInterval?: any;
- /** Specifies how to aggregate field data. Cannot be used for th XmlaStore store type. */
+ /** Specifies how to aggregate field data. Cannot be used for the XmlaStore store type. */
summaryType?: string;
/** Allows you to use a custom aggregate function to calculate the summary values. Cannot be used for the XmlaStore store type. */
calculateCustomSummary?: (options: {
@@ -2594,18 +2692,60 @@ declare module DevExpress.data {
allowExpandAll?: boolean;
/** Specifies the absolute width of the field in the pivot grid. */
width?: number;
+ /** Specifies the summary post-processing algorithm. */
+ summaryDisplayMode?: string;
+ /** Specifies whether to summarize each next summary value with the previous one by rows or columns. */
+ runningTotal?: string;
+ /** Specifies whether to allow the predefined summary post-processing functions ('absoluteVariation' and 'percentVariation') and runningTotal to take values of different groups into account. */
+ allowCrossGroupCalculation?: boolean;
+ /** Specifies a callback function that allows you to modify summary values after they are calculated. */
+ calculateSummaryValue?: (e: Object) => number;
+ /** Specifies whether or not to display Total values for the field. */
+ showTotals?: boolean;
+ /** Specifies whether or not to display Grand Total values for the field. */
+ showGrandTotals?: boolean;
+ }
+ export class SummaryCell {
+ /** Gets the parent cell in a specified direction. */
+ parent(direction: string): SummaryCell;
+ /** Gets all children cells in a specified direction. */
+ children(direction: string): Array;
+ /** Gets a partial Grand Total cell of a row or column. */
+ grandTotal(direction: string): SummaryCell;
+ /** Gets the Grand Total of the entire pivot grid. */
+ grandTotal(): SummaryCell;
+ /** Gets the cell next to the current one in a specified direction. */
+ next(direction: string): SummaryCell;
+ /** Gets the cell next to current in a specified direction. */
+ next(direction: string, allowCrossGroup: boolean): SummaryCell;
+ /** Gets the cell prior to the current one in a specified direction. */
+ prev(direction: string): SummaryCell;
+ /** Gets the cell previous to current in a specified direction. */
+ prev(direction: string, allowCrossGroup: boolean): SummaryCell;
+ /** Gets the child cell in a specified direction. */
+ child(direction: string, fieldValue: any): SummaryCell;
+ /** Gets the cell located by the path of the source cell with one field value changed. */
+ slice(field: PivotGridField, value: any): SummaryCell;
+ /** Gets the header cell of a row or column field to which the current cell belongs. */
+ field(area: string): PivotGridField;
+ /** Gets the value of the current cell. */
+ value(): any;
+ /** Gets the value of the current cell. */
+ value(isCalculatedValue: boolean): any;
+ /** Gets the value of any field linked with the current cell. */
+ value(field: PivotGridField): any;
+ /** Gets the value of any field linked with the current cell. */
+ value(field: PivotGridField, isCalculatedValue: boolean): any;
}
export interface PivotGridDataSourceOptions {
/** Specifies the underlying Store instance used to access data. */
store?: any;
/** Indicates whether or not the automatic field generation from data in the Store is enabled. */
retrieveFields?: boolean;
- /** Specifies data filtering conditions. */
+ /** Specifies data filtering conditions. Cannot be used for the XmlaStore store type. */
filter?: Object;
/** An array of pivot grid fields. */
fields?: Array;
- /** Indicates whether or not the local sorting of the XMLA data should be performed. */
- localSorting?: boolean;
/** A handler for the changed event. */
onChanged?: () => void;
/** A handler for the loadingChanged event. */
@@ -2618,7 +2758,9 @@ declare module DevExpress.data {
/** An object that provides access to data for the dxPivotGrid widget. */
export class PivotGridDataSource implements EventsMixin {
constructor(options?: PivotGridDataSource);
- /** Starts loading data. */
+ /** Starts reloading data from any store and updating the data source. */
+ reload(): JQueryPromise;
+ /** Starts updating the data source. Reloads data from the XMLA store only. */
load(): JQueryPromise;
/** Indicates whether or not the PivotGridDataSource is currently being loaded. */
isLoading(): boolean;
@@ -2644,6 +2786,22 @@ declare module DevExpress.data {
collapseAll(id: any): void;
/** Disposes of all resources associated with this PivotGridDataSource. */
dispose(): void;
+ /** Gets the current filter expression. Cannot be used for the XmlaStore store type. */
+ filter(): Object;
+ /** Applies a new filter expression. Cannot be used for the XmlaStore store type. */
+ filter(filterExpr: Object): void;
+ /** Provides access to a list of records (facts) that were used to calculate a specific summary. */
+ createDrillDownDataSource(options: {
+ columnPath?: Array;
+ rowPath?: Array;
+ dataIndex?: number;
+ maxRowCount?: number;
+ customColumns?: Array;
+ }): DevExpress.data.DataSource;
+ /** Gets the current PivotGridDataSource state (fields configuration, sorting, filters, expanded headers, etc.) */
+ state(): Object;
+ /** Sets the PivotGridDataSource state. */
+ state(state: Object): void;
on(eventName: string, eventHandler: Function): PivotGridDataSource;
on(events: { [eventName: string]: Function; }): PivotGridDataSource;
off(eventName: string): PivotGridDataSource;
@@ -2666,6 +2824,8 @@ declare module DevExpress.ui {
firstDayOfWeek?: number;
/** The template to be used for rendering appointments. */
appointmentTemplate?: any;
+ /** The template to be used for rendering an appointment tooltip. */
+ appointmentTooltipTemplate?: any;
/** Lists the views to be available within the scheduler's View Selector. */
views?: Array;
/** Specifies the resource kinds by which the scheduler's appointments are grouped in a timetable. */
@@ -2674,14 +2834,36 @@ declare module DevExpress.ui {
startDayHour?: number;
/** Specifies an end hour in the scheduler view's time interval. */
endDayHour?: number;
- /** Specifies whether the scheduler data can be edited at runtime. */
- editing?: boolean;
+ /** Specifies whether or not the "All-day" panel is visible. */
+ showAllDayPanel?: boolean;
+ /** Specifies cell duration in minutes. */
+ cellDuration?: number;
+ /** Specifies the edit mode for recurrent appointments. */
+ recurrenceEditMode?: string;
+ /** Specifies which editing operations an end-user can perform on appointments. */
+ editing?: {
+ /** Specifies whether or not an end-user can add appointments. */
+ allowAdding?: boolean;
+ /** Specifies whether or not an end-user can change appointment options. */
+ allowUpdating?: boolean;
+ /** Specifies whether or not an end-user can delete appointments. */
+ allowDeleting?: boolean;
+ /** Specifies whether or not an end-user can change an appointment duration. */
+ allowResizing?: boolean;
+ /** Specifies whether or not an end-user can drag appointments. */
+ allowDragging?: boolean;
+ }
/** Specifies an array of resources available in the scheduler. */
resources?: Array<{
/** Indicates whether or not several resources of this kind can be assigned to an appointment. */
allowMultiple?: boolean;
- /** Indicates whether or not resources of this kind have priority in the color identification of the appointments that have resources of different kinds assigned. */
+ /**
+ * Indicates whether or not resources of this kind have priority in the color identification of the appointments that have resources of different kinds assigned.
+ * @deprecated Use the 'useColorAsDefault' property instead
+ */
mainColor?: boolean;
+ /** Indicates whether or not resources of this kind have priority in the color identification of the appointments that have resources of different kinds assigned. */
+ useColorAsDefault?: boolean;
/** A data source used to fetch resources to be available in the scheduler. */
dataSource?: any;
/** Specifies the resource object field whose value is displayed by the Resource editor in the Appointment popup window. */
@@ -2707,6 +2889,18 @@ declare module DevExpress.ui {
onAppointmentDeleted?: Function;
/** A handler for the appointmentRendered event. */
onAppointmentRendered?: Function;
+ /** A handler for the appointmentClick event. */
+ onAppointmentClick?: any;
+ /** A handler for the appointmentDblClick event. */
+ onAppointmentDblClick?: any;
+ /** A handler for the cellClick event. */
+ onCellClick?: any;
+ /** A handler for the appointmentFormCreated event. */
+ onAppointmentFormCreated?: Function;
+ /** Specifies whether or not an end-user can scroll the view horizontally. */
+ horizontalScrollingEnabled?: boolean;
+ /** Specifies whether a user can switch views using tabs or a drop-down menu. */
+ useDropDownViewSwitcher?: boolean;
}
/** A widget that displays scheduled data using different views and provides the capability to load, add and edit appointments. */
export class dxScheduler extends Widget {
@@ -2720,6 +2914,8 @@ declare module DevExpress.ui {
deleteAppointment(appointment: Object): void;
/** Scrolls the scheduler work space to the specified time. */
scrollToTime(hours: number, minutes: number): void;
+ /** Displays the Appointment Details popup. */
+ showAppointmentPopup(appointmentData: Object, createNewAppointment?: boolean): void;
}
export interface dxColorBoxOptions extends dxDropDownEditorOptions {
/** Specifies the text displayed on the button that applies changes and closes the drop-down editor. */
@@ -2737,55 +2933,53 @@ declare module DevExpress.ui {
constructor(element: JQuery, options?: dxColorBoxOptions);
constructor(element: Element, options?: dxColorBoxOptions);
}
- export interface dxColorPickerOptions extends dxColorBoxOptions { }
- /**
- * A widget used to specify a color value.
- * @deprecated Use the dxColorBox widget instead
- */
- export class dxColorPicker extends dxColorBox {
- constructor(element: JQuery, options?: dxColorPickerOptions);
- constructor(element: Element, options?: dxColorPickerOptions);
+ export interface HierarchicalCollectionWidgetOptions extends CollectionWidgetOptions {
+ /** Specifies the name of the data source item field whose value is displayed by the widget. */
+ displayExpr?: any;
+ /** Specifies the name of the data source item field used as a key. */
+ keyExpr?: any;
+ /** Specifies the name of the data source item field whose value defines whether or not the corresponding widget items is selected. */
+ selectedExpr?: any;
+ /** Specifies the name of the data source item field that contains an array of nested items. */
+ itemsExpr?: any;
+ /** Specifies the name of the data source item field whose value defines whether or not the corresponding widget item is disabled. */
+ disabledExpr?: any;
+ /** Specifies the name of the data source item field that holds the key of the parent item. */
+ parentIdExpr?: any;
+ /** Specifies the name of the data source item field whose value defines whether or not the corresponding widget items is expanded. */
+ expandedExpr?: any;
+ hoverStateEnabled?: boolean;
+ focusStateEnabled?: boolean;
}
- export interface dxTreeViewOptions extends CollectionWidgetOptions {
+ export class HierarchicalCollectionWidget extends CollectionWidget {
+ }
+ export interface dxTreeViewOptions extends HierarchicalCollectionWidgetOptions {
/** Specifies whether or not to animate item collapsing and expanding. */
animationEnabled?: boolean;
/** Specifies whether a nested or plain array is used as a data source. */
dataStructure?: string;
/** Specifies whether or not a user can expand all tree view items by the "*" hot key. */
expandAllEnabled?: boolean;
- /**
- * An array of currently expanded item objects.
- * @deprecated Use item.expanded field instead
- */
- expandedItems?: Array;
/** Specifies whether or not a check box is displayed at each tree view item. */
showCheckBoxes?: boolean;
+ /** Specifies the current check boxes display mode. */
+ showCheckBoxesMode?: string;
/** Specifies whether or not to select nodes recursively. */
selectNodesRecursive?: boolean;
+ /** Specifies whether or not all parent nodes of an initially expanded node are displayed expanded. */
+ expandNodesRecursive?: boolean;
/** Specifies whether the "Select All" check box is displayed over the tree view. */
selectAllEnabled?: boolean;
/** Specifies the text displayed at the "Select All" check box. */
selectAllText?: string;
- /** Specifies the name of the data source item field used as a key. */
- keyExpr?: any;
- /** Specifies the name of the data source item field whose value is displayed by the widget. */
- displayExpr?: any;
- /** Specifies the name of the data source item field whose value defines whether or not the corresponding node is selected. */
- selectedExpr?: any;
- /** Specifies the name of the data source item field whose value defines whether or not the corresponding node is expanded. */
- expandedExpr?: any;
- /** Specifies the name of the data source item field that contains an array of nested items. */
- itemsExpr?: any;
- /** Specifies the name of the data source item field that holds the key of the parent item. */
- parentIdExpr?: any;
- /** Specifies the name of the data source item field whose value defines whether or not the corresponding node is disabled. */
- disabledExpr?: any;
/** Specifies the name of the data source item field whose value defines whether or not the corresponding node includes child nodes. */
hasItemsExpr?: any;
/** Specifies if the virtual mode is enabled. */
virtualModeEnabled?: boolean;
/** Specifies the parent ID value of the root item. */
rootValue?: any;
+ /** Specifies the current value used to filter tree view items. */
+ searchValue?: string;
/** A string value specifying available scrolling directions. */
scrollDirection?: string;
/** A handler for the itemSelected event. */
@@ -2798,11 +2992,9 @@ declare module DevExpress.ui {
onItemContextMenu?: Function;
onItemRendered?: Function;
onItemHold?: Function;
- hoverStateEnabled?: boolean;
- focusStateEnabled?: boolean;
}
/** A widget displaying specified data items as a tree. */
- export class dxTreeView extends CollectionWidget {
+ export class dxTreeView extends HierarchicalCollectionWidget {
constructor(element: JQuery, options?: dxTreeViewOptions);
constructor(element: Element, options?: dxTreeViewOptions);
/** Updates the tree view scrollbars according to the current size of the widget content. */
@@ -2822,7 +3014,7 @@ declare module DevExpress.ui {
/** Unselects all widget items. */
unselectAll(): void;
}
- export interface dxMenuBaseOptions extends CollectionWidgetOptions {
+ export interface dxMenuBaseOptions extends HierarchicalCollectionWidgetOptions {
/** An object that defines the animation options of the widget. */
animation?: fx.AnimationOptions;
/** A Boolean value specifying whether or not the widget changes its state when interacting with a user. */
@@ -2847,10 +3039,8 @@ declare module DevExpress.ui {
hide?: number;
};
};
- /** A Boolean value specifying whether or not the widget changes its state when being hovered by an end user. */
- hoverStateEnabled?: boolean;
}
- export class dxMenuBase extends CollectionWidget {
+ export class dxMenuBase extends HierarchicalCollectionWidget {
constructor(element: JQuery, options?: dxMenuBaseOptions);
constructor(element: Element, options?: dxMenuBaseOptions);
/** Selects the specified item. */
@@ -2879,16 +3069,12 @@ declare module DevExpress.ui {
submenuDirection?: string;
/** A handler for the submenuHidden event. */
onSubmenuHidden?: Function;
- submenuHiddenAction?: Function;
/** A handler for the submenuHiding event. */
onSubmenuHiding?: Function;
- submenuHidingAction?: Function;
/** A handler for the submenuShowing event. */
onSubmenuShowing?: Function;
- submenuShowingAction?: Function;
/** A handler for the submenuShown event. */
onSubmenuShown?: Function;
- submenuShownAction?: Function;
}
/** A menu widget. */
export class dxMenu extends dxMenuBase {
@@ -2940,6 +3126,10 @@ declare module DevExpress.ui {
paging?: boolean;
/** Specifies whether or not sorting must be performed on the server side. */
sorting?: boolean;
+ /** Specifies whether or not grouping must be performed on the server side. */
+ grouping?: boolean;
+ /** Specifies whether or not summaries calculation must be performed on the server side. */
+ summary?: boolean;
}
export interface dxDataGridColumn {
/** Specifies the content alignment within column cells. */
@@ -2948,6 +3138,8 @@ declare module DevExpress.ui {
allowEditing?: boolean;
/** Specifies whether or not a column can be used for filtering grid records. Setting this option makes sense only when the filter row and column header filtering are visible. */
allowFiltering?: boolean;
+ /** Specifies whether or not to allow filtering by this column using its header. */
+ allowHeaderFiltering?: boolean;
/** Specifies whether or not the column can be anchored to a grid edge by end users. Setting this option makes sense only when the columnFixing | enabled option is set to true. */
allowFixing?: boolean;
/** Specifies if a column can be used for searching grid records. Setting this option makes sense only when the search panel is visible. */
@@ -2966,14 +3158,18 @@ declare module DevExpress.ui {
autoExpandGroup?: boolean;
/** Specifies a callback function that returns a value to be displayed in a column cell. */
calculateCellValue?: (rowData: Object) => string;
+ /** Specifies a callback function to be invoked after the cell value is edited by an end-user and before the new value is saved to the data source. */
+ setCellValue?: (rowData: Object, value: any) => void;
/** Specifies a callback function that defines filters for customary calculated grid cells. */
- calculateFilterExpression?: (filterValue: any, selectedFilterOperation: string) => Array;
+ calculateFilterExpression?: (filterValue: any, selectedFilterOperation: string, target: string) => Array;
/** Specifies a caption for a column. */
caption?: string;
/** Specifies a custom template for grid column cells. */
cellTemplate?: any;
/** Specifies a CSS class to be applied to a column. */
cssClass?: string;
+ /** Specifies how to get a value to be displayed in a cell when it is not in an editing state. */
+ calculateDisplayValue?: any;
/** Specifies a field name or a function that returns a field name or a value to be used for grouping column cells. */
calculateGroupValue?: any;
/** Specifies a field name or a function that returns a field name or a value to be used for sorting column cells. */
@@ -2986,6 +3182,8 @@ declare module DevExpress.ui {
dataType?: string;
/** Specifies a custom template for the cell of a grid column when it is in an editing state. */
editCellTemplate?: any;
+ /** Specifies configuration options for the editor widget of the current column. */
+ editorOptions?: Object;
/** Specifies whether HTML tags are displayed as plain text or applied to the values of the column. */
encodeHtml?: boolean;
/** In a boolean column, replaces all false items with a specified text. */
@@ -3021,6 +3219,13 @@ declare module DevExpress.ui {
/** Specifies the expression defining the data source field whose values must be replaced. */
valueExpr?: string;
};
+ /** Specifies column-level options for filtering using a column header filter. */
+ headerFilter?: {
+ /** Specifies the data source to be used for header filter. */
+ dataSource?: any;
+ /** Specifies how header filter values should be combined into groups. */
+ groupInterval?: any;
+ };
/** Specifies a precision for formatted values displayed in a column. */
precision?: number;
/** Specifies a filter operation applied to a column. */
@@ -3047,6 +3252,8 @@ declare module DevExpress.ui {
showInColumnChooser?: boolean;
/** Specifies the identifier of the column. */
name?: string;
+ /** The form item configuration object. Used only when the editing mode is "form". */
+ formItem?: DevExpress.ui.dxFormItem;
}
export interface dxDataGridOptions extends WidgetOptions {
/** Specifies whether the outer borders of the grid are visible or not. */
@@ -3057,40 +3264,30 @@ declare module DevExpress.ui {
onRowValidating?: (e: Object) => void;
/** A handler for the contextMenuPreparing event. */
onContextMenuPreparing?: (e: Object) => void;
- initNewRow?: (e: { data: Object }) => void;
/** A handler for the initNewRow event. */
onInitNewRow?: (e: { data: Object }) => void;
- rowInserted?: (e: { data: Object; key: any }) => void;
/** A handler for the rowInserted event. */
onRowInserted?: (e: { data: Object; key: any }) => void;
- rowInserting?: (e: { data: Object; cancel: boolean }) => void;
/** A handler for the rowInserting event. */
- onRowInserting?: (e: { data: Object; cancel: boolean }) => void;
- rowRemoved?: (e: { data: Object; key: any }) => void;
+ onRowInserting?: (e: { data: Object; cancel: any }) => void;
/** A handler for the rowRemoved event. */
onRowRemoved?: (e: { data: Object; key: any }) => void;
- rowRemoving?: (e: { data: Object; key: any; cancel: boolean }) => void;
/** A handler for the rowRemoving event. */
- onRowRemoving?: (e: { data: Object; key: any; cancel: boolean }) => void;
- rowUpdated?: (e: { data: Object; key: any }) => void;
+ onRowRemoving?: (e: { data: Object; key: any; cancel: any }) => void;
/** A handler for the rowUpdated event. */
onRowUpdated?: (e: { data: Object; key: any }) => void;
- rowUpdating?: (e: { oldData: Object; newData: Object; key: any; cancel: boolean }) => void;
/** A handler for the rowUpdating event. */
- onRowUpdating?: (e: { oldData: Object; newData: Object; key: any; cancel: boolean }) => void;
+ onRowUpdating?: (e: { oldData: Object; newData: Object; key: any; cancel: any }) => void;
/** Enables a hint that appears when a user hovers the mouse pointer over a cell with truncated content. */
cellHintEnabled?: boolean;
/** Specifies whether or not grid columns can be reordered by a user. */
allowColumnReordering?: boolean;
/** Specifies whether or not grid columns can be resized by a user. */
allowColumnResizing?: boolean;
- cellClick?: any;
/** A handler for the cellClick event. */
onCellClick?: any;
- cellHoverChanged?: (e: Object) => void;
/** A handler for the cellHoverChanged event. */
onCellHoverChanged?: (e: Object) => void;
- cellPrepared?: (e: Object) => void;
/** A handler for the cellPrepared event. */
onCellPrepared?: (e: Object) => void;
/** Specifies whether or not the width of grid columns depends on column content. */
@@ -3145,18 +3342,12 @@ declare module DevExpress.ui {
/** An array of grid columns. */
columns?: Array;
onContentReady?: Function;
- contentReadyAction?: Function;
/** Specifies a function that customizes grid columns after they are created. */
customizeColumns?: (columns: Array) => void;
- dataErrorOccurred?: (errorObject: Error) => void;
/** Specifies a data source for the grid. */
dataSource?: any;
- editingStart?: (e: {
- data: Object;
- key: any;
- cancel: boolean;
- column: dxDataGridColumn
- }) => void;
+ /** Specifies whether or not to enable data caching. */
+ cacheEnabled?: boolean;
/** A handler for the editingStart event. */
onEditingStart?: (e: {
data: Object;
@@ -3164,27 +3355,31 @@ declare module DevExpress.ui {
cancel: boolean;
column: dxDataGridColumn
}) => void;
- editorPrepared?: (e: Object) => void;
/** A handler for the editorPrepared event. */
onEditorPrepared?: (e: Object) => void;
- editorPreparing?: (e: Object) => void;
/** A handler for the editorPreparing event. */
onEditorPreparing?: (e: Object) => void;
/** Contains options that specify how grid content can be changed. */
editing?: {
- /** Specifies whether or not grid records can be edited at runtime. */
- editEnabled?: boolean;
- /** Specifies how grid values can be edited manually. */
editMode?: string;
- /** Specifies whether or not new records can be inserted into a grid. */
+ editEnabled?: boolean;
insertEnabled?: boolean;
- /** Specifies whether or not records can be deleted from a grid. */
removeEnabled?: boolean;
+ /** Specifies how grid values can be edited manually. */
+ mode?: string;
+ /** Specifies whether or not grid records can be edited at runtime. */
+ allowUpdating?: boolean;
+ /** Specifies whether or not new grid records can be added at runtime. */
+ allowAdding?: boolean;
+ /** Specifies whether or not grid records can be deleted at runtime. */
+ allowDeleting?: boolean;
+ /** The form configuration object. Used only when the editing mode is "form". */
+ form?: DevExpress.ui.dxFormOptions;
/** Contains options that specify texts for editing-related grid controls. */
texts?: {
/** Specifies text for a hint that appears when a user hovers the mouse pointer over the "Save" button. Setting this option makes sense only when the editMode option is set to batch. */
saveAllChanges?: string;
- /** Specifies text for a cancel button displayed when a row is in the editing state. Setting this option makes sense only when the editEnabled option is set to true. */
+ /** Specifies text for a cancel button displayed when a row is in the editing state. Setting this option makes sense only when the allowUpdating option is set to true. */
cancelRowChanges?: string;
/** Specifies text for a hint that appears when a user hovers the mouse pointer over the "Revert" button. Setting this option makes sense only when the editMode option is set to batch. */
cancelAllChanges?: string;
@@ -3192,15 +3387,17 @@ declare module DevExpress.ui {
confirmDeleteMessage?: string;
/** Specifies text to be displayed in the title of a confirmation window. Setting this option makes sense only when the edit mode is "row". */
confirmDeleteTitle?: string;
- /** Specifies text for a button that deletes a row from a grid. Setting this option makes sense only when the removeEnabled option is set to true. */
+ /** Specifies text for a hint that appears when a user hovers the mouse pointer over the "Cancel changes" button. Setting this option makes sense only when the editMode option is set to cell and the validation capabilities are enabled. */
+ validationCancelChanges?: string;
+ /** Specifies text for a button that deletes a row from a grid. Setting this option makes sense only when the allowDeleting option is set to true. */
deleteRow?: string;
- /** Specifies text for a hint that appears when a user hovers the mouse pointer over the "Add" button. Setting this option makes sense only when the insertEnabled option is true. */
+ /** Specifies text for a hint that appears when a user hovers the mouse pointer over the "Add" button. Setting this option makes sense only when the allowAdding option is true. */
addRow?: string;
- /** Specifies text for a button that turns a row into the editing state. Setting this option makes sense only when the editEnabled option is set to true. */
+ /** Specifies text for a button that turns a row into the editing state. Setting this option makes sense only when the allowUpdating option is set to true. */
editRow?: string;
- /** Specifies text for a save button displayed when a row is in the editing state. Setting this option makes sense only when the editEnabled option is set to true. */
+ /** Specifies text for a save button displayed when a row is in the editing state. Setting this option makes sense only when the allowUpdating option is set to true. */
saveRowChanges?: string;
- /** Specifies text for a button that recovers a deleted row. Setting this option makes sense only if the grid uses the batch edit mode and the removeEnabled option is set to true. */
+ /** Specifies text for a button that recovers a deleted row. Setting this option makes sense only if the grid uses the batch edit mode and the allowDeleting option is set to true. */
undeleteRow?: string;
};
};
@@ -3227,6 +3424,10 @@ declare module DevExpress.ui {
resetOperationText?: string;
/** Specifies text for the operation of clearing the applied filter when a select box is used. */
showAllText?: string;
+ /** Specifies text for the range start in the 'between' filter type. */
+ betweenStartText?: string;
+ /** Specifies text for the range end in the 'between' filter type. */
+ betweenEndText?: string;
/** Specifies whether or not an icon that allows the user to choose a filter operation is visible. */
showOperationChooser?: boolean;
/** Specifies whether the filter row is visible or not. */
@@ -3297,10 +3498,8 @@ declare module DevExpress.ui {
};
/** Specifies whether or not grid rows must be shaded in a different way. */
rowAlternationEnabled?: boolean;
- rowClick?: any;
/** A handler for the rowClick event. */
onRowClick?: any;
- rowPrepared?: (e: Object) => void;
/** A handler for the rowPrepared event. */
onRowPrepared?: (e: Object) => void;
/** Specifies a custom template for grid rows. */
@@ -3311,6 +3510,14 @@ declare module DevExpress.ui {
mode?: string;
/** Specifies whether or not a grid must preload pages adjacent to the current page when using virtual scrolling. */
preloadEnabled?: boolean;
+ /** Specifies whether or not the widget uses native scrolling. */
+ useNative?: any;
+ /** Specifies the scrollbar display policy. */
+ showScrollbar?: string;
+ /** Specifies whether or not the scrolling by content is enabled. */
+ scrollByContent?: boolean;
+ /** Specifies whether or not the scrollbar thumb scrolling enabled. */
+ scrollByThumb?: boolean;
};
/** Specifies options of the search panel. */
searchPanel?: {
@@ -3375,17 +3582,13 @@ declare module DevExpress.ui {
selectedRowKeys?: Array;
/** Specifies options of runtime selection. */
selection?: {
+ /** Specifies the checkbox row display policy in the multiple mode. */
+ showCheckBoxesMode?: string;
/** Specifies whether the user can select all grid records at once. */
allowSelectAll?: boolean;
/** Specifies the selection mode. */
mode?: string;
};
- selectionChanged?: (e: {
- currentSelectedRowKeys: Array;
- currentDeselectedRowKeys: Array;
- selectedRowKeys: Array;
- selectedRowsData: Array;
- }) => void;
/** A handler for the dataErrorOccured event. */
onDataErrorOccurred?: (e: { error: Error }) => void;
/** A handler for the selectionChanged event. */
@@ -3435,7 +3638,7 @@ declare module DevExpress.ui {
/** Specifies a callback function that performs specific actions on state loading. */
customLoad?: () => JQueryPromise;
/** Specifies a callback function that performs specific actions on state saving. */
- customSave?: (gridState: Object) => void;
+ customSave?: (state: Object) => void;
/** Specifies whether or not a grid saves its state. */
enabled?: boolean;
/** Specifies the delay between the last change of a grid state and the operation of saving this state in milliseconds. */
@@ -3554,10 +3757,14 @@ declare module DevExpress.ui {
getKeyByRowIndex(rowIndex: number): any;
/** Adds a new column to a grid. */
addColumn(columnOptions: dxDataGridColumn): void;
+ /** Removes the column from the grid. */
+ deleteColumn(id: any): void;
/** Displays the load panel. */
beginCustomLoading(messageText: string): void;
/** Discards changes made in a grid. */
cancelEditData(): void;
+ /** Checks whether or not the grid contains unsaved changes. */
+ hasEditData(): boolean;
/** Clears all the filters of a specific type applied to grid records. */
clearFilter(): void;
/** Deselects all grid records. */
@@ -3577,9 +3784,19 @@ declare module DevExpress.ui {
/** Sets several options of a column at once. */
columnOption(id: any, options: Object): void;
/** Sets a specific cell into the editing state. */
- editCell(rowIndex: number, columnIndex: number): void;
+ editCell(rowIndex: number, visibleColumnIndex: number): void;
+ /** Sets a specific cell into the editing state. */
+ editCell(rowIndex: number, dataField: string): void;
/** Sets a specific row into the editing state. */
editRow(rowIndex: number): void;
+ /** Gets the cell value. */
+ cellValue(rowIndex: number, dataField: string): any;
+ /** Gets the cell value. */
+ cellValue(rowIndex: number, visibleColumnIndex: number): any;
+ /** Sets the cell value. */
+ cellValue(rowIndex: number, dataField: string, value: any): void;
+ /** Sets the cell value. */
+ cellValue(rowIndex: number, visibleColumnIndex: number, value: any): void;
/** Hides the load panel. */
endCustomLoading(): void;
/** Expands groups or master rows in a grid. */
@@ -3603,6 +3820,11 @@ declare module DevExpress.ui {
/** Hides the column chooser panel. */
hideColumnChooser(): void;
/** Adds a new data row to a grid. */
+ addRow(): void;
+ /**
+ * Adds a new data row to a grid.
+ * @deprecated Use the addRow() method instead.
+ */
insertRow(): void;
/** Returns the key corresponding to the passed data object. */
keyOf(obj: Object): any;
@@ -3617,6 +3839,11 @@ declare module DevExpress.ui {
/** Refreshes grid data. */
refresh(): void;
/** Removes a specific row from a grid. */
+ deleteRow(rowIndex: number): void;
+ /**
+ * Removes a specific row from a grid.
+ * @deprecated Use the deleteRow() method instead.
+ */
removeRow(rowIndex: number): void;
/** Saves changes made in a grid. */
saveEditData(): void;
@@ -3656,8 +3883,14 @@ declare module DevExpress.ui {
onContentReady?: Function;
/** Specifies a data source for the pivot grid. */
dataSource?: any;
- /** Specifies whether or not the widget uses native scrolling. */
useNativeScrolling?: any;
+ /** A configuration object specifying scrolling options. */
+ scrolling?: {
+ /** Specifies the scrolling mode. */
+ mode?: string;
+ /** Specifies whether or not the widget uses native scrolling. */
+ useNative?: any;
+ };
/** Allows an end-user to change sorting options. */
allowSorting?: boolean;
/** Allows an end-user to sort columns by summary values. */
@@ -3674,6 +3907,12 @@ declare module DevExpress.ui {
showColumnTotals?: boolean;
/** Specifies whether to display the Grand Total column. */
showColumnGrandTotals?: boolean;
+ /** Specifies whether or not to hide rows and columns with no data. */
+ hideEmptySummaryCells?: boolean;
+ /** Specifies where to show the total rows or columns. */
+ showTotalsPrior?: string;
+ /** Specifies whether the outer borders of the grid are visible or not. */
+ showBorders?: boolean;
/** The Field Chooser configuration options. */
fieldChooser?: {
/** Enables or disables the field chooser. */
@@ -3720,6 +3959,8 @@ declare module DevExpress.ui {
sortRowBySummary?: string;
/** The string to display as a Remove All Sorting context menu item. */
removeAllSorting?: string;
+ /** The string to display as an Export to Excel file context menu item. */
+ exportToExcel?: string;
};
/** The Load panel configuration options. */
loadPanel?: {
@@ -3744,6 +3985,38 @@ declare module DevExpress.ui {
onCellPrepared?: (e: any) => void;
/** A handler for the contextMenuPreparing event. */
onContextMenuPreparing?: (e: Object) => void;
+ /** Specifies options for exporting pivot grid data. */
+ export?: {
+ /** Indicates whether the export feature is enabled for the pivot grid. */
+ enabled?: boolean;
+ /** Specifies a default name for the file to which grid data is exported. */
+ fileName?: string;
+ /** Specifies the URL of the server-side proxy that streams the resulting file to the end user to enable export in IE8, IE9 and Safari browsers. */
+ proxyUrl?: string;
+ };
+ /** A handler for the exporting event. */
+ onExporting?: (e: {
+ fileName: string;
+ format: string;
+ cancel: boolean;
+ }) => void;
+ /** A handler for the exported event. */
+ onExported?: (e: Object) => void;
+ /** A configuration object specifying options related to state storing. */
+ stateStoring?: {
+ /** Specifies a callback function that performs specific actions on state loading. */
+ customLoad?: () => JQueryPromise;
+ /** Specifies a callback function that performs specific actions on state saving. */
+ customSave?: (gridState: Object) => void;
+ /** Specifies whether or not a grid saves its state. */
+ enabled?: boolean;
+ /** Specifies the delay between the last change of a grid state and the operation of saving this state in milliseconds. */
+ savingTimeout?: number;
+ /** Specifies a unique key to be used for storing the grid state. */
+ storageKey?: string;
+ /** Specifies the type of storage to be used for state storing. */
+ type?: string;
+ };
}
/** A data summarization widget for multi-dimensional data analysis and data mining. */
export class dxPivotGrid extends Widget {
@@ -3751,8 +4024,12 @@ declare module DevExpress.ui {
constructor(element: Element, options?: dxPivotGridOptions);
/** Gets the PivotGridDataSource instance. */
getDataSource(): DevExpress.data.PivotGridDataSource;
+ /** Gets the dxPopup instance of the field chooser window. */
+ getFieldChooserPopup(): DevExpress.ui.dxPopup;
/** Updates the widget to the size of its content. */
updateDimensions(): void;
+ /** Exports pivot grid data to the Excel file. */
+ exportToExcel(): void;
}
export interface dxPivotGridFieldChooserOptions extends WidgetOptions {
/** Specifies the height of the widget. */
@@ -3847,7 +4124,6 @@ declare module DevExpress.framework {
setView(key: string, viewInfo: Object): void;
}
export interface dxCommandOptions extends DOMComponentOptions {
- action?: any;
/** Specifies an action performed when the execute() method of the command is called. */
onExecute?: any;
/** Indicates whether or not the widget that displays this command is disabled. */
@@ -3933,6 +4209,8 @@ declare module DevExpress.framework {
viewCache?: Object;
/** Specifies a limit for the views that can be cached. */
viewCacheSize?: number;
+ /** Specifies the current version of application templates. */
+ templatesVersion?: string;
/** Specifies options for the viewport meta tag of a mobile browser. */
viewPort?: JQuery;
/** A custom router to be used in the application. */
@@ -3947,6 +4225,7 @@ declare module DevExpress.framework {
navigating: JQueryCallback;
navigatingBack: JQueryCallback;
resolveLayoutController: JQueryCallback;
+ resolveViewCacheKey: JQueryCallback;
viewDisposed: JQueryCallback;
viewDisposing: JQueryCallback;
viewHidden: JQueryCallback;
@@ -4013,6 +4292,11 @@ declare module DevExpress.framework {
layoutController: Object;
availableLayoutControllers: Array;
}) => void): HtmlApplication;
+ on(eventName: "resolveViewCacheKey", eventHandler: (e: {
+ key: string;
+ navigationItem: Object;
+ routeData: Object;
+ }) => void): HtmlApplication;
on(eventName: "viewDisposed", eventHandler: (e: {
viewInfo: Object;
}) => void): HtmlApplication;
@@ -4041,6 +4325,7 @@ declare module DevExpress.framework {
off(eventName: "navigating"): HtmlApplication;
off(eventName: "navigatingBack"): HtmlApplication;
off(eventName: "resolveLayoutController"): HtmlApplication;
+ off(eventName: "resolveViewCacheKey"): HtmlApplication;
off(eventName: "viewDisposed"): HtmlApplication;
off(eventName: "viewDisposing"): HtmlApplication;
off(eventName: "viewHidden"): HtmlApplication;
@@ -4076,6 +4361,11 @@ declare module DevExpress.framework {
layoutController: Object;
availableLayoutControllers: Array;
}) => void): HtmlApplication;
+ off(eventName: "resolveViewCacheKey", eventHandler: (e: {
+ key: string;
+ navigationItem: Object;
+ routeData: Object;
+ }) => void): HtmlApplication;
off(eventName: "viewDisposed", eventHandler: (e: {
viewInfo: Object;
}) => void): HtmlApplication;
@@ -4169,13 +4459,13 @@ declare module DevExpress.viz.core {
width?: number;
}
export interface Margins {
- /** Specifies the legend's bottom margin in pixels. */
+ /** Specifies the distance in pixels between the bottom side of the title and the surrounding widget elements. */
bottom?: number;
- /** Specifies the legend's left margin in pixels. */
+ /** Specifies the distance in pixels between the left side of the title and the surrounding widget elements. */
left?: number;
- /** Specifies the legend's right margin in pixels. */
+ /** Specifies the distance between the right side of the title and surrounding widget elements in pixels. */
right?: number;
- /** Specifies the legend's bottom margin in pixels. */
+ /** Specifies the distance between the top side of the title and surrounding widget elements in pixels. */
top?: number;
}
export interface Size {
@@ -4184,6 +4474,27 @@ declare module DevExpress.viz.core {
/** Specifies the height of the widget. */
height?: number;
}
+ export interface Title {
+ /** Specifies font options for the title. */
+ font?: viz.core.Font;
+ /** Specifies the widget title's horizontal position. */
+ horizontalAlignment?: string;
+ /** Specifies the widget title's position in the vertical direction. */
+ verticalAlignment?: string;
+ /** Specifies the distance between the title and surrounding widget elements in pixels. */
+ margin?: viz.core.Margins;
+ /** Specifies the height of the space reserved for the title. */
+ placeholderSize?: number;
+ /** Specifies text for the title. */
+ text?: string;
+ /** Specifies a subtitle for the widget. */
+ subtitle?: {
+ /** Specifies font options for the subtitle. */
+ font?: viz.core.Font;
+ /** Specifies text for the subtitle. */
+ text?: string;
+ }
+ }
export interface Tooltip {
/** Specifies the length of the tooltip's arrow in pixels. */
arrowLength?: number;
@@ -4193,6 +4504,7 @@ declare module DevExpress.viz.core {
color?: string;
/** Specifies the z-index for tooltips. */
zIndex?: number;
+ /** Specifies the container to draw tooltips inside of it. */
container?: any;
/** Specifies text and appearance of a set of tooltips. */
customizeTooltip?: (arg: Object) => { color?: string; text?: string };
@@ -4283,32 +4595,23 @@ declare module DevExpress.viz.core {
visible?: boolean;
}
export interface BaseWidgetOptions {
- drawn?: (widget: Object) => void;
/** A handler for the drawn event. */
onDrawn?: (e: {
component: BaseWidget;
element: Element;
}) => void;
- incidentOccured?: (incidentInfo: {
+ /** A handler for the incidentOccurred event. */
+ onIncidentOccurred?: (
+ component: BaseWidget,
+ element: Element,
+ target: {
id: string;
type: string;
args: any;
text: string;
widget: string;
version: string;
- }) => void;
- /** A handler for the incidentOccurred event. */
- onIncidentOccurred?: (
- component: BaseWidget,
- element: Element,
- target: {
- id: string;
- type: string;
- args: any;
- text: string;
- widget: string;
- version: string;
- }
+ }
) => void;
/** Notifies a widget that it is embedded into an HTML page that uses a path modifier. */
pathModified?: boolean;
@@ -4334,11 +4637,6 @@ declare module DevExpress.viz.charts {
clearSelection(): void;
/** Gets the color of a particular series. */
getColor(): string;
- /**
- * Gets a point from the series point collection based on the specified argument.
- * @deprecated getPointsByArg(pointArg).md
- */
- getPointByArg(pointArg: any): Object;
/** Gets points from the series point collection based on the specified argument. */
getPointsByArg(pointArg: any): Array;
/** Gets a point from the series point collection based on the specified point position. */
@@ -4353,6 +4651,20 @@ declare module DevExpress.viz.charts {
getAllPoints(): Array;
/** Returns visible series points. */
getVisiblePoints(): Array;
+ /** Returns the name of the series. */
+ name: string;
+ /** Returns the tag of the series. */
+ tag: string;
+ /** Hides a series. */
+ hide(): void;
+ /** Provides information about the hover state of a series. */
+ isHovered(): boolean;
+ /** Provides information about the selection state of a series. */
+ isSelected(): boolean;
+ /** Provides information about the visibility state of a series. */
+ isVisible(): boolean;
+ /** Makes a particular series visible. */
+ show(): void;
}
/** This section describes the methods that can be used in code to manipulate the Point object. */
export interface BasePoint {
@@ -4371,9 +4683,9 @@ declare module DevExpress.viz.charts {
/** Hides the tooltip of the point. */
hideTooltip(): void;
/** Provides information about the hover state of a point. */
- isHovered(): any;
+ isHovered(): boolean;
/** Provides information about the selection state of a point. */
- isSelected(): any;
+ isSelected(): boolean;
/** Selects the point. The point is displayed in a 'selected' style until another point is selected or the current point is deselected programmatically. */
select(): void;
/** Shows the tooltip of the point. */
@@ -4389,20 +4701,6 @@ declare module DevExpress.viz.charts {
pane: string;
/** Returns the name of the value axis of the series. */
axis: string;
- /** Returns the name of the series. */
- name: string;
- /** Returns the tag of the series. */
- tag: string;
- /** Hides a series. */
- hide(): void;
- /** Provides information about the hover state of a series. */
- isHovered(): any;
- /** Provides information about the selection state of a series. */
- isSelected(): any;
- /** Provides information about the visibility state of a series. */
- isVisible(): boolean;
- /** Makes a particular series visible. */
- show(): void;
selectPoint(point: ChartPoint): void;
deselectPoint(point: ChartPoint): void;
getAllPoints(): Array;
@@ -4457,20 +4755,6 @@ declare module DevExpress.viz.charts {
export interface PolarSeries extends BaseSeries {
/** Returns the name of the value axis of the series. */
axis: string;
- /** Returns the name of the series. */
- name: string;
- /** Returns the tag of the series. */
- tag: string;
- /** Hides a series. */
- hide(): void;
- /** Provides information about the hover state of a series. */
- isHovered(): any;
- /** Provides information about the selection state of a series. */
- isSelected(): any;
- /** Provides information about the visibility state of a series. */
- isVisible(): boolean;
- /** Makes a particular series visible. */
- show(): void;
selectPoint(point: PolarPoint): void;
deselectPoint(point: PolarPoint): void;
getAllPoints(): Array;
@@ -4819,7 +5103,10 @@ declare module DevExpress.viz.charts {
/** Specifies the hatching options to be applied when a point is hovered over. */
hatching?: viz.core.Hatching;
};
- /** Specifies the fraction of the inner radius relative to the total radius in the series of the 'doughnut' type. */
+ /**
+ * Specifies the fraction of the inner radius relative to the total radius in the series of the 'doughnut' type.
+ * @deprecated use the 'innerRadius' option instead
+ */
innerRadius?: number;
/** An object defining the label configuration options. */
label?: PieSeriesConfigLabel;
@@ -4827,7 +5114,10 @@ declare module DevExpress.viz.charts {
maxLabelCount?: number;
/** Specifies a minimal size of a displayed pie segment. */
minSegmentSize?: number;
- /** Specifies the direction in which the dxPieChart's series points are located. */
+ /**
+ * Specifies the direction in which the dxPieChart series points are located.
+ * @deprecated use the 'segmentsDirection' option instead
+ */
segmentsDirection?: string;
/** Specifies the chart elements to highlight when the series is selected.
*/
selectionMode?: string;
@@ -4851,17 +5141,34 @@ declare module DevExpress.viz.charts {
/** Specifies how many segments must not be grouped. */
topCount?: number;
};
- /** Specifies a start angle for a pie chart in arc degrees. */
+ /**
+ * Specifies a start angle for a pie chart in arc degrees.
+ * @deprecated use the 'startAngle' option instead
+ */
startAngle?: number;
/** Specifies the name of the data source field that provides data about a point.
*/
tagField?: string;
/** Specifies the data source field that provides values for series points. */
valueField?: string;
}
- export interface PieSeriesConfig extends CommonPieSeriesConfig {
- /** Sets the series type. */
+ export interface CommonPieSeriesSettings extends CommonPieSeriesConfig {
+ /**
+ * Sets a series type for all series.
+ * @deprecated use the 'type' option instead
+ */
type?: string;
}
+ export interface PieSeriesConfig extends CommonPieSeriesConfig {
+ /**
+ * Sets the series type.
+ * @deprecated use the 'type' option instead
+ */
+ type?: string;
+ /** Specifies the name that identifies the series. */
+ name?: string;
+ /** Specifies data about a series. */
+ tag?: any;
+ }
export interface SeriesTemplate {
/** Specifies a callback function that returns a series object with individual series settings. */
customizeSeries?: (seriesName: string) => SeriesConfig;
@@ -4980,6 +5287,10 @@ declare module DevExpress.viz.charts {
opacity?: number;
/** Indicates whether or not ticks are visible on an axis. */
visible?: boolean;
+ /** Specifies tick width. */
+ width?: number;
+ /** Specifies tick length. */
+ length?: number;
};
/** Specifies the options of the minor ticks. */
minorTick?: {
@@ -4989,6 +5300,10 @@ declare module DevExpress.viz.charts {
opacity?: number;
/** Indicates whether or not the minor ticks are displayed on an axis. */
visible?: boolean;
+ /** Specifies minor tick width. */
+ width?: number;
+ /** Specifies minor tick length. */
+ length?: number;
};
/** Indicates whether or not the line that represents an axis in a chart is visible. */
visible?: boolean;
@@ -5217,7 +5532,6 @@ declare module DevExpress.viz.charts {
customizePoint?: (pointInfo: Object) => Object;
/** Specifies a data source for the chart. */
dataSource?: any;
- done?: Function;
/** Specifies the appearance of the loading indicator. */
loadingIndicator?: viz.core.LoadingIndicator;
/** Specifies options of a dxChart's (dxPieChart's) legend. */
@@ -5233,21 +5547,18 @@ declare module DevExpress.viz.charts {
}) => void;
/** A handler for the pointClick event. */
onPointClick?: any;
- pointClick?: any;
/** A handler for the pointHoverChanged event. */
onPointHoverChanged?: (e: {
component: BaseChart;
element: Element;
target: TPoint;
}) => void;
- pointHoverChanged?: (point: TPoint) => void;
/** A handler for the pointSelectionChanged event. */
onPointSelectionChanged?: (e: {
component: BaseChart;
element: Element;
target: TPoint;
}) => void;
- pointSelectionChanged?: (point: TPoint) => void;
/** Specifies whether a single point or multiple points can be selected in the chart. */
pointSelectionMode?: string;
/** Specifies whether to redraw the widget when the size of the parent browser window changes or a mobile device rotates. */
@@ -5257,20 +5568,7 @@ declare module DevExpress.viz.charts {
/** Specifies the size of the widget in pixels. */
size?: viz.core.Size;
/** Specifies a title for the chart. */
- title?: {
- /** Specifies font options for the title. */
- font?: viz.core.Font;
- /** Specifies the title's horizontal position in the chart. */
- horizontalAlignment?: string;
- /** Specifies a title's position on the chart in the vertical direction. */
- verticalAlignment?: string;
- /** Specifies the distance between the title and surrounding chart elements in pixels. */
- margin?: viz.core.Margins;
- /** Specifies the height of the space reserved for the title. */
- placeholderSize?: number;
- /** Specifies a text for the chart's title. */
- text?: string;
- };
+ title?: viz.core.Title;
/** Specifies tooltip options. */
tooltip?: BaseChartTooltip;
/** A handler for the tooltipShown event. */
@@ -5285,8 +5583,6 @@ declare module DevExpress.viz.charts {
element: Element;
target: BasePoint;
}) => void;
- tooltipHidden?: (point: TPoint) => void;
- tooltipShown?: (point: TPoint) => void;
}
/** A base class for all chart widgets included in the ChartJS library. */
export class BaseChart extends viz.core.BaseWidget {
@@ -5294,6 +5590,12 @@ declare module DevExpress.viz.charts {
clearSelection(): void;
/** Gets the current size of the widget. */
getSize(): { width: number; height: number };
+ /** Returns an array of all series in the chart. */
+ getAllSeries(): Array;
+ /** Gets a series within the chart's series collection by the specified name (see the name option). */
+ getSeriesByName(seriesName: string): BaseSeries;
+ /** Gets a series within the chart's series collection by its position number. */
+ getSeriesByPos(seriesIndex: number): BaseSeries;
/** Displays the loading indicator. */
showLoadingIndicator(): void;
/** Conceals the loading indicator. */
@@ -5349,6 +5651,10 @@ declare module DevExpress.viz.charts {
seriesSelectionMode?: string;
/** Specifies how the chart must behave when series point labels overlap. */
resolveLabelOverlapping?: string;
+ /** Specifies whether or not all bars in a series must have the same angle, or may have different angles if any points in other series are missing. */
+ equalBarWidth?: boolean;
+ /** Specifies a common bar width as a percentage from 0 to 1. */
+ barWidth?: number;
}
export interface Legend extends AdvancedLegend {
/** Specifies whether the legend is located outside or inside the chart's plot. */
@@ -5361,8 +5667,6 @@ declare module DevExpress.viz.charts {
shared?: boolean;
}
export interface dxChartOptions extends AdvancedOptions {
- /** Specifies a value indicating whether all bars in a series must have the same width, or may have different widths if any points in other series are missing. */
- equalBarWidth?: any;
adaptiveLayout?: {
keepLabels?: boolean;
};
@@ -5374,7 +5678,6 @@ declare module DevExpress.viz.charts {
adjustOnZoom?: boolean;
/** Specifies argument axis options for the dxChart widget. */
argumentAxis?: ChartArgumentAxis;
- argumentAxisClick?: any;
/** An object defining the configuration options that are common for all axes of the dxChart widget. */
commonAxisSettings?: ChartCommonAxisSettings;
/** An object defining the configuration options that are common for all panes in the dxChart widget. */
@@ -5413,7 +5716,7 @@ declare module DevExpress.viz.charts {
maxBubbleSize?: number;
/** Specifies the diameter of the smallest bubble measured in pixels. */
minBubbleSize?: number;
- /** Defines the dxChart widget's pane(s) . */
+ /** Defines the dxChart widget's pane(s) . */
panes?: Array;
/** Swaps the axes round so that the value axis becomes horizontal and the argument axes becomes vertical. */
rotated?: boolean;
@@ -5421,10 +5724,6 @@ declare module DevExpress.viz.charts {
legend?: Legend;
/** Specifies options for dxChart widget series. */
series?: Array;
- legendClick?: any;
- seriesClick?: any;
- seriesHoverChanged?: (series: ChartSeries) => void;
- seriesSelectionChanged?: (series: ChartSeries) => void;
/** Defines options for the series template. */
seriesTemplate?: SeriesTemplate;
/** Specifies tooltip options. */
@@ -5455,12 +5754,6 @@ declare module DevExpress.viz.charts {
export class dxChart extends BaseChart {
constructor(element: JQuery, options?: dxChartOptions);
constructor(element: Element, options?: dxChartOptions);
- /** Returns an array of all series in the chart. */
- getAllSeries(): Array;
- /** Gets a series within the chart's series collection by the specified name (see the name option). */
- getSeriesByName(seriesName: string): ChartSeries;
- /** Gets a series within the chart's series collection by its position number. */
- getSeriesByPos(seriesIndex: number): ChartSeries;
/** Sets the specified start and end values for the chart's argument axis. */
zoomArgument(startValue: any, endValue: any): void;
}
@@ -5480,8 +5773,6 @@ declare module DevExpress.viz.charts {
shared?: boolean;
}
export interface dxPolarChartOptions extends AdvancedOptions {
- /** Specifies a value indicating whether all bars in a series must have the same angle, or may have different angles if any points in other series are missing. */
- equalBarWidth?: boolean;
/** Specifies adaptive layout options. */
adaptiveLayout?: {
width?: number;
@@ -5512,12 +5803,6 @@ declare module DevExpress.viz.charts {
export class dxPolarChart extends BaseChart {
constructor(element: JQuery, options?: dxPolarChartOptions);
constructor(element: Element, options?: dxPolarChartOptions);
- /** Returns an array of all series in the chart. */
- getAllSeries(): Array;
- /** Gets a series within the chart's series collection by the specified name (see the name option). */
- getSeriesByName(seriesName: string): PolarSeries;
- /** Gets a series within the chart's series collection by its position number. */
- getSeriesByPos(seriesIndex: number): PolarSeries;
}
export interface PieLegend extends core.BaseLegend {
/** Specifies what chart elements to highlight when a corresponding item in the legend is hovered over. */
@@ -5539,17 +5824,29 @@ declare module DevExpress.viz.charts {
series?: Array;
/** Specifies the diameter of the pie. */
diameter?: number;
+ /** Specifies the direction that the pie chart segments will occupy. */
+ segmentsDirection?: string;
+ /** Specifies the starting angle in arc degrees for the first segment in a pie chart. */
+ startAngle?: number;
+ /** Specifies the fraction of the inner radius relative to the total radius in the series of the 'doughnut' type. The value should be between 0 and 1. */
+ innerRadius?: number;
/** A handler for the legendClick event. */
onLegendClick?: any;
- legendClick?: any;
/** Specifies how a chart must behave when series point labels overlap. */
resolveLabelOverlapping?: string;
+ /** An object defining the configuration options that are common for all series of the dxPieChart widget. */
+ commonSeriesSettings?: CommonPieSeriesSettings;
+ /** Specifies the type of the pie chart series. */
+ type?: string;
}
/** A circular chart widget for HTML JS applications. */
export class dxPieChart extends BaseChart {
constructor(element: JQuery, options?: dxPieChartOptions);
constructor(element: Element, options?: dxPieChartOptions);
- /** Provides access to the dxPieChart series. */
+ /**
+ * Provides access to the dxPieChart series.
+ * @deprecated ..\..\BaseChart\3 Methods\getAllSeries().md
+ */
getSeries(): PieSeries;
}
}
@@ -5584,13 +5881,22 @@ declare module DevExpress.viz.gauges {
export interface ScaleTick {
/** Specifies the color of the scale's minor ticks. */
color?: string;
- /** Specifies an array of custom minor ticks. */
+ /**
+ * Specifies an array of custom minor ticks.
+ * @deprecated ..\customMinorTicks.md
+ */
customTickValues?: Array;
/** Specifies the length of the scale's minor ticks. */
length?: number;
- /** Indicates whether automatically calculated minor ticks are visible or not. */
+ /**
+ * Indicates whether automatically calculated minor ticks are visible or not.
+ * @deprecated This functionality in not more available
+ */
showCalculatedTicks?: boolean;
- /** Specifies an interval between minor ticks. */
+ /**
+ * Specifies an interval between minor ticks.
+ * @deprecated ..\minorTickInterval.md
+ */
tickInterval?: number;
/** Indicates whether scale minor ticks are visible or not. */
visible?: boolean;
@@ -5598,14 +5904,28 @@ declare module DevExpress.viz.gauges {
width?: number;
}
export interface ScaleMajorTick extends ScaleTick {
- /** Specifies whether or not to expand the current major tick interval if labels overlap each other. */
+ /**
+ * Specifies whether or not to expand the current major tick interval if labels overlap each other.
+ * @deprecated ..\label\overlappingBehavior\useAutoArrangement.md
+ */
useTicksAutoArrangement?: boolean;
}
+ export interface ScaleMinorTick extends ScaleTick {
+ /** Specifies the opacity of the scale's minor ticks. */
+ opacity?: number;
+ }
export interface BaseScaleLabel {
/** Specifies whether or not scale labels should be colored similarly to their corresponding ranges in the range container. */
useRangeColors?: boolean;
/** Specifies a callback function that returns the text to be displayed in scale labels. */
customizeText?: (scaleValue: { value: number; valueText: string }) => string;
+ /** Specifies the overlap resolving options to be applied to scale labels. */
+ overlappingBehavior?: {
+ /** Specifies whether or not to expand the current major tick interval if labels overlap each other. */
+ useAutoArrangement?: boolean;
+ /** Specifies what label to hide in case of overlapping. */
+ hideFirstOrLast?: string;
+ };
/** Specifies font options for the text displayed in the scale labels of the gauge. */
font?: viz.core.Font;
/** Specifies a format for the text displayed in scale labels. */
@@ -5618,20 +5938,56 @@ declare module DevExpress.viz.gauges {
export interface BaseScale {
/** Specifies the end value for the scale of the gauge. */
endValue?: number;
- /** Specifies whether or not to hide the first scale label. */
+ /**
+ * Specifies whether or not to hide the first scale label.
+ * @deprecated This functionality in not more available
+ */
hideFirstLabel?: boolean;
- /** Specifies whether or not to hide the first major tick on the scale. */
+ /**
+ * Specifies whether or not to hide the first major tick on the scale.
+ * @deprecated This functionality in not more available
+ */
hideFirstTick?: boolean;
- /** Specifies whether or not to hide the last scale label. */
+ /**
+ * Specifies whether or not to hide the last scale label.
+ * @deprecated This functionality in not more available
+ */
hideLastLabel?: boolean;
- /** Specifies whether or not to hide the last major tick on the scale. */
+ /**
+ * Specifies whether or not to hide the last major tick on the scale.
+ * @deprecated This functionality in not more available
+ */
hideLastTick?: boolean;
+ /** Specifies an interval between major ticks. */
+ tickInterval?: number;
+ /** Specifies an interval between minor ticks. */
+ minorTickInterval?: number;
+ /** Specifies an array of custom major ticks. */
+ customTicks?: Array;
+ /** Specifies an array of custom minor ticks. */
+ customMinorTicks?: Array;
/** Specifies common options for scale labels. */
label?: BaseScaleLabel;
- /** Specifies options of the gauge's major ticks. */
+ /**
+ * Specifies options of the gauge's major ticks.
+ * @deprecated ..\tick\tick.md
+ */
majorTick?: ScaleMajorTick;
+ /** Specifies options of the gauge's major ticks. */
+ tick?: {
+ /** Specifies the color of the scale's major ticks. */
+ color?: string;
+ /** Specifies the length of the scale's major ticks. */
+ length?: number;
+ /** Indicates whether scale major ticks are visible or not. */
+ visible?: boolean;
+ /** Specifies the width of the scale's major ticks. */
+ width?: number;
+ /** Specifies the opacity of the scale's major ticks. */
+ opacity?: number;
+ };
/** Specifies options of the gauge's minor ticks. */
- minorTick?: ScaleTick;
+ minorTick?: ScaleMinorTick;
/** Specifies the start value for the scale of the gauge. */
startValue?: number;
}
@@ -5688,21 +6044,48 @@ declare module DevExpress.viz.gauges {
redrawOnResize?: boolean;
/** Specifies the size of the widget in pixels. */
size?: viz.core.Size;
- /** Specifies a subtitle for a gauge. */
+ /**
+ * Specifies a subtitle for the widget.
+ * @deprecated ..\..\..\BaseGauge\1 Configuration\title\subtitle\subtitle.md
+ */
subtitle?: {
- /** Specifies font options for the subtitle. */
+ /**
+ * Specifies font options for the subtitle.
+ * @deprecated ..\..\title\subtitle\font\font.md
+ */
font?: viz.core.Font;
- /** Specifies a text for the subtitle. */
+ /**
+ * Specifies a text for the subtitle.
+ * @deprecated ..\title\subtitle\text.md
+ */
text?: string;
};
/** Specifies a title for a gauge. */
title?: {
/** Specifies font options for the title. */
font?: viz.core.Font;
- /** Specifies a title's position on the gauge. */
+ /**
+ * Specifies a title's position on the gauge.
+ * @deprecated basegaugeoptions_title_verticalAlignment and basegaugeoptions_title_horizontalAlignment
+ */
position?: string;
- /** Specifies a text for the title. */
+ /** Specifies the distance between the title and surrounding gauge elements in pixels. */
+ margin?: viz.core.Margins;
+ /** Specifies the height of the space reserved for the title. */
+ placeholderSize?: number;
+ /** Specifies the gauge title's position in the vertical direction. */
+ verticalAlignment?: string;
+ /** Specifies the gauge title's horizontal position. */
+ horizontalAlignment?: string;
+ /** Specifies text for the title. */
text?: string;
+ /** Specifies a subtitle for the widget. */
+ subtitle?: {
+ /** Specifies font options for the subtitle. */
+ font?: viz.core.Font;
+ /** Specifies text for the subtitle. */
+ text?: string;
+ }
};
/** Specifies options for gauge tooltips. */
tooltip?: viz.core.Tooltip;
@@ -5911,6 +6294,8 @@ declare module DevExpress.viz.rangeSelector {
/** Indicates whether or not the background (background color and/or image) is visible. */
visible?: boolean;
};
+ /** Specifies a title for the range selector. */
+ title?: viz.core.Title;
/** Specifies the dxRangeSelector's behavior options. */
behavior?: {
/** Indicates whether or not you can swap sliders. */
@@ -5941,8 +6326,10 @@ declare module DevExpress.viz.rangeSelector {
/** Specifies how to sort series points. */
sortingMethod?: any;
};
- /** Specifies a value indicating whether all bars in a series must have the same width, or may have different widths if any points in other series are missing. */
- equalBarWidth?: any;
+ /** Specifies whether all bars in a series must have the same width, or may have different widths if any points in other series are missing. */
+ equalBarWidth?: boolean;
+ /** Specifies a common bar width as a percentage from 0 to 1. */
+ barWidth?: number;
/** Sets the name of the palette to be used in the range selector's chart. Alternatively, an array of colors can be set as a custom palette to be used within this chart. */
palette?: any;
/** An object defining the chart’s series. */
@@ -6076,7 +6463,6 @@ declare module DevExpress.viz.rangeSelector {
/** Specifies range selector's right indent. */
right?: number;
};
- selectedRangeChanged?: (selectedRange: { startValue: any; endValue: any; }) => void;
/** A handler for the selectedRangeChanged event. */
onSelectedRangeChanged?: (e: {
startValue: any;
@@ -6168,145 +6554,426 @@ interface JQuery {
dxRangeSelector(methodName: "instance"): DevExpress.viz.rangeSelector.dxRangeSelector;
}
declare module DevExpress.viz.map {
- /** This section describes the fields and methods that can be used in code to manipulate the Area object. */
+ /** This section describes the fields and methods that can be used in code to manipulate the Layer object. */
+ export interface MapLayer {
+ /** The name of the layer. */
+ name: string;
+ /** The layer index in the layers array. */
+ index: number;
+ /** The layer type. Can be "area", "line" or "marker". */
+ type: string;
+ /** The type of the layer elements. */
+ elementType: string;
+ /** Gets all layer elements. */
+ getElements(): Array;
+ /** Deselects all layer elements. */
+ clearSelection(): void;
+ }
+ /** This section describes the fields and methods that can be used in code to manipulate the Layer Element object. */
+ export interface MapLayerElement {
+ /** The parent layer of the layer element. */
+ layer: MapLayer;
+ /** Gets the layer element coordinates. */
+ coordinates(): Object;
+ /** Sets the value of an attribute. */
+ attribute(name: string, value: any): void;
+ /** Gets the value of an attribute. */
+ attribute(name: string): any;
+ /** Gets the selection state of the layer element. */
+ selected(): boolean;
+ /** Sets the selection state of the layer element. */
+ selected(state: boolean): void;
+ /** Applies the layer element settings and updates the element appearance. */
+ applySettings(settings: any): void;
+ }
+ /**
+ * This section describes the fields and methods that can be used in code to manipulate the Area object.
+ * @deprecated Use the "Layer Element" instead
+ */
export interface Area {
- /** Contains the element type. */
+ /**
+ * Contains the element type.
+ * @deprecated ..\..\Layer\2 Fields\type.md
+ */
type: string;
- /** Return the value of an attribute. */
+ /**
+ * Return the value of an attribute.
+ * @deprecated ..\..\Layer Element\3 Methods\attribute(name_value).md
+ */
attribute(name: string): any;
- /** Provides information about the selection state of an area. */
+ /**
+ * Provides information about the selection state of an area.
+ * @deprecated Use the "selected()" method of the Layer Element
+ */
selected(): boolean;
- /** Sets a new selection state for an area. */
+ /**
+ * Sets a new selection state for an area.
+ * @deprecated Use the "selected(state)" method of the Layer Element
+ */
selected(state: boolean): void;
- /** Applies the area settings specified as a parameter and updates the area appearance. */
+ /**
+ * Applies the area settings specified as a parameter and updates the area appearance.
+ * @deprecated ..\..\Layer Element\3 Methods\applySettings(settings).md
+ */
applySettings(settings: any): void;
}
- /** This section describes the fields and methods that can be used in code to manipulate the Markers object. */
+ /**
+ * This section describes the fields and methods that can be used in code to manipulate the Markers object.
+ * @deprecated Use the "Layer Element" instead
+ */
export interface Marker {
- /** Contains the descriptive text accompanying the map marker. */
+ /**
+ * Contains the descriptive text accompanying the map marker.
+ * @deprecated Get the text with the "attribute" method (using the "layers.label.dataField" value)
+ */
text: string;
- /** Contains the type of the element. */
+ /**
+ * Contains the type of the element.
+ * @deprecated ..\..\Layer\2 Fields\type.md
+ */
type: string;
- /** Contains the URL of an image map marker. */
+ /**
+ * Contains the URL of an image map marker.
+ * @deprecated Get the url with the "attribute" method (using the "layers.dataField" value)
+ */
url: string;
- /** Contains the value of a bubble map marker. */
+ /**
+ * Contains the value of a bubble map marker.
+ * @deprecated Get the value with the "attribute" method (using the "layers.dataField" value)
+ */
value: number;
- /** Contains the values of a pie map marker. */
+ /**
+ * Contains the values of a pie map marker.
+ * @deprecated Get the values with the "attribute" method (using the "layers.dataField" value)
+ */
values: Array;
- /** Returns the value of an attribute. */
+ /**
+ * Returns the value of an attribute.
+ * @deprecated ..\..\Layer Element\3 Methods\attribute(name_value).md
+ */
attribute(name: string): any;
- /** Returns the coordinates of a specific marker. */
+ /**
+ * Returns the coordinates of a specific marker.
+ * @deprecated ..\..\Layer Element\3 Methods\coordinates().md
+ */
coordinates(): Array;
- /** Provides information about the selection state of a marker. */
+ /**
+ * Provides information about the selection state of a marker.
+ * @deprecated Use the "selected()" method of the Layer Element
+ */
selected(): boolean;
- /** Sets a new selection state for a marker. */
+ /**
+ * Sets a new selection state for a marker.
+ * @deprecated Use the "selected(state)" method of the Layer Element
+ */
selected(state: boolean): void;
- /** Applies the marker settings specified as a parameter and updates the marker appearance. */
+ /**
+ * Applies the marker settings specified as a parameter and updates marker appearance.
+ * @deprecated ..\..\Layer Element\3 Methods\applySettings(settings).md
+ */
applySettings(settings: any): void;
}
- export interface AreaSettings {
- /** Specifies the width of the area border in pixels. */
+ export interface MapLayerSettings {
+ /** Specifies the layer name. */
+ name?: string;
+ /** Specifies layer type. */
+ type?: string;
+ /** Specifies the type of a marker element. Setting this option makes sense only if the layer type is "marker". */
+ elementType?: string;
+ /** Specifies a data source for the layer element. */
+ data?: any;
+ /** Specifies the width of the layer elements border in pixels. */
borderWidth?: number;
- /** Specifies a color for the area border. */
+ /** Specifies a color for the border of the layer elements. */
borderColor?: string;
- click?: any;
- /** Specifies a color for an area. */
+ /** Specifies a color for layer elements. */
color?: string;
- /** Specifies the function that customizes each area individually. */
- customize?: (areaInfo: Area) => AreaSettings;
- /** Specifies a color for the area border when the area is hovered over. */
+ /** Specifies a color for the border of the layer element when it is hovered over. */
hoveredBorderColor?: string;
- /** Specifies the pixel-measured width of the area border when the area is hovered over. */
+ /** Specifies the pixel-measured width for the border of the layer element when it is hovered over. */
hoveredBorderWidth?: number;
- /** Specifies a color for an area when this area is hovered over. */
+ /** Specifies a color for a layer element when it is hovered over. */
hoveredColor?: string;
- /** Specifies whether or not to change the appearance of an area when it is hovered over. */
+ /** Specifies a pixel-measured width for the border of the layer element when it is selected. */
+ selectedBorderWidth?: number;
+ /** Specifies a color for the border of the layer element when it is selected. */
+ selectedBorderColor?: string;
+ /** Specifies a color for the layer element when it is selected. */
+ selectedColor?: string;
+ /** Specifies the layer opacity (from 0 to 1). */
+ opacity?: number;
+ /** Specifies the size of markers. Setting this option makes sense only if the layer type is "marker" and the elementType is "dot", "pie" or "image". */
+ size?: number;
+ /** Specifies the pixel-measured diameter of the marker that represents the smallest value. Setting this option makes sense only if the layer type is "marker". */
+ minSize?: number;
+ /** Specifies the pixel-measured diameter of the marker that represents the biggest value. Setting this option makes sense only if the layer type is "marker". */
+ maxSize?: number;
+ /** Specifies whether or not to change the appearance of a layer element when it is hovered over. */
hoverEnabled?: boolean;
- /** Configures area labels. */
- label?: {
- /** Specifies the data field that provides data for area labels. */
- dataField?: string;
- /** Enables area labels. */
- enabled?: boolean;
- /** Specifies font options for area labels. */
- font?: viz.core.Font;
- };
- /** Specifies the name of the palette or a custom range of colors to be used for coloring a map. */
+ /** Specifies whether single or multiple map elements can be selected on a vector map. */
+ selectionMode?: string;
+ /** Specifies the name of the palette or a custom range of colors to be used for coloring a layer. */
palette?: any;
/** Specifies the number of colors in a palette. */
paletteSize?: number;
- /** Allows you to paint areas with similar attributes in the same color. */
+ /** Allows you to paint layer elements with similar attributes in the same color. */
colorGroups?: Array;
- /** Specifies the field that provides data to be used for coloring areas. */
+ /** Specifies the field that provides data to be used for coloring of layer elements. */
colorGroupingField?: string;
- /** Specifies a color for the area border when the area is selected. */
- selectedBorderColor?: string;
- /** Specifies a color for an area when this area is selected. */
- selectedColor?: string;
- /** Specifies the pixel-measured width of the area border when the area is selected. */
- selectedBorderWidth?: number;
- selectionChanged?: (area: Area) => void;
- /** Specifies whether single or multiple areas can be selected on a vector map. */
- selectionMode?: string;
- }
- export interface MarkerSettings {
- /** Specifies a color for the marker border. */
- borderColor?: string;
- /** Specifies the width of the marker border in pixels. */
- borderWidth?: number;
- click?: any;
- /** Specifies a color for a marker of the dot or bubble type. */
- color?: string;
- /** Specifies the function that customizes each marker individually. */
- customize?: (markerInfo: Marker) => MarkerSettings;
- font?: Object;
- /** Specifies the pixel-measured width of the marker border when the marker is hovered over. */
- hoveredBorderWidth?: number;
- /** Specifies a color for the marker border when the marker is hovered over. */
- hoveredBorderColor?: string;
- /** Specifies a color for a marker of the dot or bubble type when this marker is hovered over. */
- hoveredColor?: string;
- /** Specifies whether or not to change the appearance of a marker when it is hovered over. */
- hoverEnabled?: boolean;
+ /** Allows you to display bubbles with similar attributes in the same size. Setting this option makes sense only if the layer type is "marker" and the elementType is "bubble". */
+ sizeGroups?: Array;
+ /** Specifies the field that provides data to be used for sizing bubble markers. Setting this option makes sense only if the layer type is "marker" and the elementType is "bubble". */
+ sizeGroupingField?: string;
+ /** Specifies the name of the attribute containing marker data. Setting this option makes sense only if the layer type is "marker" and the elementType is "bubble", "pie" or "image". */
+ dataField?: string;
+ /** Specifies the function that customizes each layer element individually. */
+ customize?: (eleemnts: Array