Back to Devexpress

SimpleMarker.Size Property

corelibraries-devexpress-dot-xtracharts-dot-simplemarker.md

latest2.5 KB
Original Source

SimpleMarker.Size Property

Gets or sets the size of a simple marker(s).

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public int Size { get; set; }
vb
Public Property Size As Integer

Property Value

TypeDescription
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

csharp
((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

vb
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

SimpleMarker Class

SimpleMarker Members

DevExpress.XtraCharts Namespace