moel@391: // --------------------------------------------------------------------------------------------------------------------
moel@391: //
moel@391: // The MIT License (MIT)
moel@391: //
moel@391: // Copyright (c) 2012 Oystein Bjorke
moel@391: //
moel@391: // Permission is hereby granted, free of charge, to any person obtaining a
moel@391: // copy of this software and associated documentation files (the
moel@391: // "Software"), to deal in the Software without restriction, including
moel@391: // without limitation the rights to use, copy, modify, merge, publish,
moel@391: // distribute, sublicense, and/or sell copies of the Software, and to
moel@391: // permit persons to whom the Software is furnished to do so, subject to
moel@391: // the following conditions:
moel@391: //
moel@391: // The above copyright notice and this permission notice shall be included
moel@391: // in all copies or substantial portions of the Software.
moel@391: //
moel@391: // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
moel@391: // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
moel@391: // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
moel@391: // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
moel@391: // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
moel@391: // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
moel@391: // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
moel@391: //
moel@391: //
moel@391: // DataPoint interface.
moel@391: //
moel@391: // --------------------------------------------------------------------------------------------------------------------
moel@391: namespace OxyPlot
moel@391: {
moel@391: ///
moel@391: /// Defines a point.
moel@391: ///
moel@391: public interface IDataPoint
moel@391: {
moel@391: ///
moel@391: /// Gets or sets the x-coordinate.
moel@391: ///
moel@391: /// The x-coordinate.
moel@391: double X { get; set; }
moel@391:
moel@391: ///
moel@391: /// Gets or sets the y-coordinate.
moel@391: ///
moel@391: /// The y-coordinate.
moel@391: double Y { get; set; }
moel@391: }
moel@391: }