Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\NewtonTheme\Control\My\MyGrowthPath.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyGrowthPath.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyGrowthPath" %> <%= new MyGrowthPathNavTopInstance(this) { Local= MyGrowthPathNavTopItem.????? }.ToHtml()%> <div id="total_chart"></div> <% var listVideo = CreateInstance.VideoDao.Where(l => l.ParentUser == this.User && l.Examine == (int)AVA.ResourcesPlatform.Model.Pub.VideoExamineEnum.?????? && l.Status == (int)AVA.ResourcesPlatform.Model.Pub.VideoStatusEnum.??? && l.TeacherRatio > 0 && l.StudentRatio > 0) .Take(100) .OrderByDescending(l => l.CreateTime) .ToList(); //var crit = CreateInstance.VideoDao.NHibernateSession.CreateCriteria<AVA.ResourcesPlatform.Model.Pub.Video>("_Alias"); //crit.Add(NHibernate.Criterion.Expression.Eq("Examine", (int)AVA.ResourcesPlatform.Model.Pub.VideoExamineEnum.??????)); //crit.Add(NHibernate.Criterion.Expression.Eq("Status", (int)AVA.ResourcesPlatform.Model.Pub.VideoStatusEnum.???)); //crit.CreateAlias("ParentUser", "_User"); //crit.Add(NHibernate.Criterion.Expression.Eq("_User.Guid", this.User.Guid)); //crit.AddOrder(NHibernate.Criterion.Order.Desc("CreateTime")); %> <script type="text/javascript"> var arrcategories = []; var arrdata = []; <% foreach (var video in listVideo) { %> arrcategories.push("<%= new HtmlAnchor(video.Name){ Href = WebUrl.VideoPlay(video.Guid), Target="_blank" }.ToString().ToScriptChar() %>"); arrdata.push(<%= video.TransferRatio %>); <% } %> var systemSeries = { chart: { type: 'line', renderTo: 'total_chart' // defaultSeriesType: 'column' }, title: { text: '??????' }, xAxis: { title: { text: '??????', align: 'left' }, categories: arrcategories }, yAxis: { min: 0, title: { text: '??????', align: 'high' }, labels: { overflow: 'justify' }, }, tooltip: { valueSuffix: ' %' }, plotOptions: { bar: { dataLabels: { enabled: true } } }, legend: { layout: 'vertical', align: 'right', verticalAlign: 'top', x: -100, y: 100, floating: true, borderWidth: 1, backgroundColor: '#FFFFFF', shadow: true }, credits: { enabled: false }, series: [ { name: '?????????', data: arrdata } ] }; $(document).ready(function () { var hc = new Highcharts.Chart(systemSeries); }); </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de