Features

ColumnVolume

ColumnVolume

ColumnVolume charts are similar to Column charts, except that they accept a second value, volume, which dictates the width of each bar.

Features

Chart Types
Interaction
Analytics
BOX05/05/1505/06/1505/07/1505/08/1505/11/1505/12/1505/13/1505/14/1505/15/1505/18/1505/19/1505/20/1505/21/1505/22/1505/26/1505/27/1505/28/1517
01/23/1501/26/1501/27/1501/28/1501/29/1501/30/1502/03/1502/05/1502/06/1502/09/1502/10/1502/12/1502/18/1502/20/1502/26/1503/05/1503/11/1503/12/1503/13/1503/17/1503/23/1503/27/1504/01/1504/08/1504/14/1504/21/1504/29/1505/11/1505/22/1501020

Description

ColumnVolume charts are similar to Column charts, except that they accept a second value, volume, which dictates the width of each bar.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using FinancialChartExplorer.Models;
 
namespace FinancialChartExplorer.Controllers
{
    public partial class HomeController : Controller
    {
        public ActionResult ColumnVolume()
        {
            var model = BoxData.GetDataFromJson();
            ViewBag.DemoSettingsModel = new ClientSettingsModel() { };
            ViewBag.ChartType = C1.Web.Mvc.Finance.ChartType.ColumnVolume;
            return View(model);
        }
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
@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>
}