@using LearnMvcClient.Models
@model IEnumerable <FlexChartData.Summary>

<h1>
    FlexChart Series
</h1>
<p>
    The FlexChart <b>series</b> property exposes a collection
    of <b>Series</b> objects that can be used to customize
    the chart.
</p>
<p>
    This demo populates the <b>series</b> collections automatically
    based on the chart's <b>itemsSource</b>, and shows the series
    information on a grid where it can be edited:
</p>

@(Html.C1().FlexChart<FlexChartData.Summary>().Id("theChart")
    .Bind("Country", Model)
)

@(Html.C1().FlexGrid().Id("theGrid")
    .AutoGenerateColumns(false)
)