ECharts.cs 573 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace ProductionLineMonitor.Core.Dtos
  5. {
  6. public class ECharts
  7. {
  8. public string ChartName { get; set; }
  9. public List<object> X { get; set; }
  10. public List<string> Legend { get; set; } = new List<string>();
  11. public List<Serie> Series { get; set; } = new List<Serie>();
  12. }
  13. public class Serie
  14. {
  15. public string Id { get; set; }
  16. public string Name { get; set; }
  17. public List<object[]> Data { get; set; } = new List<object[]>();
  18. }
  19. }