public void UpdateAxis(AxisSet item) { plotAxisX.Title = item.AxisX; plotAxisY.Title = item.AxisY; plotAxisX.Unit = item.UnitX; plotAxisY.Unit = item.UnitY; MyModel.Title = item.Title; }
public AxisSet GetAxisTitle(string graphTitle) { AxisSet axisSet = new AxisSet("", "", "", "", ""); foreach (var item in axisList) { if (item.Title == graphTitle) { axisSet = item; } } return(axisSet); }