实例介绍
使用C#的MVC封装了EChart图表。类EChartJson包含了绘制图形的几种基本要素,大家可以根据需要扩展EChart的更多图表属性,当然这个需要各位多了解百度EChart图表的各种属性描述。方法getJsonData()负责在后台为EChartJson的实例初始化数据,并返回json数据。关键是前台显示图表,省去了大量的工作。
【实例截图】
【核心代码】
TempEChat
└── TempEChat
├── ApplicationInsights.config
├── App_Start
│ ├── BundleConfig.cs
│ ├── FilterConfig.cs
│ └── RouteConfig.cs
├── bin
│ ├── Antlr3.Runtime.dll
│ ├── Antlr3.Runtime.pdb
│ ├── ApplicationInsights.config
│ ├── Microsoft.AI.Agent.Intercept.dll
│ ├── Microsoft.AI.DependencyCollector.dll
│ ├── Microsoft.AI.DependencyCollector.xml
│ ├── Microsoft.AI.PerfCounterCollector.dll
│ ├── Microsoft.AI.ServerTelemetryChannel.dll
│ ├── Microsoft.AI.ServerTelemetryChannel.xml
│ ├── Microsoft.AI.Web.dll
│ ├── Microsoft.AI.Web.xml
│ ├── Microsoft.AI.WindowsServer.dll
│ ├── Microsoft.AI.WindowsServer.xml
│ ├── Microsoft.ApplicationInsights.dll
│ ├── Microsoft.ApplicationInsights.xml
│ ├── Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll
│ ├── Microsoft.CodeDom.Providers.DotNetCompilerPlatform.xml
│ ├── Microsoft.Web.Infrastructure.dll
│ ├── Newtonsoft.Json.dll
│ ├── Newtonsoft.Json.xml
│ ├── roslyn
│ │ ├── csc.exe
│ │ ├── csc.exe.config
│ │ ├── csc.rsp
│ │ ├── csi.exe
│ │ ├── csi.exe.config
│ │ ├── csi.rsp
│ │ ├── Microsoft.Build.Tasks.CodeAnalysis.dll
│ │ ├── Microsoft.CodeAnalysis.CSharp.dll
│ │ ├── Microsoft.CodeAnalysis.CSharp.Scripting.dll
│ │ ├── Microsoft.CodeAnalysis.dll
│ │ ├── Microsoft.CodeAnalysis.Scripting.dll
│ │ ├── Microsoft.CodeAnalysis.VisualBasic.dll
│ │ ├── Microsoft.CSharp.Core.targets
│ │ ├── Microsoft.DiaSymReader.Native.amd64.dll
│ │ ├── Microsoft.DiaSymReader.Native.x86.dll
│ │ ├── Microsoft.VisualBasic.Core.targets
│ │ ├── Microsoft.Win32.Primitives.dll
│ │ ├── System.AppContext.dll
│ │ ├── System.Collections.Immutable.dll
│ │ ├── System.Console.dll
│ │ ├── System.Diagnostics.FileVersionInfo.dll
│ │ ├── System.Diagnostics.Process.dll
│ │ ├── System.Diagnostics.StackTrace.dll
│ │ ├── System.IO.Compression.dll
│ │ ├── System.IO.FileSystem.dll
│ │ ├── System.IO.FileSystem.DriveInfo.dll
│ │ ├── System.IO.FileSystem.Primitives.dll
│ │ ├── System.IO.Pipes.dll
│ │ ├── System.Reflection.Metadata.dll
│ │ ├── System.Security.AccessControl.dll
│ │ ├── System.Security.Claims.dll
│ │ ├── System.Security.Cryptography.Algorithms.dll
│ │ ├── System.Security.Cryptography.Encoding.dll
│ │ ├── System.Security.Cryptography.Primitives.dll
│ │ ├── System.Security.Cryptography.X509Certificates.dll
│ │ ├── System.Security.Principal.Windows.dll
│ │ ├── System.Text.Encoding.CodePages.dll
│ │ ├── System.Threading.Thread.dll
│ │ ├── System.ValueTuple.dll
│ │ ├── System.Xml.ReaderWriter.dll
│ │ ├── System.Xml.XmlDocument.dll
│ │ ├── System.Xml.XPath.dll
│ │ ├── System.Xml.XPath.XDocument.dll
│ │ ├── vbc.exe
│ │ ├── vbc.exe.config
│ │ ├── vbc.rsp
│ │ ├── VBCSCompiler.exe
│ │ └── VBCSCompiler.exe.config
│ ├── System.Web.Helpers.dll
│ ├── System.Web.Helpers.xml
│ ├── System.Web.Mvc.dll
│ ├── System.Web.Mvc.xml
│ ├── System.Web.Optimization.dll
│ ├── System.Web.Optimization.xml
│ ├── System.Web.Razor.dll
│ ├── System.Web.Razor.xml
│ ├── System.Web.WebPages.Deployment.dll
│ ├── System.Web.WebPages.Deployment.xml
│ ├── System.Web.WebPages.dll
│ ├── System.Web.WebPages.Razor.dll
│ ├── System.Web.WebPages.Razor.xml
│ ├── System.Web.WebPages.xml
│ ├── TempEChat.dll
│ ├── TempEChat.dll.config
│ ├── TempEChat.pdb
│ ├── WebGrease.dll
│ └── zh-Hans
│ ├── System.Web.Helpers.resources.dll
│ ├── System.Web.Mvc.resources.dll
│ ├── System.Web.Optimization.resources.dll
│ ├── System.Web.Razor.resources.dll
│ ├── System.Web.WebPages.Deployment.resources.dll
│ ├── System.Web.WebPages.Razor.resources.dll
│ └── System.Web.WebPages.resources.dll
├── Content
│ ├── bootstrap.css
│ ├── bootstrap.min.css
│ └── Site.css
├── Controllers
│ ├── EChartJson.cs
│ └── HomeController.cs
├── favicon.ico
├── fonts
│ ├── glyphicons-halflings-regular.eot
│ ├── glyphicons-halflings-regular.svg
│ ├── glyphicons-halflings-regular.ttf
│ └── glyphicons-halflings-regular.woff
├── Global.asax
├── Global.asax.cs
├── obj
│ └── Debug
│ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ ├── TempEChat.csproj.CopyComplete
│ ├── TempEChat.csproj.CoreCompileInputs.cache
│ ├── TempEChat.csproj.FileListAbsolute.txt
│ ├── TempEChat.dll
│ ├── TempEChat.pdb
│ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
├── packages.config
├── Properties
│ └── AssemblyInfo.cs
├── Scripts
│ ├── bootstrap.js
│ ├── bootstrap.min.js
│ ├── echarts.js
│ ├── jquery-1.10.2.intellisense.js
│ ├── jquery-1.10.2.js
│ ├── jquery-1.10.2.min.js
│ ├── jquery-1.10.2.min.map
│ ├── jquery.validate.js
│ ├── jquery.validate.min.js
│ ├── jquery.validate.unobtrusive.js
│ ├── jquery.validate.unobtrusive.min.js
│ ├── jquery.validate-vsdoc.js
│ ├── modernizr-2.6.2.js
│ ├── respond.js
│ └── respond.min.js
├── TempEChat.csproj
├── TempEChat.csproj.user
├── Views
│ ├── Home
│ │ ├── About.cshtml
│ │ ├── Contact.cshtml
│ │ └── Index.cshtml
│ ├── Shared
│ │ ├── Error.cshtml
│ │ └── _Layout.cshtml
│ ├── _ViewStart.cshtml
│ └── Web.config
├── Web.config
├── Web.Debug.config
└── Web.Release.config
15 directories, 147 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论