Angular Chart - FullStackedLineSeries.point

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

Selector: dxo-point
Type:

Object

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.

border

Configures the appearance of the series point border in scatter, line- and area-like series.

Selector: dxo-border
Type:

Object

color

Colors the series points.

Selector: dxo-color
Default Value: undefined

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.

Default Value: 'onlyPoint'

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

hoverStyle

Configures the appearance adopted by a series point when a user pauses on it.

Selector: dxo-hover-style
Type:

Object

image

Substitutes the standard point symbols with an image.

Selector: dxo-image
Type:

String

|

Object

Default Value: undefined

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.

Default Value: 'onlyPoint'

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.

Selector: dxo-selection-style
Type:

Object

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.

size

Specifies the diameter of series points in pixels.

Type:

Number

Default Value: 12

symbol

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

Type:

PointSymbol

Default Value: 'circle'

The following symbols are available.

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

visible

Makes the series points visible.

Type:

Boolean

Default Value: true

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.