Created
          January 21, 2011 22:24 
        
      - 
      
- 
        Save azcoov/790548 to your computer and use it in GitHub Desktop. 
    MVC View for rendering sparklines
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %> | |
| <%@ Import Namespace="Sparkline.Helpers" %> | |
| <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server"> | |
| Spark Line Example | |
| </asp:Content> | |
| <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"> | |
| <h2>Hello Sparkline</h2> | |
| <p> | |
| <%= Html.DrawSparkline("150x30", new List<Int32?>() {1,3,5,2,7,9,4})%> | |
| </p> | |
| </asp:Content> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment