@model List @{ var barGraphColors = new string[] { "#00876c", "#43956e", "#67a371", "#89b177", "#a9be80", "#c8cb8b", "#e6d79b", "#e4c281", "#e3ab6b", "#e2925b", "#e07952", "#db5d4f" }; var sortedByMPG = Model.OrderByDescending(x => x.Cost).ToList(); } @if (Model.Where(x=>x.Cost > 0).Any()) { } else {

No data found, insert/select some data to see visualizations here.

}