All docs
V19.1
24.1
The page you are viewing does not exist in version 24.1.
23.2
The page you are viewing does not exist in version 23.2.
23.1
The page you are viewing does not exist in version 23.1.
22.2
The page you are viewing does not exist in version 22.2.
22.1
The page you are viewing does not exist in version 22.1.
21.2
The page you are viewing does not exist in version 21.2.
21.1
The page you are viewing does not exist in version 21.1.
20.2
The page you are viewing does not exist in version 20.2.
20.1
The page you are viewing does not exist in version 20.1.
19.2
19.1
18.2
18.1
17.2
A newer version of this page is available. Switch to the current version.

DevExtreme jQuery - Overview

A series point is a visual representation of one or several data objects. Series points can have different shapes and sizes depending on the series types.

DevExtreme HTML5 JavaScript Charts SeriesPoints

For those series whose points are simple dots (Range Area and Scatter, all line and area series), point-related settings are collected in the point object. This object can be declared as follows.

jQuery
JavaScript
$(function() {
    $("#chartContainer").dxChart({
        // ...
        series: [{
            point: {
                // Settings for all points of an individual series
            }
        }, {
            // ...  
        }],
        commonSeriesSettings: {
            stackedline: { // or any other series type
                point: {
                    // Settings for all points belonging to Stacked Line series
                }
            },
            point: {
                // Settings for all points of all series
            }
        }
    });
});
Angular
HTML
TypeScript
<dx-chart ... >
    <dxi-series>
        <dxo-point ... >
            <!-- Settings for all points of an individual series -->
        </dxo-point>
    </dxi-series>
    <dxo-common-series-settings ... >
        <dxo-stackedline> <!-- or any other series type -->
            <dxo-point ... >
                <!-- Settings for all points belonging to Stacked Line series -->
            </dxo-point>
        </dxo-stackedline>
        <dxo-point ... >
            <!-- Settings for all points of all series -->
        </dxo-point>
    </dxo-common-series-settings>
</dx-chart>
import { DxChartModule } from "devextreme-angular";
// ...
export class AppComponent {
    // ...
}
@NgModule({
    imports: [
        // ...
        DxChartModule
    ],
    // ...
})

A dedicated object is not provided for series whose points have a distinctive appearance (Range Bar and Bubble, all bar and financial series), and all point-related settings are declared directly in the series, %seriesType%, or commonSeriesSettings object. Refer to the description of a particular series type in the Series Types section of the API reference for more details on the available settings.

NOTE
Individual settings override type-specific settings which, in turn, override common settings.

Settings specified in the manner described above apply to a congregation of series points. If you need to customize an individual point, assign a function to the customizePoint option. This function must return an object with options for the point that you want to customize.

jQuery
JavaScript
$(function() {
    $("#chartContainer").dxChart({
        // ...
        series: {
            point: {
                color: 'blue'
            }
        },
        // Assigns the red color to all series points with value more than 100
        // Other series points remain painted in blue
        customizePoint: function (pointInfo) {
            return pointInfo.value > 100 ? { color: 'red' } : { }
        }
    });
});
Angular
HTML
TypeScript
<dx-chart
    [customizePoint]="customizePoint">
    <dxi-series>
        <dxo-point color="blue" ></dxo-point>
    </dxi-series>
</dx-chart>
import { DxChartModule } from "devextreme-angular";
// ...
export class AppComponent {
    // Assigns the red color to all series points with value more than 100
    // Other series points remain painted in blue
    customizePoint (pointInfo: any) {
        return pointInfo.value > 100 ? { color: 'red' } : { }
    };
}
@NgModule({
    imports: [
        // ...
        DxChartModule
    ],
    // ...
})

View Demo

See Also