@using Trirand.Web.Mvc
@using Trirand.Web.Mvc.Chart;
@using Trirand.Web.Mvc.Chart.ChartAxis;
@using Trirand.Web.Mvc.Chart.Series;
@using Trirand.Web.Mvc.Chart.Style;


<!DOCTYPE html>
<html lang="en-us">
<head>
    <meta charset="utf-8">
    <title>Chartfor ASP.NET MVC - Bar Negative</title>  
    <script type="text/javascript" src="~/Scripts/trirand/chart/corechart.min.js"></script>
</head>
<body>
    <div>
        <!--
        The Html.Trirand().CoreChart() helper has two parameters
            - the model of the chart -- all chart properties, data and settings
            - the ID of the chart -- can be used for client-side manipulation
        In this example we are using hardcoded model in the View, but you can contruct the model in 
        the controller based on runtime criteria and database data and pass the model 
        to the View using ViewData
        -->
        @(Html.Trirand().CoreChart(
            new CoreChart
            {
                Width = "800px",
                Legend = new Legend
                {
                    Data = new List<string> { "Profit", "Expenditure", "Income" }
                },
                Tooltip = new ToolTip
                {
                    Trigger = TriggerType.Axis,
                    AxisPointer = new AxisPointer
                    {
                        Type = AxisPointType.Shadow
                    }
                },
                Grid = new List<Grid>()
                {
                    new Grid
                    {
                        Left= "3%",
                        Right= "4%",
                        Bottom= "3%",
                        ContainLabel= true
                    }
                },
                XAxis = new List<Axis>()
                {
                    new ValueAxis()
                    {
                    }
                },
                YAxis = new List<Axis>()
                {
                    new CategoryAxis
                    {
                        AxisTick = new AxisTick
                        {
                            Show = false
                        },
                        Data = new List<string> { "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" }
                    }
                },
                Series = new List<object>()
                {
                    new Bar()
                    {
                        Name = "Profit",
                        Label = new ItemStyle
                        {
                            Normal = new Normal
                            {
                                Show = true,
                                Position = "inside"
                            }
                        },
                        Data =  new List<int> { 200, 170, 240, 244, 200, 220, 210 }
                    },
                    new Bar()
                    {
                        Name = "Income",
                        Stack = "total",
                        Label = new ItemStyle
                        {
                            Normal = new Normal
                            {
                                Show = true,
                            }
                        },
                        Data =  new List<int> { 320, 302, 341, 374, 390, 450, 420 }
                    },
                    new Bar()
                    {
                        Name = "Expenditure",
                        Stack = "total",
                        Label = new ItemStyle
                        {
                            Normal = new Normal
                            {
                                Show = true,
                                Position = "left"
                            }
                        },
                        Data =  new List<int> { -120, -132, -101, -134, -190, -230, -21 }
                    }
                }
            }
            , "Chart")
        )
             
        <br />
        <div>
             
        </div>
    </div>
</body>
</html>

using System.Web.Mvc;

namespace CoreDemo.Controllers.Chart
{
    public partial class ChartController : Controller
    { 
        public ActionResult Negative()
        {
            return View("");
        }
    }
}