All docs
V21.2
21.2
21.1
The page you are viewing does not exist in version 21.1. This link will take you to the root page.
20.2
The page you are viewing does not exist in version 20.2. This link will take you to the root page.
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

SwiftPointDrawOptions Class

Contains settings for custom drawing swift point series.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v21.2.dll

Declaration

public class SwiftPointDrawOptions :
    DrawOptions

Remarks

The SwiftPointDrawOptions class contains specific settings that can be used to custom draw swift point series. Refer to the following topic for more information: Custom Draw Events.

Note that the SwiftPointSeriesView does not support the ChartControl.CustomDrawSeriesPoint event.

Example

The following code increases point marker size if a chart contains less than 100 points:

using DevExpress.XtraCharts;

namespace SwiftPointChart {
    public partial class Form1 : Form {
        public Form1() {
            InitializeComponent();
            //...

            chartControl1.CustomDrawSeries += OnChartControlCustomDrawSeries;
        }

        private void OnChartControlCustomDrawSeries(object sender, CustomDrawSeriesEventArgs e) {
            SwiftPointDrawOptions drawOptions = (SwiftPointDrawOptions)e.SeriesDrawOptions;
            if (e.Series.Points.Count < 100) { drawOptions.Marker.Size = 20; }
        }
    }
}

Inheritance

Object
DrawOptions
SwiftPointDrawOptions
See Also