Skip to main content
A newer version of this page is available. .

PointOptions Class

Contains settings that define the format of information shown within series labels.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v19.2.dll

Declaration

public sealed class PointOptions :
    ChartDependencyObject,
    IWeakEventListener

Remarks

The PointOptions class defines how data points are represented within series. A PointOptions object is available via the Series.PointOptions property of a series.

The PointOptions class introduces the PointOptions.ArgumentNumericOptions and PointOptions.ArgumentDateTimeOptions properties that define how arguments are displayed, PointOptions.ValueNumericOptions and PointOptions.ValueDateTimeOptions that define how values are displayed, and also PointOptions.PointView and PointOptions.Pattern properties that together define the text to be displayed within series labels.

Example

This example demonstrates how to customize the PointOptions.ValueNumericOptions and PercentOptions properties.

<dxc:AreaFullStackedSeries2D.PointOptions>
    <dxc:PointOptions>
        <dxc:PointOptions.ValueNumericOptions>
            <dxc:NumericOptions Format="Percent" Precision="2" />
        </dxc:PointOptions.ValueNumericOptions>
        <dxc:AreaFullStackedSeries2D.PercentOptions>
            <dxc:PercentOptions PercentageAccuracy="3" />
        </dxc:AreaFullStackedSeries2D.PercentOptions>
    </dxc:PointOptions>
</dxc:AreaFullStackedSeries2D.PointOptions>

The following code snippets (auto-collected from DevExpress Examples) contain references to the PointOptions class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also