Xceed Toolkit for Maui v2.0 Documentation
Renderer Property
Example 


Xceed.Maui.Toolkit Assembly > Xceed.Maui.Toolkit Namespace > Series Class : Renderer Property
Gets or sets the type of renderer that will be used to display the DataPoints.
Syntax
'Declaration
 
Public Property Renderer As RendererBase
'Usage
 
Dim instance As Series
Dim value As RendererBase
 
instance.Renderer = value
 
value = instance.Renderer
public RendererBase Renderer {get; set;}
Remarks

Currently, Xceed offers both a LineRenderer & a BarRenderer; however, a custom renderer could also be used.

The default value is LineRenderer

Note that the renderer is responsible for calculating the visual location of each DataPoint, while the Template is responsible for laying out the line connecting the DataPoints, the bars, etc.

Example
<xctk:Series Title="My Series"
             ShowDataPointLabels="True">
  <xctk:Series.Renderer>
    <xctk:BarRenderer/>
  </xctk:Series.Renderer>
  <xctk:Series.DataPoints>
    <xctk:DataPoint X="0"
                    Y="44"/>
    <xctk:DataPoint X="1"
                    Y="64"/>
    <xctk:DataPoint X="2"
                    Y="60"/>
    <xctk:DataPoint X="3"
                    Y="32"/>
    <xctk:DataPoint X="4"
                    Y="52"/>
    <xctk:DataPoint X="5"
                    Y="72"/>
    <xctk:DataPoint X="6"
                    Y="32"/>
  </xctk:Series.DataPoints>
</xctk:Series>
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Series Class
Series Members