Linked Questions

Popular Questions

ASP.NET MVC Kendo UI chart vertical scrolling

Asked by At

I have the following code :

<div overflow:auto class="chart-wrapper">
            @(Html.Kendo().Chart(Model).Name("chart")
    .Title(title => title
        .Text("Comments per day")
        .Align(ChartTextAlignment.Left)
    ).Legend(legend => legend
        .Visible(false)
    )
    .Series(series =>
    {
        series.Column(
            model => model.SE

        );
        series.Column(model => model.SL)
        .Labels(labels => labels.Background("transparent").Visible(true));
    })
    .CategoryAxis(axis => axis
        .Categories(model => model.Year )
        .MajorGridLines(lines => lines.Visible(false))
        .Line(line => line.Visible(false))
    )
    .ValueAxis(axis => axis.Numeric()
        .Max(28)
        .MajorGridLines(lines => lines.Visible(false))
        .Visible(false)
    )
) 

   </div>

I would like to add vertical scrolling to this chart. How would I go about this?

Related Questions