corelibraries-devexpress-dot-xtracharts-dot-simplemarker.md
Gets or sets the size of a simple marker(s).
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
public int Size { get; set; }
Public Property Size As Integer
| Type | Description |
|---|---|
| Int32 |
An integer value which specifies the height and width of the plotting area of a marker(s), in pixels.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Size property.
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.
winforms-charts-create-line-chart/CS/Series_LineChart/Form1.cs#L35
((LineSeriesView)series1.View).MarkerVisibility = DevExpress.Utils.DefaultBoolean.True;
((LineSeriesView)series1.View).LineMarkerOptions.Size = 20;
((LineSeriesView)series1.View).LineMarkerOptions.Kind = MarkerKind.Triangle;
winforms-charts-create-line-chart/VB/Series_LineChart/Form1.vb#L33
CType(series1.View, LineSeriesView).MarkerVisibility = DevExpress.Utils.DefaultBoolean.True
CType(series1.View, LineSeriesView).LineMarkerOptions.Size = 20
CType(series1.View, LineSeriesView).LineMarkerOptions.Kind = MarkerKind.Triangle
See Also