// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CustomPlotController.cs" company="OxyPlot">
//   Copyright (c) 2014 OxyPlot contributors
// </copyright>
// <summary>
//   Represents the plot controller for the main window.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace SimpleDemo
{
    using OxyPlot;

    public class CustomPlotController : PlotController
    {
        public CustomPlotController()
        {
            this.BindKeyDown(OxyKey.Left, PlotCommands.PanRight);
            this.BindKeyDown(OxyKey.Right, PlotCommands.PanLeft);
        }
    }
}
