I am just getting started with syncfusion but have not been able to get any control to work. For every control in the
Online Documentation, there is a section like the one below that says to create the project and add the necessary DLLs and scripts by referring to
MVC-Getting Started documentation. However, that link just goes to the same page you are on. Its like that for every control. So then following steps 2-3 renders nothing, which I am guessing is because am missing scripts and possibly other setup that is needed. I took a look at the sample VS solutions that come with Essential Studio, however, those solutions are so bulky it has hard to tell what is needed just for a simple control to work.
Getting started with your MVC Chart is very easy. You can start by creating a simple line Chart.
- Create an MVC Project and add necessary Dll’s and Scripts by referring MVC-Getting Started Documentation.
You can create a simple div tag.
You can add the following code in the index.cshtml file to create the Chart control in the View page.
<div>
@(Html.EJ().Chart("chartcontainer") )
</div>
The above code example renders a Chart with the default Columnseries type and some random values assigned to the column series.
The following screenshot displays the Chart.