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

<h1>
    Annotation Symbols
</h1>

<p>
    A typical use for annotations is the addition of symbols
    (text or images) to data points. The symbols typically
    have tooltips or text with additional information about
    the point they are attached to.
</p>
<p>
    The chart below has symbols that contain relevant (but fake)
    headlines for some key dates:
</p>

@(Html.C1().FlexChart<FlexChartData.Stock>().Id("theChart")
    .Bind("Date", Model)
    .ChartType(C1.Web.Mvc.Chart.ChartType.Candlestick)
    .Legend(C1.Web.Mvc.Chart.Position.None)
    .Series(sb => sb.Add().Binding("Low,High,Open,Close").Name("Alphabet Inc"))
)