MVC4 Classic
wijscatterchart Step 1 of 3: Setting up the View

In this step you’ll add the markup to add content to the bar chart. Complete the following:

  1. In Visual studio, select File | New | Project.
  2. Under Installed Templates, select Visual C#. .NET Framework 4.
  3. Select ASP.NET MVC 4 Internet Application (if you haven’t installed this, see Installing the MVC Classic Template|topic=Installing the MVC Classic Template),  select C1 ASP.NET MVC 4 Web Application from the New ASP.NET MVC4 Project dialog box, enter a name for the application, and click OK.
    Your Wijmo project is created. You’ll notice it contains the Models, Views, and Controllers folders, which we will work with in the MVC Classic tutorials.
  4. In the Solution Explorer, expand the Views | Shared folder and double-click _Layout.cshtml to open the file.
  5. Add the following markup within the <body> tags of the page. This markup will add the bar content to the page. The width and height of the bar chart is defined here.
        <div id="wijscatterchartDefault" class="ui-widget ui-widget-content ui-corner-all" style="width: 550px; height: 350px;">
          </div>
    
See Also

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback