/*********************************************************************** * Project: CoreCms * ProjectName: 百分兵法管理系统 * Web: hhtp://chuanyin.com * Author: * Email: * CreateTime: 202403/02 * Description: 暂无 ***********************************************************************/ using System.Collections.Generic; namespace CoreCms.Net.Model.ViewModels.Echarts { public class EchartsOption { /// /// 标题组件,包含主标题和副标题。 /// public Title title { get; set; } = new() {text = "报表"}; /// /// 提示框组件 /// public Tooltip tooltip { get; set; } = new() {trigger = "axis"}; /// /// 图例组件 /// public Legend legend { get; set; } = new(); /// /// 直角坐标系内绘图网格 /// public Grid grid { get; set; } = new() {left = "3%", right = "4%", bottom = "3%", containLabel = true}; /// /// 工具栏 /// public Toolbox toolbox { get; set; } = new() {feature = new Feature {saveAsImage = new List()}}; /// /// 直角坐标系 grid 中的 x 轴 /// public XAxis xAxis { get; set; } = new() {type = "category", boundaryGap = false, data = new List()}; /// /// 直角坐标系 grid 中的 y 轴 /// public YAxis yAxis { get; set; } = new() {type = "value", name = "元"}; /// /// 系列列表 /// public List series { get; set; } = new(); } //如果好用,请收藏地址,帮忙分享。 public class Title { /// /// 订单统计 /// public string text { get; set; } } public class Tooltip { /// /// public string trigger { get; set; } } public class Legend { /// /// public List data { get; set; } } public class Grid { /// /// public string left { get; set; } /// /// public string right { get; set; } /// /// public string bottom { get; set; } /// /// public bool containLabel { get; set; } } public class Feature { /// /// public List saveAsImage { get; set; } } public class Toolbox { /// /// public Feature feature { get; set; } } public class XAxis { /// /// public string type { get; set; } /// /// public bool boundaryGap { get; set; } /// /// public List data { get; set; } } public class YAxis { /// /// public string type { get; set; } /// /// 元 /// public string name { get; set; } } public class SeriesItem { /// /// 全部 /// public string name { get; set; } /// /// public string type { get; set; } /// /// public List data { get; set; } } public class SeriesDataIntItem { /// /// 全部 /// public string name { get; set; } /// /// public string type { get; set; } /// /// public List data { get; set; } } /// /// 返回订单统计表单数据 /// public class OrderTableItem { /// /// 01时 /// public string x { get; set; } /// /// public string order_all_val { get; set; } /// /// public int order_all_num { get; set; } /// /// public string order_nopay_val { get; set; } /// /// public int order_nopay_num { get; set; } /// /// public string order_payed_val { get; set; } /// /// public int order_payed_num { get; set; } } /// /// 财务收款单统计表单数据 /// public class PaymentsTableItem { /// /// 01时 /// public string x { get; set; } /// /// public string payments_all_val { get; set; } /// /// public int payments_all_num { get; set; } /// /// public string payments_order_val { get; set; } /// /// public int payments_order_num { get; set; } /// /// public string payments_order_refund_val { get; set; } /// /// public int payments_order_refund_num { get; set; } /// /// public string payments_recharge_val { get; set; } /// /// public int payments_recharge_num { get; set; } /// /// public string payments_tocash_val { get; set; } /// /// public int payments_tocash_num { get; set; } } }