In This Article

Scatter

Scatter charts render data points where each point is represented by a marker.

Screenshot

Baseline and Style Kinds

The scatter series can render various markers differently, which is specified using the MarkerStyleKinds property. Supported options include First, Last, High, Low, Negative, or any combination of those values.

In the following example, the data rendered by the chart uses the index postion along the X-axis and the fixed values 10, 25, 10, 20, 5, 20, 10 for the Y-axis. The first image shows the series using 5 as the minimum value along the Y-axis, and 25 for the maximum.

Screenshot

If we include the First and Last flags, then the first and last markers will render slightly different from the other markers.

Screenshot

If we include the High and Low flags, then the markers associated with the data points with the highest and lowest value will render using a distinct style/brush.

Screenshot

The chart's baseline value, as specified by the MicroXYChart.AxisBaselineValue property, can be used to indicate which markers are considered "negative". If we explicitly set our baseline value to 15, then any values below the baseline will be considered "negative". The default baseline for numeric values is 0, and for date/time values it is DateTime.MinValue. If we include the Negative flags, then the markers associated with the data points whose value is less than 15 will render using a distinct style/brush.

Screenshot

The normal style can be customized using the MarkerStyle property, and negative style can be customized using the MarkerNegativeStyle property. Similarly, the first, last, high, and low markers can be styled using the MarkerFirstStyle, MarkerLastStyle, MarkerHighStyle, and MarkerLowStyle, respectively. The associated Style should target the MicroChartMarker type, which includes properties such as Fill, Stroke, StrokeThickness, and ShapeKind.

Marker Shape Kinds

Markers support several built in shape kinds, which include:

Kind Example
Diamond Screenshot
Ellipse Screenshot
Hexagon Screenshot
Pentagon Screenshot
Octagon Screenshot
Rectangle Screenshot
RoundedRectangle Screenshot
Star4Points Screenshot
Star5Points Screenshot
Star6Points Screenshot
Star8Points Screenshot
Triangle Screenshot