There are various types of chart series like Line, Column, Bubble, Area, and each type has its own shape and requirement. When a particular shape is not available by default, you can customize the default shape of any series as follows.
You can define the custom templates for the series in the SfChart by using the CustomTemplate property. The DataTemplate defined in this property renders for each data point. This template gets the corresponding segment as the DataContext. For instance, on defining a template for LineSeries, the LineSegment comes as data context for that DataTemplate.
Note: The CustomTemplate property supports limited series only.
The following screenshot illustrates the output for the custom column segments, here it is a Polygon.
Figure 1: SfChart with custom polygon series
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|