SwiftPointDrawOptions Class
Contains settings for custom drawing swift point series.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
Declaration
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