Пример #1
0
        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;
        }
Пример #2
0
        public AxisSet GetAxisTitle(string graphTitle)
        {
            AxisSet axisSet = new AxisSet("", "", "", "", "");

            foreach (var item in axisList)
            {
                if (item.Title == graphTitle)
                {
                    axisSet = item;
                }
            }

            return(axisSet);
        }