Log In
[Expand]Welcome to DevExpress .NET Documentation
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Collapse]Charts Suite
   [Collapse]Chart Control
    [Expand]Getting Started
    [Expand]Providing Data
    [Collapse]Appearance Customization
      Chart Themes and Palettes
      Custom Draw
      Series and Marker Models
    [Expand]End-User Features
    [Expand]Design-Time Features
    [Expand]Visual Elements
    [Expand]Additional Resources
   [Expand]Chart3D Control
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Diagram Control
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Series and Marker Models

This document explains how to assign either one of the predefined models or your own custom model to your chart's series and/or series point markers.

DXCharts ships with numerous predefined models that you can assign to your series and to their point markers (if they support point markers). You can also create your own custom series and marker models.

Expanded Predefined Models

You can define all models in your Window class descendant's Resources property, and then assign them to the appropriate series using their Model or MarkerModel properties.

The following series types support the Model property: Bar, Financial and Pie (Donut).

The Area, Point, Line and Bubble series types implement the ISupportMarker2D interface, which means that you can specify their MarkerModel property.


The chart renders a predefined model or marker model more quickly than a custom model, because the chart renders a predefined model renders in the onRender method without building the Visual Tree for the model, while a custom model requires to be added tothe Visual Tree.

Refer to How to: Assign Different Models for Series and Point Markers to view a code example.

Expanded Custom Models

Custom series and marker models can be defined by specifying the appropriate custom model (e.g., CustomBar2DModel or CustomMarker2DModel) to the Model or MarkerModel property of a series.

Next, specify the desired appearance changes in a template that can contain any visual element, and assign this template to the PointTemplate property of the series custom model (e.g., CustomBar2DModel.PointTemplate).

The following image demonstrates a series with a custom marker model specified.

For details on how to create series custom models, see the How to: Create Custom Models for Chart Series example.

Expanded See Also

Is this topic helpful?​​​​​​​