using JiangsuEarthquake.Common; using LiveCharts; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JiangsuEarthquake.Models { public class ChartsTwoYModel : NotifyBase { private ChartValues values1; /// /// 值1 /// public ChartValues Values1 { get { return values1; } set { values1 = value; this.DoNotify(); } } private ChartValues values2; /// /// 值2 /// public ChartValues Values2 { get { return values2; } set { values2 = value; this.DoNotify(); } } private string value_Name1; /// /// 标题1 /// public string Value_Name1 { get { return value_Name1; } set { value_Name1 = value; this.DoNotify(); } } private string value_Name2; /// /// 标题2 /// public string Value_Name2 { get { return value_Name2; } set { value_Name2 = value; this.DoNotify(); } } private List x_Time; /// /// x轴坐标 /// public List X_Time { get { return x_Time; } set { x_Time = value; this.DoNotify(); } } /// /// y轴最小值1 /// private int y_MinValue1; public int Y_MinValue1 { get { return y_MinValue1; } set { y_MinValue1 = value; this.DoNotify(); } } /// /// y轴最小值2 /// private int y_MinValue2; public int Y_MinValue2 { get { return y_MinValue2; } set { y_MinValue2 = value; this.DoNotify(); } } /// /// y轴最大值1 /// private int y_MaxValue1; public int Y_MaxValue1 { get { return y_MaxValue1; } set { y_MaxValue1 = value; } } /// /// y轴最大值2 /// private int y_MaxValue2; public int Y_MaxValue2 { get { return y_MaxValue2; } set { y_MaxValue2 = value; } } private int step1; /// /// 纵坐标间距1 /// public int Step1 { get { return (Y_MaxValue1 - Y_MinValue1) / 5; } set { step1 = value; this.DoNotify(); } } private float step2; /// /// 纵坐标间距2 /// public float Step2 { get { return (Y_MaxValue2 - Y_MinValue2) / 5; } set { step2 = value; this.DoNotify(); } } } }