📜 ⬆️ ⬇️

New MVC extension for drawing graphs

We are pleased to announce that in the next version of DXperience - v2011 vol 1 - there will be a new extension for ASP.NET MVC , namely the MVC Chart Extension.

This extension allows you to add dozens of different graphs to the MVC application - from rectangular and circular to radar and financial.

If you are interested, welcome under cat.
')


Developing a new extension for MVC, we tried to do not just something that “works a little under MVC”, but fully support all the necessary functionality. For example, this video demonstrates how you can edit a Gantt chart on the fly, as well as how drill-down, printing and export work:



In addition, such functionality is supported as:

We also tried to pay attention to how convenient and concise the creation of graphs in the code would be. Here is a small example of a working code in which we will create a simple column graph:

<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <% Html.DevExpress().Chart(settings => { settings.Name = "myChart"; settings.SeriesTemplate.ChangeView(DevExpress.XtraCharts.ViewType.StackedBar); settings.SeriesDataMember = "Year"; settings.SeriesTemplate.ArgumentDataMember = "State"; settings.SeriesTemplate.ValueDataMembers[0] = "Product"; settings.SeriesTemplate.Label.ResolveOverlappingMode = ResolveOverlappingMode.Default; Axis2D axisY = ((XYDiagram)settings.Diagram).AxisY; axisY.Interlaced = true; axisY.Title.Text = "Millions of Dollars"; axisY.Title.Visible = true; }) .Bind(Model) .Render(); %> 


If you are interested in a new extension for MVC, then you can get more detailed information by watching the latest webinar recording on our website: ASP.NET MVC Charting Preview

Source: https://habr.com/ru/post/116940/


All Articles