@using
FinancialChartExplorer.Models
@model
List<
FinanceData
>
@
{
ViewBag.DemoSettings =
false
;
C1.Web.Mvc.Finance.ChartType chartType = ViewBag.ChartType;
ClientSettingsModel demoSettingsModel = ViewBag.DemoSettingsModel;
}
<script type="text/javascript">
c1.documentReady(
function
() {
c1.getExtender(wijmo.Control.getControl(
"#rs"
),
"RangeSelector"
).min = 69.5;
});
</script>
@
(Html.C1().FinancialChart()
.Id(demoSettingsModel.ControlId)
.Bind(Model)
.BindingX(
"X"
)
.ChartType(chartType)
.Series(sers =>
{
sers.Add().Binding(
"High,Low,Open,Close,Volume"
).Name(
"BOX"
);
})
.Tooltip(t => t.Content(
"tooltip"
)))
@Html
.Partial(
"_RangeSelector"
)
@section
Description{
<
p
>
ColumnVolume charts are similar to Column charts, except that they accept a second value, volume, which dictates the width of each bar.
</
p
>
}
@section
Summary{
<
p
>
ColumnVolume charts are similar to Column charts, except that they accept a second value, volume, which dictates the width of each bar.
</
p
>
}