Blazor | ComponentOne
Controls / FlexChart / Elements / Series Collection
In This Topic
    Series Collection
    In This Topic

    Series collection is a set of related data points that are plotted on a chart. By default, FlexChart displays a column chart with dummy data series at design-time. However, you need to provide the control with data to render the chart at runtime.

    Series Collection

    In FlexChart, a series is represented by the Series collection property of FlexChart class as shown in the code below. This example uses the sample created in the Quick Start section.

    Razor
    Copy Code
    <SeriesCollection>
       <Series Name="US" Binding="US" />
       <Series Name="China" Binding="China" />
       <Series Name="India" Binding="India" />
        <Series Name="UK" Binding="UK" />
    </SeriesCollection>