Box
API
Map

JavaScript/jQuery Chart - commonSeriesSettings.point

Configures series points in scatter, line- and area-like series.

Declared in commonSeriesSettings, the point settings apply to all points in the chart. Declared in a series configuration object, the point settings apply only to the points that belong to this particular series. The series-specific point settings override the common ones.

See Also
  • customizePoint - сustomizes the appearance of an individual series point.

color

Colors the series points.

This property supports the following colors:

You can also specify a custom pattern or gradient instead of a plain color. Call the registerPattern() or registerGradient() method to obtain a fill ID. Assign that value to the fillId field.

This functionality is available for the following Chart series:

jQuery
index.js
$(function(){
    $("#chartContainer").dxChart({
        // ...
        series: {
            // ...
            point: {
                color: {
                    fillId: customPatternId
                }
            }
        }
    });
});
Angular
app.component.html
app.component.ts
<dx-chart ... >
    <dxi-series ... >
        <dxo-point
            [color]="fill"
        ></dxo-point>
    </dxi-series>
</dx-chart>
// ...

export class AppComponent {
    // ...

    fill = {
        fillId: this.customPatternId
    };
} 
Vue
App.vue (Options API)
App.vue (Composition API)
<template>
    <DxChart ... >
        <DxSeries ... >
            <DxPoint :color="fill" />
        </DxSeries>
    </DxChart>
</template>

<script>
import DxChart, { DxSeries, DxPoint } from 'devextreme-vue/chart'; 
// ...

export default {
    components: {
        DxChart,
        DxSeries,
        DxPoint
    },
    data() {
        return {
            // ...
            fill: {
                fillId: this.customPatternId
            }
        }
    }
}
</script>
<template>
    <DxChart ... >
        <DxSeries ... >
            <DxPoint :color="fill" />
        </DxSeries>
    </DxChart>
</template>

<script setup>
import DxChart, { DxSeries, DxPoint } from 'devextreme-vue/chart';  
// ...

const fill = {
    fillId: customPatternId
};
</script>
React
App.js
import React from 'react';
import Chart, { Series, Point } from 'devextreme-react/chart'; 

// ...
const fill = {
    fillId: customPatternId
};

export default function App() { 
    return ( 
        <Chart ... >
            <Series ... >
                <Point color={fill} />
            </Series>
        </Chart>        
    ); 
} 

hoverMode

Specifies series elements to be highlighted when a user pauses on a series point.

When a user pauses on a series point, this and other series points may react in one of the following ways depending on the value of the hoverMode property.

  • onlyPoint
    Only the point that a user pauses on changes its style.
  • allSeriesPoints
    All points in the series change their style.
  • allArgumentPoints
    The point that a user pauses on changes its style. Points with the same argument do it as well.
  • none
    The point does not react to pointing to it.

View Demo

See Also

image

Substitutes the standard point symbols with an image.

To display an image instead of series points, assign its URL to the url property. If needed, resize the image using the height and width properties. Otherwise, you can assign the URL directly to the image property.

View Demo

selectionMode

Specifies series elements to be highlighted when a user selects a series point.

NOTE
Though not provided out of the box, the selection capability can be implemented using the UI component API. Refer to the onPointClick property description for details.

When a user selects a series point, this and other series points may react in one of the following ways depending on the value of the selectionMode property.

  • onlyPoint
    Only the selected point changes its style.
  • allSeriesPoints
    All points in the series change their style.
  • allArgumentPoints
    The selected point changes its style. Points with the same argument do it as well.
  • none
    The point does not react to selecting.
See Also

selectionStyle

Configures the appearance of a selected series point.

NOTE
Though not provided out of the box, the selection capability can be implemented using the UI component API. Refer to the onPointClick property description for details.

symbol

Specifies which symbol should represent series points in scatter, line- and area-like series.

The following symbols are available.

symbol Result
"circle"
"square"
"polygon"
"triangleDown"
"triangleUp"
"cross"

visible

Makes the series points visible.

This property's default value is false for series of area types. Set this option to true to display points in these series types.

NOTE
When this property is set to true, some series points may still be hidden because of the autoHidePointMarkers property.